Condensed code
Including world generation
This commit is contained in:
parent
693e7804b4
commit
590c74a5fc
25 changed files with 258 additions and 548 deletions
|
|
@ -6,26 +6,17 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
public class OreDictManager {
|
||||
public static void Initialize() {
|
||||
OreDictionary.registerOre("ingotAdamantine", new ItemStack(Items.Resource, 1, 2));
|
||||
OreDictionary.registerOre("ingotMithril", new ItemStack(Items.Resource, 1, 1));
|
||||
OreDictionary.registerOre("ingotVerdite", new ItemStack(Items.Resource, 1, 0));
|
||||
OreDictionary.registerOre("ingotIridium", new ItemStack(Items.Resource, 1, 3));
|
||||
OreDictionary.registerOre("fuelIridium", new ItemStack(Items.Resource, 1, 4));
|
||||
OreDictionary.registerOre("gemTourmaline", new ItemStack(Items.Resource, 1, 5));
|
||||
OreDictionary.registerOre("gemTopaz", new ItemStack(Items.Resource, 1, 7));
|
||||
OreDictionary.registerOre("gemAmethyst", new ItemStack(Items.Resource, 1, 8));
|
||||
OreDictionary.registerOre("gemAgate", new ItemStack(Items.Resource, 1, 6));
|
||||
OreDictionary.registerOre("oreAdamantine", new ItemStack(BlockHandler.BlockBase, 1, 0));
|
||||
OreDictionary.registerOre("oreAmethyst", new ItemStack(BlockHandler.BlockBase, 1, 1));
|
||||
OreDictionary.registerOre("oreIridium", new ItemStack(BlockHandler.BlockBase, 1, 2));
|
||||
OreDictionary.registerOre("oreMithril", new ItemStack(BlockHandler.BlockBase, 1, 3));
|
||||
OreDictionary.registerOre("oreSapphire", new ItemStack(BlockHandler.BlockBase, 1, 4));
|
||||
OreDictionary.registerOre("oreTopaz", new ItemStack(BlockHandler.BlockBase, 1, 5));
|
||||
OreDictionary.registerOre("oreVerdite", new ItemStack(BlockHandler.BlockBase, 1, 6));
|
||||
OreDictionary.registerOre("oreBloodstone", new ItemStack(BlockHandler.BlockBase, 1, 7));
|
||||
OreDictionary.registerOre("oreBlackSoulstone", new ItemStack(BlockHandler.BlockBase, 1, 8));
|
||||
OreDictionary.registerOre("oreBlueSoulstone", new ItemStack(BlockHandler.BlockBase, 1, 9));
|
||||
OreDictionary.registerOre("oreRedSoulstone", new ItemStack(BlockHandler.BlockBase, 1, 10));
|
||||
public static final String[] INGOTS = { "ingotVerdite", "ingotMithril", "ingotAdamantine", "ingotIridium", "fuelIridium", "gemTourmaline", "gemAgate", "gemTopaz", "gemAmethyst", "dustMystic",
|
||||
" shardBloodstone", "shardGlass", "shardObsidian", "rodObsidian" };
|
||||
public static final String[] ORES = { "oreAdamantine", "oreAmethyst", "oreIridium", "oreMithril", "oreSapphire", "oreTopaz", "oreVerdite", "oreBloodstone", "oreBlackSoulstone",
|
||||
"oreBlueSoulstone", "oreRedSoulstone", "oreAgate" };
|
||||
|
||||
public static void initialize() {
|
||||
for (int i = 0; i < INGOTS.length; i++) {
|
||||
OreDictionary.registerOre(INGOTS[i], new ItemStack(Items.Resource, 1, i));
|
||||
}
|
||||
for (int i = 0; i < ORES.length; i++) {
|
||||
OreDictionary.registerOre(ORES[i], new ItemStack(BlockHandler.BlockBase, 1, i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue