implements Consumable
| net.minecraft.world.food.FoodProperties | |
| net.minecraft.class_4174 | |
| net.minecraft.component.type.FoodComponent |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final int |
|
||||||
| private final float |
|
||||||
| private final boolean |
|
||||||
| public static final com.mojang.serialization.Codec<FoodComponent> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, FoodComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (int nutrition, float saturation, boolean canAlwaysEat) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public void |
|
||||||
| public int |
|
||||||
| public float |
|
||||||
| public boolean |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|