Class ExpandFoodProperties

java.lang.Object
com.blamejared.crafttweaker.natives.food.ExpandFoodProperties

@ZenRegister public class ExpandFoodProperties extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.food.FoodProperties
    addEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect, float probability)
     
    static boolean
    canAlwaysEat(net.minecraft.world.food.FoodProperties internal)
     
    static net.minecraft.world.food.FoodProperties
    create(int nutrition, float saturationModifier)
     
    static List<com.mojang.datafixers.util.Pair<net.minecraft.world.effect.MobEffectInstance,Float>>
    getEffects(net.minecraft.world.food.FoodProperties internal)
     
    static int
    getNutrition(net.minecraft.world.food.FoodProperties internal)
     
    static float
    getSaturationModifier(net.minecraft.world.food.FoodProperties internal)
     
    static boolean
    isFastFood(net.minecraft.world.food.FoodProperties internal)
     
    static boolean
    isMeat(net.minecraft.world.food.FoodProperties internal)
     
    static net.minecraft.world.food.FoodProperties
    removeEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffect effect)
     
    static net.minecraft.world.food.FoodProperties
    removeEffect(net.minecraft.world.food.FoodProperties internal, net.minecraft.world.effect.MobEffectInstance effect)
     
    static net.minecraft.world.food.FoodProperties
    setCanAlwaysEat(net.minecraft.world.food.FoodProperties internal, boolean canAlwaysEat)
     
    static net.minecraft.world.food.FoodProperties
    setIsFastFood(net.minecraft.world.food.FoodProperties internal, boolean fastFood)
     
    static net.minecraft.world.food.FoodProperties
    setIsMeat(net.minecraft.world.food.FoodProperties internal, boolean isMeat)
     
    static net.minecraft.world.food.FoodProperties
    setNutrition(net.minecraft.world.food.FoodProperties internal, int nutrition)
     
    static net.minecraft.world.food.FoodProperties
    setSaturationModifier(net.minecraft.world.food.FoodProperties internal, float saturationModifier)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static List<com.mojang.datafixers.util.Pair<net.minecraft.world.effect.MobEffectInstance,Float>> getEffects(net.minecraft.world.food.FoodProperties internal)
    • 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)