Пример #1
0
 public void registerOre(String name, Item item) {
   OreDictionary.registerOre(name, item);
 }
Пример #2
0
 public static boolean stackMatchesOre(ItemStack stack, String name) {
   int id = OreDictionary.getOreID(stack);
   return id == OreDictionary.getOreID(name);
 }
Пример #3
0
 public void registerOre(String name, Block block) {
   OreDictionary.registerOre(name, new ItemStack(block));
 }