implements ConsumableListener
csz | |
net.minecraft.world.food.FoodProperties | |
net.minecraft.class_4174 | |
net.minecraft.component.type.FoodComponent | |
net.minecraft.world.food.FoodInfo |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private final int |
| ||||||||
private final float |
| ||||||||
private final boolean |
| ||||||||
public static final com.mojang.serialization.Codec<FoodProperties> |
| ||||||||
public static final StreamCodec<RegistryFriendlyByteBuf, FoodProperties> |
|
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 |
|