Class ExpandFoodProperties
java.lang.Object
com.blamejared.crafttweaker.natives.food.ExpandFoodProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.food.FoodPropertiesaddEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect, float probability) static booleancanAlwaysEat(net.minecraft.world.food.FoodProperties internal) static net.minecraft.world.food.FoodPropertiescreate(int nutrition, float saturationModifier) getEffects(net.minecraft.world.food.FoodProperties internal) static intgetNutrition(net.minecraft.world.food.FoodProperties internal) static floatgetSaturationModifier(net.minecraft.world.food.FoodProperties internal) static booleanisFastFood(net.minecraft.world.food.FoodProperties internal) static booleanisMeat(net.minecraft.world.food.FoodProperties internal) static net.minecraft.world.food.FoodPropertiesremoveEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffect effect) static net.minecraft.world.food.FoodPropertiesremoveEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect) static net.minecraft.world.food.FoodPropertiessetCanAlwaysEat(net.minecraft.world.food.FoodProperties internal, boolean canAlwaysEat) static net.minecraft.world.food.FoodPropertiessetIsFastFood(net.minecraft.world.food.FoodProperties internal, boolean fastFood) static net.minecraft.world.food.FoodPropertiessetIsMeat(net.minecraft.world.food.FoodProperties internal, boolean isMeat) static net.minecraft.world.food.FoodPropertiessetNutrition(net.minecraft.world.food.FoodProperties internal, int nutrition) static net.minecraft.world.food.FoodPropertiessetSaturationModifier(net.minecraft.world.food.FoodProperties internal, float saturationModifier)
-
Constructor Details
-
ExpandFoodProperties
public ExpandFoodProperties()
-
-
Method Details
-
create
public static net.minecraft.world.food.FoodProperties create(int nutrition, float saturationModifier) -
getNutrition
public static int getNutrition(net.minecraft.world.food.FoodProperties internal) -
setNutrition
public static net.minecraft.world.food.FoodProperties setNutrition(net.minecraft.world.food.FoodProperties internal, int nutrition) -
getSaturationModifier
public static float getSaturationModifier(net.minecraft.world.food.FoodProperties internal) -
setSaturationModifier
public static net.minecraft.world.food.FoodProperties setSaturationModifier(net.minecraft.world.food.FoodProperties internal, float saturationModifier) -
isMeat
public static boolean isMeat(net.minecraft.world.food.FoodProperties internal) -
setIsMeat
public static net.minecraft.world.food.FoodProperties setIsMeat(net.minecraft.world.food.FoodProperties internal, boolean isMeat) -
canAlwaysEat
public static boolean canAlwaysEat(net.minecraft.world.food.FoodProperties internal) -
setCanAlwaysEat
public static net.minecraft.world.food.FoodProperties setCanAlwaysEat(net.minecraft.world.food.FoodProperties internal, boolean canAlwaysEat) -
isFastFood
public static boolean isFastFood(net.minecraft.world.food.FoodProperties internal) -
setIsFastFood
public static net.minecraft.world.food.FoodProperties setIsFastFood(net.minecraft.world.food.FoodProperties internal, boolean fastFood) -
getEffects
-
addEffect
public static net.minecraft.world.food.FoodProperties addEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect, float probability) -
removeEffect
public static net.minecraft.world.food.FoodProperties removeEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect) -
removeEffect
public static net.minecraft.world.food.FoodProperties removeEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffect effect)
-