implements ConsumableListener
| dhf | |
| net.minecraft.world.food.FoodProperties | |
| net.minecraft.class_4174 | |
| net.minecraft.component.type.FoodComponent | |
| net.minecraft.src.C_1220_ | |
| net.minecraft.world.food.FoodInfo |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final int |
| ||||||||||
| private final float |
| ||||||||||
| private final boolean |
| ||||||||||
| public static final com.mojang.serialization.Codec<FoodProperties> |
| ||||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, FoodProperties> |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (int nutrition, float saturation, boolean canAlwaysEat) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public void |
| ||||||||||
| public int |
| ||||||||||
| public float |
| ||||||||||
| public boolean |
|