-
成员变量 修饰符和类 成员变量描述 static Food
apple
static Food
apple_golden
static Food
apple_golden_enchanted
static Food
beef_raw
static Food
beetroot
static Food
beetroot_soup
static Food
bread
static Food
cake_slice
static Food
carrot
static Food
carrot_golden
static Food
chicken_cooked
static Food
chicken_raw
static Food
chorus_fruit
static Food
clownfish
static Food
cookie
static Food
dried_kelp
static Food
fish_cooked
static Food
fish_raw
static Food
honey_bottle
static Food
melon_slice
static Food
milk
static Food
mushroom_stew
static Food
mutton_cooked
static Food
mutton_raw
static Food
porkchop_cooked
static Food
porkchop_raw
static Food
potato_baked
static Food
potato_poisonous
static Food
potato_raw
static Food
pufferfish
static Food
pumpkin_pie
static Food
rabbit_cooked
static Food
rabbit_raw
static Food
rabbit_stew
protected List<cn.nukkit.item.food.Food.NodeIDMeta>
relativeIDs
protected int
restoreFood
protected float
restoreSaturation
static Food
rotten_flesh
static Food
salmon_cooked
static Food
salmon_raw
static Food
spider_eye
static Food
steak
static Food
sweet_berries
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 Food
addRelative(int relativeID)
Food
addRelative(int relativeID, int meta)
boolean
eatenBy(Player player)
static Food
getByRelative(Block block)
static Food
getByRelative(int relativeID, int meta)
static Food
getByRelative(Item item)
int
getRestoreFood()
float
getRestoreSaturation()
protected boolean
onEatenBy(Player player)
static Food
registerFood(Food food, Plugin plugin)
Food
setRestoreFood(int restoreFood)
Food
setRestoreSaturation(float restoreSaturation)