Java 类net.minecraft.server.ItemFood 实例源码

项目:CraftBukkit    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material) instanceof ItemFood));
}
项目:Craftbukkit    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material) instanceof ItemFood));
}
项目:Almura-Server    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(Item.byId[material.getId()] instanceof ItemFood));
}
项目:Tweakkit-Server    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material) instanceof ItemFood));
}
项目:SpigotSource    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(CraftMagicNumbers.getItem(material) instanceof ItemFood));
}
项目:Craft-city    文件:PerMaterialTest.java   
@Test
public void isEdible() {
    assertThat(material.isEdible(), is(Item.byId[material.getId()] instanceof ItemFood));
}