Uses of Record Class
net.minecraft.world.food.FoodProperties
Package
Description
-
Uses of FoodProperties in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<FoodProperties> DataComponents.FOOD
-
Uses of FoodProperties in net.minecraft.world.entity
Modifier and TypeMethodDescriptionprivate void
LivingEntity.addEatEffect
(FoodProperties p_335472_) LivingEntity.eat
(Level p_347678_, ItemStack p_347507_, FoodProperties p_347707_) -
Uses of FoodProperties in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionPlayer.eat
(Level p_36185_, ItemStack p_36186_, FoodProperties p_347562_) -
Uses of FoodProperties in net.minecraft.world.food
Modifier and TypeFieldDescriptionstatic final FoodProperties
Foods.APPLE
static final FoodProperties
Foods.BAKED_POTATO
static final FoodProperties
Foods.BEEF
static final FoodProperties
Foods.BEETROOT
static final FoodProperties
Foods.BEETROOT_SOUP
static final FoodProperties
Foods.BREAD
static final FoodProperties
Foods.CARROT
static final FoodProperties
Foods.CHICKEN
static final FoodProperties
Foods.CHORUS_FRUIT
static final FoodProperties
Foods.COD
static final FoodProperties
Foods.COOKED_BEEF
static final FoodProperties
Foods.COOKED_CHICKEN
static final FoodProperties
Foods.COOKED_COD
static final FoodProperties
Foods.COOKED_MUTTON
static final FoodProperties
Foods.COOKED_PORKCHOP
static final FoodProperties
Foods.COOKED_RABBIT
static final FoodProperties
Foods.COOKED_SALMON
static final FoodProperties
Foods.COOKIE
static final FoodProperties
Foods.DRIED_KELP
static final FoodProperties
Foods.ENCHANTED_GOLDEN_APPLE
static final FoodProperties
Foods.GLOW_BERRIES
static final FoodProperties
Foods.GOLDEN_APPLE
static final FoodProperties
Foods.GOLDEN_CARROT
static final FoodProperties
Foods.HONEY_BOTTLE
static final FoodProperties
Foods.MELON_SLICE
static final FoodProperties
Foods.MUSHROOM_STEW
static final FoodProperties
Foods.MUTTON
static final FoodProperties
Foods.OMINOUS_BOTTLE
static final FoodProperties
Foods.POISONOUS_POTATO
static final FoodProperties
Foods.PORKCHOP
static final FoodProperties
Foods.POTATO
static final FoodProperties
Foods.PUFFERFISH
static final FoodProperties
Foods.PUMPKIN_PIE
static final FoodProperties
Foods.RABBIT
static final FoodProperties
Foods.RABBIT_STEW
static final FoodProperties
Foods.ROTTEN_FLESH
static final FoodProperties
Foods.SALMON
static final FoodProperties
Foods.SPIDER_EYE
static final FoodProperties
Foods.SUSPICIOUS_STEW
static final FoodProperties
Foods.SWEET_BERRIES
static final FoodProperties
Foods.TROPICAL_FISH
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<FoodProperties> FoodProperties.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties> FoodProperties.DIRECT_STREAM_CODEC
-
Uses of FoodProperties in net.minecraft.world.item
-
Uses of FoodProperties in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault @Nullable FoodProperties
IItemExtension.getFoodProperties
(ItemStack stack, @Nullable LivingEntity entity) Get the food properties for this item.default @Nullable FoodProperties
IItemStackExtension.getFoodProperties
(@Nullable LivingEntity entity) Get the food properties for this item.