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