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