Uses of Class
net.minecraft.item.FoodComponent
-
Uses of FoodComponent in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final FoodComponent
FoodComponents.APPLE
static final FoodComponent
FoodComponents.BAKED_POTATO
static final FoodComponent
FoodComponents.BEEF
static final FoodComponent
FoodComponents.BEETROOT
static final FoodComponent
FoodComponents.BEETROOT_SOUP
static final FoodComponent
FoodComponents.BREAD
static final FoodComponent
FoodComponents.CARROT
static final FoodComponent
FoodComponents.CHICKEN
static final FoodComponent
FoodComponents.CHORUS_FRUIT
static final FoodComponent
FoodComponents.COD
static final FoodComponent
FoodComponents.COOKED_BEEF
static final FoodComponent
FoodComponents.COOKED_CHICKEN
static final FoodComponent
FoodComponents.COOKED_COD
static final FoodComponent
FoodComponents.COOKED_MUTTON
static final FoodComponent
FoodComponents.COOKED_PORKCHOP
static final FoodComponent
FoodComponents.COOKED_RABBIT
static final FoodComponent
FoodComponents.COOKED_SALMON
static final FoodComponent
FoodComponents.COOKIE
static final FoodComponent
FoodComponents.DRIED_KELP
static final FoodComponent
FoodComponents.ENCHANTED_GOLDEN_APPLE
private final @Nullable FoodComponent
Item.foodComponent
(package private) @Nullable FoodComponent
Item.Settings.foodComponent
static final FoodComponent
FoodComponents.GLOW_BERRIES
static final FoodComponent
FoodComponents.GOLDEN_APPLE
static final FoodComponent
FoodComponents.GOLDEN_CARROT
static final FoodComponent
FoodComponents.HONEY_BOTTLE
static final FoodComponent
FoodComponents.MELON_SLICE
static final FoodComponent
FoodComponents.MUSHROOM_STEW
static final FoodComponent
FoodComponents.MUTTON
static final FoodComponent
FoodComponents.POISONOUS_POTATO
static final FoodComponent
FoodComponents.PORKCHOP
static final FoodComponent
FoodComponents.POTATO
static final FoodComponent
FoodComponents.PUFFERFISH
static final FoodComponent
FoodComponents.PUMPKIN_PIE
static final FoodComponent
FoodComponents.RABBIT
static final FoodComponent
FoodComponents.RABBIT_STEW
static final FoodComponent
FoodComponents.ROTTEN_FLESH
static final FoodComponent
FoodComponents.SALMON
static final FoodComponent
FoodComponents.SPIDER_EYE
static final FoodComponent
FoodComponents.SUSPICIOUS_STEW
static final FoodComponent
FoodComponents.SWEET_BERRIES
static final FoodComponent
FoodComponents.TROPICAL_FISH
Modifier and TypeMethodDescriptionFoodComponent.Builder.build()
@Nullable FoodComponent
Item.getFoodComponent()
Returns this item'sFoodComponent
, ornull
if none was set.Modifier and TypeMethodDescriptionItem.Settings.food
(FoodComponent foodComponent) When set, any item configured with this Settings instance will be edible based on the providedFoodComponent
.