Package net.tnemc.item.component.helper
Class FoodRule
java.lang.Object
net.tnemc.item.component.helper.FoodRule
FoodRule
- Since:
- 0.0.1.0
- Author:
- creatorfromhell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
float
static FoodRule
readJSON
(JSONHelper json) void
setChance
(float chance) void
setPotionEffect
(EffectInstance potionEffect) org.json.simple.JSONObject
toJSON()
-
Constructor Details
-
FoodRule
public FoodRule() -
FoodRule
-
-
Method Details
-
toJSON
-
readJSON
-
getPotionEffect
-
setPotionEffect
-
getChance
-
setChance
-
clone
- Throws:
CloneNotSupportedException
-