Skip to content

Latest commit

 

History

History
281 lines (281 loc) · 14.8 KB

cn.nukkit.item.food.Food.md

File metadata and controls

281 lines (281 loc) · 14.8 KB
  • 成员变量一览

    成员变量 
    修饰符和类 成员变量描述
    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 
  • 构造函数一览

    构造函数 
    构造函数描述
    Food() 
  • 成员函数一览

    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) 
    • 继承自类 java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait