SHARE
TWEET

Untitled

a guest Feb 27th, 2017 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.bvanseghi.starcraft.blocks;
  2.  
  3. import org.apache.logging.log4j.Level;
  4.  
  5. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreNexusDark;
  6. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreNexusKhalai;
  7. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreNexusVoid;
  8. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCorePylonDark;
  9. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCorePylonKhalai;
  10. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCorePylonVoid;
  11. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreWarpGateDark;
  12. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreWarpGateKhalai;
  13. import net.bvanseghi.starcraft.blocks.coreblocks.BlockCoreWarpGateVoid;
  14. import net.bvanseghi.starcraft.blocks.metablocks.BlockCompressedMetalsT1;
  15. import net.bvanseghi.starcraft.blocks.metablocks.BlockPylonCrystal;
  16. import net.bvanseghi.starcraft.debug.DimPortalChar;
  17. import net.bvanseghi.starcraft.debug.DimPortalOverworld;
  18. import net.bvanseghi.starcraft.debug.DimPortalShakuras;
  19. import net.bvanseghi.starcraft.lib.LogHelper;
  20. import net.bvanseghi.starcraft.lib.Reference;
  21. import net.bvanseghi.starcraft.ore.OreOWCopper;
  22. import net.bvanseghi.starcraft.ore.OreOWTitanium;
  23. import net.bvanseghi.starcraft.ore.OreOWUranium;
  24. import net.bvanseghi.starcraft.orechar.OreCharCoal;
  25. import net.bvanseghi.starcraft.orechar.OreCharCopper;
  26. import net.bvanseghi.starcraft.orechar.OreCharDiamond;
  27. import net.bvanseghi.starcraft.orechar.OreCharGold;
  28. import net.bvanseghi.starcraft.orechar.OreCharIron;
  29. import net.bvanseghi.starcraft.orechar.OreCharLapis;
  30. import net.bvanseghi.starcraft.orechar.OreCharMineral;
  31. import net.bvanseghi.starcraft.orechar.OreCharRedstone;
  32. import net.bvanseghi.starcraft.orechar.OreCharRichMineral;
  33. import net.bvanseghi.starcraft.orechar.OreCharTitanium;
  34. import net.bvanseghi.starcraft.orechar.OreCharUranium;
  35. import net.bvanseghi.starcraft.oreshakuras.OreShakurasCoal;
  36. import net.bvanseghi.starcraft.oreshakuras.OreShakurasCopper;
  37. import net.bvanseghi.starcraft.oreshakuras.OreShakurasDiamond;
  38. import net.bvanseghi.starcraft.oreshakuras.OreShakurasGold;
  39. import net.bvanseghi.starcraft.oreshakuras.OreShakurasIron;
  40. import net.bvanseghi.starcraft.oreshakuras.OreShakurasLapis;
  41. import net.bvanseghi.starcraft.oreshakuras.OreShakurasMineral;
  42. import net.bvanseghi.starcraft.oreshakuras.OreShakurasRedstone;
  43. import net.bvanseghi.starcraft.oreshakuras.OreShakurasRichMineral;
  44. import net.bvanseghi.starcraft.oreshakuras.OreShakurasTitanium;
  45. import net.bvanseghi.starcraft.oreshakuras.OreShakurasUranium;
  46. import net.minecraft.block.Block;
  47. import net.minecraft.block.material.Material;
  48. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  49. import net.minecraft.item.Item;
  50. import net.minecraft.item.ItemBlock;
  51. import net.minecraftforge.client.model.ModelLoader;
  52. import net.minecraftforge.fml.common.registry.GameRegistry;
  53.  
  54. /**
  55.  * Copyright 2017 the Starcraft Minecraft mod team
  56.  */
  57. public class ModBlocks extends Block {
  58.  
  59.     public ModBlocks(Material material) {
  60.         super(material);
  61.     }
  62.  
  63.     public static Block ORE_COPPER_OW;
  64.     public static Block ORE_TITANIUM_OW;
  65.     public static Block ORE_URANIUM_OW;
  66.  
  67.     public static Block ORE_ALIEN_CHAR;
  68.     public static Block ORE_COAL_CHAR;
  69.     public static Block ORE_COPPER_CHAR;
  70.     public static Block ORE_DIAMOND_CHAR;
  71.     public static Block ORE_GOLD_CHAR;
  72.     public static Block ORE_IRON_CHAR;
  73.     public static Block ORE_LAPIS_CHAR;
  74.     public static Block ORE_MINERAL_CHAR;
  75.     public static Block ORE_REDSTONE_CHAR;
  76.     public static Block ORE_RICHMINERAL_CHAR;
  77.     public static Block ORE_TITANIUM_CHAR;
  78.     public static Block ORE_URANIUM_CHAR;
  79.  
  80.     public static Block ORE_ALIEN_SHAKURAS;
  81.     public static Block ORE_COAL_SHAKURAS;
  82.     public static Block ORE_COPPER_SHAKURAS;
  83.     public static Block ORE_DIAMOND_SHAKURAS;
  84.     public static Block ORE_GOLD_SHAKURAS;
  85.     public static Block ORE_IRON_SHAKURAS;
  86.     public static Block ORE_LAPIS_SHAKURAS;
  87.     public static Block ORE_MINERAL_SHAKURAS;
  88.     public static Block ORE_REDSTONE_SHAKURAS;
  89.     public static Block ORE_RICHMINERAL_SHAKURAS;
  90.     public static Block ORE_TITANIUM_SHAKURAS;
  91.     public static Block ORE_URANIUM_SHAKURAS;
  92.  
  93.     public static Block PROTOSS_ENERGY_STABILIZER;
  94.     public static Block PROTOSS_ENERGY_CHANNEL;
  95.  
  96.     public static Block PROTOSS_DARK_ENERGY_STABILIZER;
  97.     public static Block PROTOSS_DARK_ENERGY_CHANNEL;
  98.  
  99.     public static Block ENERGY_BLOCK;
  100.     public static Block VOID_ENERGY_BLOCK;
  101.     public static BlockPylonCrystal CRYSTAL;
  102.     public static Block WARPGATE_WORMHOLE_CHAR;
  103.     public static Block WARPGATE_WORMHOLE_OVERWORLD;
  104.     public static Block WARPGATE_WORMHOLE_SHAKURAS;
  105.  
  106.     public static Block PROTOSS_WARPPROJECTOR_CHAR;
  107.     public static Block PROTOSS_WARPPROJECTOR_OVERWORLD;
  108.     public static Block PROTOSS_WARPPROJECTOR_SHAKURAS;
  109.  
  110.     public static Block MINERAL_FIELD;
  111.     public static Block RICH_MINERAL_FIELD;
  112.  
  113.     public static Block VESPENE_GEYSER;
  114.     public static Block RICH_VESPENE_GEYSER;
  115.     public static Block VESPENE_GEYSER_CHAR;
  116.     public static Block RICH_VESPENE_GEYSER_CHAR;
  117.     public static Block VESPENE_GEYSER_SHAKURAS;
  118.     public static Block RICH_VESPENE_GEYSER_SHAKURAS;
  119.  
  120.     public static Block VESPENE_GEYSER_BASE;
  121.     public static Block VESPENE_GEYSER_BASE_CHAR;
  122.     public static Block VESPENE_GEYSER_BASE_SHAKURAS;
  123.  
  124.     public static Block ZERG_CREEP;
  125.     public static Block KERATIN_CHUNK;
  126.  
  127.     public static Block FLUID_ACID;
  128.     public static Block FLUID_BLOOD;
  129.  
  130.     // Future general blocks.
  131.  
  132.     public static Block terranMetal;
  133.     public static Block terranMetalDec1;
  134.  
  135.     public static BlockCompressedMetalsT1 COMP_METAL;
  136.  
  137.     // Will be used in Xel'Naga temples and shrines.
  138.     public static Block xelnagaMetal;
  139.  
  140.     // Future blocks for dimensions
  141.  
  142.     public static Block dirtAuir;
  143.     public static Block stoneAuir;
  144.     public static Block grassAuir;
  145.  
  146.     public static Block dirtShakuras;
  147.     public static Block STONE_SHAKURAS;
  148.     public static Block COBBLESTONE_SHAKURAS;
  149.     public static Block SAND_SHAKURAS;
  150.     public static Block grassShakuras;
  151.  
  152.     public static Block dirtKorhal;
  153.     public static Block stoneKorhal;
  154.     public static Block grassKorhal;
  155.  
  156.     public static Block DIRT_CHAR;
  157.     public static Block STONE_CHAR;
  158.     public static Block COBBLESTONE_CHAR;
  159.     public static Block ASH_CHAR;
  160.     public static Block MAGMA_CHAR;
  161.  
  162.     public static Block dirtTarsonis;
  163.     public static Block stoneTarsonis;
  164.     public static Block grassTarsonis;
  165.  
  166.     public static Block dirtZerus;
  167.     public static Block stoneZerus;
  168.     public static Block grassZerus;
  169.  
  170.     // debug blocks
  171.     public static Block DIM_PORTAL_CHAR;
  172.     public static Block DIM_PORTAL_OVERWORLD;
  173.     public static Block DIM_PORTAL_SHAKURAS;
  174.    
  175.    
  176.     //Core Blocks
  177.     public static Block CORE_PYLON_VOID;
  178.     public static Block CORE_PYLON_DARK;
  179.     public static Block CORE_PYLON_KHALAI;
  180.    
  181.     public static Block CORE_WARPGATE_VOID;
  182.     public static Block CORE_WARPGATE_DARK;
  183.     public static Block CORE_WARPGATE_KHALAI;
  184.    
  185.     public static Block CORE_NEXUS_VOID;
  186.     public static Block CORE_NEXUS_DARK;
  187.     public static Block CORE_NEXUS_KHALAI;
  188.    
  189.  
  190.     public static void init() {
  191.         instantiate();
  192.         register();
  193.     }
  194.  
  195.     public static void instantiate() {
  196.         ORE_COPPER_OW = new OreOWCopper();
  197.         ORE_TITANIUM_OW = new OreOWTitanium();
  198.         ORE_URANIUM_OW = new OreOWUranium();
  199.  
  200.         DIM_PORTAL_OVERWORLD = new DimPortalOverworld();
  201.        
  202.         ORE_COAL_CHAR = new OreCharCoal();
  203.         ORE_COPPER_CHAR = new OreCharCopper();
  204.         ORE_DIAMOND_CHAR = new OreCharDiamond();
  205.         ORE_GOLD_CHAR = new OreCharGold();
  206.         ORE_IRON_CHAR = new OreCharIron();
  207.         ORE_LAPIS_CHAR = new OreCharLapis();
  208.         ORE_MINERAL_CHAR = new OreCharMineral();
  209.         ORE_REDSTONE_CHAR = new OreCharRedstone();
  210.         ORE_RICHMINERAL_CHAR = new OreCharRichMineral();
  211.         ORE_TITANIUM_CHAR = new OreCharTitanium();
  212.         ORE_URANIUM_CHAR = new OreCharUranium();
  213.        
  214.         STONE_CHAR = new BlockCharStone();
  215.         COBBLESTONE_CHAR = new BlockCharCobblestone();
  216.         MAGMA_CHAR = new BlockCharMagma();
  217.         DIRT_CHAR = new BlockCharDirt();
  218.         DIM_PORTAL_CHAR = new DimPortalChar();
  219.        
  220.         ORE_COAL_SHAKURAS = new OreShakurasCoal();
  221.         ORE_COPPER_SHAKURAS = new OreShakurasCopper();
  222.         ORE_DIAMOND_SHAKURAS = new OreShakurasDiamond();
  223.         ORE_GOLD_SHAKURAS = new OreShakurasGold();
  224.         ORE_IRON_SHAKURAS = new OreShakurasIron();
  225.         ORE_LAPIS_SHAKURAS = new OreShakurasLapis();
  226.         ORE_MINERAL_SHAKURAS = new OreShakurasMineral();
  227.         ORE_REDSTONE_SHAKURAS = new OreShakurasRedstone();
  228.         ORE_RICHMINERAL_SHAKURAS = new OreShakurasRichMineral();
  229.         ORE_TITANIUM_SHAKURAS = new OreShakurasTitanium();
  230.         ORE_URANIUM_SHAKURAS = new OreShakurasUranium();
  231.        
  232.         STONE_SHAKURAS = new BlockShakurasStone();
  233.         COBBLESTONE_SHAKURAS = new BlockShakurasCobblestone();
  234.         SAND_SHAKURAS = new BlockShakurasSand();
  235.         DIM_PORTAL_SHAKURAS = new DimPortalShakuras();
  236.        
  237.        
  238.         PROTOSS_WARPPROJECTOR_CHAR = new BlockProtossWarpProjectorC();
  239.         PROTOSS_WARPPROJECTOR_OVERWORLD = new BlockProtossWarpProjectorO();
  240.         PROTOSS_WARPPROJECTOR_SHAKURAS = new BlockProtossWarpProjectorS();
  241.        
  242.        
  243.         ZERG_CREEP = new BlockZergCreep();
  244.         KERATIN_CHUNK = new BlockKeratinChunk();
  245.        
  246.        
  247.         VESPENE_GEYSER_BASE = new BlockVespeneGeyserBase();
  248.         VESPENE_GEYSER_BASE_CHAR = new BlockVespeneGeyserBaseChar();
  249.         VESPENE_GEYSER_BASE_SHAKURAS = new BlockVespeneGeyserBaseShakuras();
  250.        
  251.         //Core Blocks
  252.         CORE_PYLON_VOID = new BlockCorePylonVoid();
  253.         CORE_PYLON_DARK = new BlockCorePylonDark();
  254.         CORE_PYLON_KHALAI = new BlockCorePylonKhalai();
  255.        
  256.         CORE_WARPGATE_VOID = new BlockCoreWarpGateVoid();
  257.         CORE_WARPGATE_DARK = new BlockCoreWarpGateDark();
  258.         CORE_WARPGATE_KHALAI = new BlockCoreWarpGateKhalai();
  259.        
  260.         CORE_NEXUS_VOID = new BlockCoreNexusVoid();
  261.         CORE_NEXUS_DARK = new BlockCoreNexusDark();
  262.         CORE_NEXUS_KHALAI = new BlockCoreNexusKhalai();
  263.     }
  264.  
  265.     public static void register() {
  266.        
  267.         GameRegistry.register(ORE_COPPER_OW);
  268.         GameRegistry.register(new ItemBlock(ORE_COPPER_OW).setRegistryName(Reference.ModBlocks.ORE_COPPER_OW.getRegistryRL()));
  269.        
  270.         GameRegistry.register(ORE_TITANIUM_OW);
  271.         GameRegistry.register(new ItemBlock(ORE_TITANIUM_OW).setRegistryName(Reference.ModBlocks.ORE_TITANIUM_OW.getRegistryRL()));
  272.        
  273.         GameRegistry.register(ORE_URANIUM_OW);
  274.         GameRegistry.register(new ItemBlock(ORE_URANIUM_OW).setRegistryName(Reference.ModBlocks.ORE_URANIUM_OW.getRegistryRL()));
  275.        
  276.         GameRegistry.register(DIM_PORTAL_OVERWORLD);
  277.         GameRegistry.register(new ItemBlock(DIM_PORTAL_OVERWORLD).setRegistryName(Reference.ModBlocks.BLOCK_DIM_PORTAL_OW.getRegistryRL()));
  278.        
  279.        
  280.         GameRegistry.register(ORE_COAL_CHAR);
  281.         GameRegistry.register(new ItemBlock(ORE_COAL_CHAR).setRegistryName(Reference.ModBlocks.ORE_COAL_C.getRegistryRL()));
  282.        
  283.         GameRegistry.register(ORE_COPPER_CHAR);
  284.         GameRegistry.register(new ItemBlock(ORE_COPPER_CHAR).setRegistryName(Reference.ModBlocks.ORE_COPPER_C.getRegistryRL()));
  285.        
  286.         GameRegistry.register(ORE_DIAMOND_CHAR);
  287.         GameRegistry.register(new ItemBlock(ORE_DIAMOND_CHAR).setRegistryName(Reference.ModBlocks.ORE_DIAMOND_C.getRegistryRL()));
  288.        
  289.         GameRegistry.register(ORE_GOLD_CHAR);
  290.         GameRegistry.register(new ItemBlock(ORE_GOLD_CHAR).setRegistryName(Reference.ModBlocks.ORE_GOLD_C.getRegistryRL()));
  291.        
  292.         GameRegistry.register(ORE_IRON_CHAR);
  293.         GameRegistry.register(new ItemBlock(ORE_IRON_CHAR).setRegistryName(Reference.ModBlocks.ORE_IRON_C.getRegistryRL()));
  294.        
  295.         GameRegistry.register(ORE_LAPIS_CHAR);
  296.         GameRegistry.register(new ItemBlock(ORE_LAPIS_CHAR).setRegistryName(Reference.ModBlocks.ORE_LAPIS_C.getRegistryRL()));
  297.        
  298.         GameRegistry.register(ORE_MINERAL_CHAR);
  299.         GameRegistry.register(new ItemBlock(ORE_MINERAL_CHAR).setRegistryName(Reference.ModBlocks.ORE_MINERAL_C.getRegistryRL()));
  300.        
  301.         GameRegistry.register(ORE_REDSTONE_CHAR);
  302.         GameRegistry.register(new ItemBlock(ORE_REDSTONE_CHAR).setRegistryName(Reference.ModBlocks.ORE_REDSTONE_C.getRegistryRL()));
  303.        
  304.         GameRegistry.register(ORE_RICHMINERAL_CHAR);
  305.         GameRegistry.register(new ItemBlock(ORE_RICHMINERAL_CHAR).setRegistryName(Reference.ModBlocks.ORE_RICHMINERAL_C.getRegistryRL()));
  306.        
  307.         GameRegistry.register(ORE_TITANIUM_CHAR);
  308.         GameRegistry.register(new ItemBlock(ORE_TITANIUM_CHAR).setRegistryName(Reference.ModBlocks.ORE_TITANIUM_C.getRegistryRL()));
  309.        
  310.         GameRegistry.register(ORE_URANIUM_CHAR);
  311.         GameRegistry.register(new ItemBlock(ORE_URANIUM_CHAR).setRegistryName(Reference.ModBlocks.ORE_URANIUM_C.getRegistryRL()));
  312.        
  313.        
  314.         GameRegistry.register(STONE_CHAR);
  315.         GameRegistry.register(new ItemBlock(STONE_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_STONE_C.getRegistryRL()));
  316.        
  317.         GameRegistry.register(COBBLESTONE_CHAR);
  318.         GameRegistry.register(new ItemBlock(COBBLESTONE_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_COBBLESTONE_C.getRegistryRL()));
  319.        
  320.         GameRegistry.register(MAGMA_CHAR);
  321.         GameRegistry.register(new ItemBlock(MAGMA_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_MAGMA_C.getRegistryRL()));
  322.        
  323.         GameRegistry.register(DIRT_CHAR);
  324.         GameRegistry.register(new ItemBlock(DIRT_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_DIRT_C.getRegistryRL()));
  325.        
  326.         GameRegistry.register(DIM_PORTAL_CHAR);
  327.         GameRegistry.register(new ItemBlock(DIM_PORTAL_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_DIM_PORTAL_C.getRegistryRL()));
  328.        
  329.        
  330.         GameRegistry.register(ORE_COAL_SHAKURAS);
  331.         GameRegistry.register(new ItemBlock(ORE_COAL_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_COAL_S.getRegistryRL()));
  332.        
  333.         GameRegistry.register(ORE_COPPER_SHAKURAS);
  334.         GameRegistry.register(new ItemBlock(ORE_COPPER_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_COPPER_S.getRegistryRL()));
  335.        
  336.         GameRegistry.register(ORE_DIAMOND_SHAKURAS);
  337.         GameRegistry.register(new ItemBlock(ORE_DIAMOND_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_DIAMOND_S.getRegistryRL()));
  338.        
  339.         GameRegistry.register(ORE_GOLD_SHAKURAS);
  340.         GameRegistry.register(new ItemBlock(ORE_GOLD_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_GOLD_S.getRegistryRL()));
  341.        
  342.         GameRegistry.register(ORE_IRON_SHAKURAS);
  343.         GameRegistry.register(new ItemBlock(ORE_IRON_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_IRON_S.getRegistryRL()));
  344.        
  345.         GameRegistry.register(ORE_LAPIS_SHAKURAS);
  346.         GameRegistry.register(new ItemBlock(ORE_LAPIS_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_LAPIS_S.getRegistryRL()));
  347.        
  348.         GameRegistry.register(ORE_MINERAL_SHAKURAS);
  349.         GameRegistry.register(new ItemBlock(ORE_MINERAL_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_MINERAL_S.getRegistryRL()));
  350.        
  351.         GameRegistry.register(ORE_REDSTONE_SHAKURAS);
  352.         GameRegistry.register(new ItemBlock(ORE_REDSTONE_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_REDSTONE_S.getRegistryRL()));
  353.        
  354.         GameRegistry.register(ORE_RICHMINERAL_SHAKURAS);
  355.         GameRegistry.register(new ItemBlock(ORE_RICHMINERAL_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_RICHMINERAL_S.getRegistryRL()));
  356.        
  357.         GameRegistry.register(ORE_TITANIUM_SHAKURAS);
  358.         GameRegistry.register(new ItemBlock(ORE_TITANIUM_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_TITANIUM_S.getRegistryRL()));
  359.        
  360.         GameRegistry.register(ORE_URANIUM_SHAKURAS);
  361.         GameRegistry.register(new ItemBlock(ORE_URANIUM_SHAKURAS).setRegistryName(Reference.ModBlocks.ORE_URANIUM_S.getRegistryRL()));
  362.        
  363.         GameRegistry.register(STONE_SHAKURAS);
  364.         GameRegistry.register(new ItemBlock(STONE_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_STONE_S.getRegistryRL()));
  365.        
  366.         GameRegistry.register(COBBLESTONE_SHAKURAS);
  367.         GameRegistry.register(new ItemBlock(COBBLESTONE_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_COBBLESTONE_S.getRegistryRL()));
  368.        
  369.         GameRegistry.register(SAND_SHAKURAS);
  370.         GameRegistry.register(new ItemBlock(SAND_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_SAND_S.getRegistryRL()));
  371.        
  372.         GameRegistry.register(DIM_PORTAL_SHAKURAS);
  373.         GameRegistry.register(new ItemBlock(DIM_PORTAL_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_DIM_PORTAL_S.getRegistryRL()));
  374.        
  375.        
  376.         GameRegistry.register(PROTOSS_WARPPROJECTOR_CHAR);
  377.         GameRegistry.register(new ItemBlock(PROTOSS_WARPPROJECTOR_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_C.getRegistryRL()));
  378.        
  379.         GameRegistry.register(PROTOSS_WARPPROJECTOR_OVERWORLD);
  380.         GameRegistry.register(new ItemBlock(PROTOSS_WARPPROJECTOR_OVERWORLD).setRegistryName(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_OW.getRegistryRL()));
  381.        
  382.         GameRegistry.register(PROTOSS_WARPPROJECTOR_SHAKURAS);
  383.         GameRegistry.register(new ItemBlock(PROTOSS_WARPPROJECTOR_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_S.getRegistryRL()));
  384.        
  385.        
  386.         GameRegistry.register(ZERG_CREEP);
  387.         GameRegistry.register(new ItemBlock(ZERG_CREEP).setRegistryName(Reference.ModBlocks.BLOCK_ZERG_CREEP.getRegistryRL()));
  388.        
  389.         GameRegistry.register(KERATIN_CHUNK);
  390.         GameRegistry.register(new ItemBlock(KERATIN_CHUNK).setRegistryName(Reference.ModBlocks.BLOCK_KERATIN_CHUNK.getRegistryRL()));
  391.        
  392.        
  393.         GameRegistry.register(VESPENE_GEYSER_BASE);
  394.         GameRegistry.register(new ItemBlock(VESPENE_GEYSER_BASE).setRegistryName(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE.getRegistryRL()));
  395.        
  396.         GameRegistry.register(VESPENE_GEYSER_BASE_CHAR);
  397.         GameRegistry.register(new ItemBlock(VESPENE_GEYSER_BASE_CHAR).setRegistryName(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE_C.getRegistryRL()));
  398.        
  399.         GameRegistry.register(VESPENE_GEYSER_BASE_SHAKURAS);
  400.         GameRegistry.register(new ItemBlock(VESPENE_GEYSER_BASE_SHAKURAS).setRegistryName(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE_S.getRegistryRL()));
  401.        
  402.         GameRegistry.register(CORE_PYLON_VOID);
  403.         GameRegistry.register(new ItemBlock(CORE_PYLON_VOID).setRegistryName(Reference.ModBlocks.BLOCK_CORE_PYLON_VOID.getRegistryRL()));
  404.        
  405.         GameRegistry.register(CORE_PYLON_DARK);
  406.         GameRegistry.register(new ItemBlock(CORE_PYLON_DARK).setRegistryName(Reference.ModBlocks.BLOCK_CORE_PYLON_DARK.getRegistryRL()));
  407.        
  408.         GameRegistry.register(CORE_PYLON_KHALAI);
  409.         GameRegistry.register(new ItemBlock(CORE_PYLON_KHALAI).setRegistryName(Reference.ModBlocks.BLOCK_CORE_PYLON_KHALAI.getRegistryRL()));
  410.        
  411.         GameRegistry.register(CORE_NEXUS_VOID);
  412.         GameRegistry.register(new ItemBlock(CORE_NEXUS_VOID).setRegistryName(Reference.ModBlocks.BLOCK_CORE_NEXUS_VOID.getRegistryRL()));
  413.        
  414.         GameRegistry.register(CORE_NEXUS_DARK);
  415.         GameRegistry.register(new ItemBlock(CORE_NEXUS_DARK).setRegistryName(Reference.ModBlocks.BLOCK_CORE_NEXUS_DARK.getRegistryRL()));
  416.        
  417.         GameRegistry.register(CORE_NEXUS_KHALAI);
  418.         GameRegistry.register(new ItemBlock(CORE_NEXUS_KHALAI).setRegistryName(Reference.ModBlocks.BLOCK_CORE_NEXUS_KHALAI.getRegistryRL()));
  419.        
  420.         GameRegistry.register(CORE_WARPGATE_VOID);
  421.         GameRegistry.register(new ItemBlock(CORE_WARPGATE_VOID).setRegistryName(Reference.ModBlocks.BLOCK_CORE_WARPGATE_VOID.getRegistryRL()));
  422.        
  423.         GameRegistry.register(CORE_WARPGATE_DARK);
  424.         GameRegistry.register(new ItemBlock(CORE_WARPGATE_DARK).setRegistryName(Reference.ModBlocks.BLOCK_CORE_WARPGATE_DARK.getRegistryRL()));
  425.        
  426.         GameRegistry.register(CORE_WARPGATE_KHALAI);
  427.         GameRegistry.register(new ItemBlock(CORE_WARPGATE_KHALAI).setRegistryName(Reference.ModBlocks.BLOCK_CORE_WARPGATE_KHALAI.getRegistryRL()));
  428.         //GameRegistry.registerBlock(PROTOSS_METAL, ItemBlockMeta.class, "protoss_metal");
  429.     }
  430.  
  431.     public static void registerModels() {
  432.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_COPPER_OW), 0,
  433.                 new ModelResourceLocation(Reference.ModBlocks.ORE_COPPER_OW.getRegistryRL(), "inventory"));
  434.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_COPPER_OW.getUnlocalizedName().substring(5));
  435.        
  436.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_TITANIUM_OW), 0,
  437.                 new ModelResourceLocation(Reference.ModBlocks.ORE_TITANIUM_OW.getRegistryRL(), "inventory"));
  438.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_TITANIUM_OW.getUnlocalizedName().substring(5));
  439.        
  440.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_URANIUM_OW), 0,
  441.                 new ModelResourceLocation(Reference.ModBlocks.ORE_URANIUM_OW.getRegistryRL(), "inventory"));
  442.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_URANIUM_OW.getUnlocalizedName().substring(5));
  443.        
  444.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(DIM_PORTAL_OVERWORLD), 0,
  445.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_DIM_PORTAL_OW.getRegistryRL(), "inventory"));
  446.         LogHelper.logger.log(Level.INFO, "Registered Block: " + DIM_PORTAL_OVERWORLD.getUnlocalizedName().substring(5));
  447.  
  448.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_COAL_CHAR), 0,
  449.                 new ModelResourceLocation(Reference.ModBlocks.ORE_COAL_C.getRegistryRL(), "inventory"));
  450.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_COAL_CHAR.getUnlocalizedName().substring(5));
  451.        
  452.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_COPPER_CHAR), 0,
  453.                 new ModelResourceLocation(Reference.ModBlocks.ORE_COPPER_C.getRegistryRL(), "inventory"));
  454.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_COPPER_CHAR.getUnlocalizedName().substring(5));
  455.        
  456.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_DIAMOND_CHAR), 0,
  457.                 new ModelResourceLocation(Reference.ModBlocks.ORE_DIAMOND_C.getRegistryRL(), "inventory"));
  458.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_DIAMOND_CHAR.getUnlocalizedName().substring(5));
  459.        
  460.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_GOLD_CHAR), 0,
  461.                 new ModelResourceLocation(Reference.ModBlocks.ORE_GOLD_C.getRegistryRL(), "inventory"));
  462.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_GOLD_CHAR.getUnlocalizedName().substring(5));
  463.        
  464.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_IRON_CHAR), 0,
  465.                 new ModelResourceLocation(Reference.ModBlocks.ORE_IRON_C.getRegistryRL(), "inventory"));
  466.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_IRON_CHAR.getUnlocalizedName().substring(5));
  467.        
  468.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_LAPIS_CHAR), 0,
  469.                 new ModelResourceLocation(Reference.ModBlocks.ORE_LAPIS_C.getRegistryRL(), "inventory"));
  470.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_LAPIS_CHAR.getUnlocalizedName().substring(5));
  471.        
  472.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_MINERAL_CHAR), 0,
  473.                 new ModelResourceLocation(Reference.ModBlocks.ORE_MINERAL_C.getRegistryRL(), "inventory"));
  474.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_MINERAL_CHAR.getUnlocalizedName().substring(5));
  475.        
  476.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_REDSTONE_CHAR), 0,
  477.                 new ModelResourceLocation(Reference.ModBlocks.ORE_REDSTONE_C.getRegistryRL(), "inventory"));
  478.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_REDSTONE_CHAR.getUnlocalizedName().substring(5));
  479.        
  480.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_RICHMINERAL_CHAR), 0,
  481.                 new ModelResourceLocation(Reference.ModBlocks.ORE_RICHMINERAL_C.getRegistryRL(), "inventory"));
  482.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_RICHMINERAL_CHAR.getUnlocalizedName().substring(5));
  483.        
  484.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_TITANIUM_CHAR), 0,
  485.                 new ModelResourceLocation(Reference.ModBlocks.ORE_TITANIUM_C.getRegistryRL(), "inventory"));
  486.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_TITANIUM_CHAR.getUnlocalizedName().substring(5));
  487.        
  488.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_URANIUM_CHAR), 0,
  489.                 new ModelResourceLocation(Reference.ModBlocks.ORE_URANIUM_C.getRegistryRL(), "inventory"));
  490.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_URANIUM_CHAR.getUnlocalizedName().substring(5));
  491.  
  492.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(STONE_CHAR), 0,
  493.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_STONE_C.getRegistryRL(), "inventory"));
  494.         LogHelper.logger.log(Level.INFO, "Registered Block: " + STONE_CHAR.getUnlocalizedName().substring(5));
  495.        
  496.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(COBBLESTONE_CHAR), 0,
  497.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_COBBLESTONE_C.getRegistryRL(), "inventory"));
  498.         LogHelper.logger.log(Level.INFO, "Registered Block: " + COBBLESTONE_CHAR.getUnlocalizedName().substring(5));
  499.        
  500.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(MAGMA_CHAR), 0,
  501.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_MAGMA_C.getRegistryRL(), "inventory"));
  502.         LogHelper.logger.log(Level.INFO, "Registered Block: " + MAGMA_CHAR.getUnlocalizedName().substring(5));
  503.        
  504.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(DIRT_CHAR), 0,
  505.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_DIRT_C.getRegistryRL(), "inventory"));
  506.         LogHelper.logger.log(Level.INFO, "Registered Block: " + DIRT_CHAR.getUnlocalizedName().substring(5));
  507.        
  508.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(DIM_PORTAL_CHAR), 0,
  509.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_DIM_PORTAL_C.getRegistryRL(), "inventory"));
  510.         LogHelper.logger.log(Level.INFO, "Registered Block: " + DIM_PORTAL_CHAR.getUnlocalizedName().substring(5));
  511.        
  512.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_COAL_SHAKURAS), 0,
  513.                 new ModelResourceLocation(Reference.ModBlocks.ORE_COAL_S.getRegistryRL(), "inventory"));
  514.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_COAL_SHAKURAS.getUnlocalizedName().substring(5));
  515.        
  516.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_COPPER_SHAKURAS), 0,
  517.                 new ModelResourceLocation(Reference.ModBlocks.ORE_COPPER_S.getRegistryRL(), "inventory"));
  518.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_COPPER_SHAKURAS.getUnlocalizedName().substring(5));
  519.        
  520.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_DIAMOND_SHAKURAS), 0,
  521.                 new ModelResourceLocation(Reference.ModBlocks.ORE_DIAMOND_S.getRegistryRL(), "inventory"));
  522.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_DIAMOND_SHAKURAS.getUnlocalizedName().substring(5));
  523.        
  524.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_GOLD_SHAKURAS), 0,
  525.                 new ModelResourceLocation(Reference.ModBlocks.ORE_GOLD_S.getRegistryRL(), "inventory"));
  526.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_GOLD_SHAKURAS.getUnlocalizedName().substring(5));
  527.        
  528.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_IRON_SHAKURAS), 0,
  529.                 new ModelResourceLocation(Reference.ModBlocks.ORE_IRON_S.getRegistryRL(), "inventory"));
  530.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_IRON_SHAKURAS.getUnlocalizedName().substring(5));
  531.        
  532.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_LAPIS_SHAKURAS), 0,
  533.                 new ModelResourceLocation(Reference.ModBlocks.ORE_LAPIS_S.getRegistryRL(), "inventory"));
  534.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_LAPIS_SHAKURAS.getUnlocalizedName().substring(5));
  535.        
  536.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_MINERAL_SHAKURAS), 0,
  537.                 new ModelResourceLocation(Reference.ModBlocks.ORE_MINERAL_S.getRegistryRL(), "inventory"));
  538.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_MINERAL_SHAKURAS.getUnlocalizedName().substring(5));
  539.        
  540.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_REDSTONE_SHAKURAS), 0,
  541.                 new ModelResourceLocation(Reference.ModBlocks.ORE_REDSTONE_S.getRegistryRL(), "inventory"));
  542.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_REDSTONE_SHAKURAS.getUnlocalizedName().substring(5));
  543.        
  544.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_RICHMINERAL_SHAKURAS), 0,
  545.                 new ModelResourceLocation(Reference.ModBlocks.ORE_RICHMINERAL_S.getRegistryRL(), "inventory"));
  546.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_RICHMINERAL_SHAKURAS.getUnlocalizedName().substring(5));
  547.        
  548.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_TITANIUM_SHAKURAS), 0,
  549.                 new ModelResourceLocation(Reference.ModBlocks.ORE_TITANIUM_S.getRegistryRL(), "inventory"));
  550.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_TITANIUM_SHAKURAS.getUnlocalizedName().substring(5));
  551.        
  552.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ORE_URANIUM_SHAKURAS), 0,
  553.                 new ModelResourceLocation(Reference.ModBlocks.ORE_URANIUM_S.getRegistryRL(), "inventory"));
  554.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ORE_URANIUM_SHAKURAS.getUnlocalizedName().substring(5));
  555.        
  556.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(STONE_SHAKURAS), 0,
  557.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_STONE_S.getRegistryRL(), "inventory"));
  558.         LogHelper.logger.log(Level.INFO, "Registered Block: " + STONE_SHAKURAS.getUnlocalizedName().substring(5));
  559.        
  560.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(COBBLESTONE_SHAKURAS), 0,
  561.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_COBBLESTONE_S.getRegistryRL(), "inventory"));
  562.         LogHelper.logger.log(Level.INFO, "Registered Block: " + COBBLESTONE_SHAKURAS.getUnlocalizedName().substring(5));
  563.        
  564.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(SAND_SHAKURAS), 0,
  565.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_SAND_S.getRegistryRL(), "inventory"));
  566.         LogHelper.logger.log(Level.INFO, "Registered Block: " + SAND_SHAKURAS.getUnlocalizedName().substring(5));
  567.        
  568.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(DIM_PORTAL_SHAKURAS), 0,
  569.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_DIM_PORTAL_S.getRegistryRL(), "inventory"));
  570.         LogHelper.logger.log(Level.INFO, "Registered Block: " + DIM_PORTAL_SHAKURAS.getUnlocalizedName().substring(5));
  571.        
  572.        
  573.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(PROTOSS_WARPPROJECTOR_CHAR), 0,
  574.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_C.getRegistryRL(), "inventory"));
  575.         LogHelper.logger.log(Level.INFO, "Registered Block: " + PROTOSS_WARPPROJECTOR_CHAR.getUnlocalizedName().substring(5));
  576.        
  577.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(PROTOSS_WARPPROJECTOR_OVERWORLD), 0,
  578.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_OW.getRegistryRL(), "inventory"));
  579.         LogHelper.logger.log(Level.INFO, "Registered Block: " + PROTOSS_WARPPROJECTOR_OVERWORLD.getUnlocalizedName().substring(5));
  580.        
  581.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(PROTOSS_WARPPROJECTOR_SHAKURAS), 0,
  582.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_PROTOSS_WARP_PROJECTOR_S.getRegistryRL(), "inventory"));
  583.         LogHelper.logger.log(Level.INFO, "Registered Block: " + PROTOSS_WARPPROJECTOR_SHAKURAS.getUnlocalizedName().substring(5));
  584.        
  585.        
  586.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(ZERG_CREEP), 0,
  587.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_ZERG_CREEP.getRegistryRL(), "inventory"));
  588.         LogHelper.logger.log(Level.INFO, "Registered Block: " + ZERG_CREEP.getUnlocalizedName().substring(5));
  589.        
  590.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(KERATIN_CHUNK), 0,
  591.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_KERATIN_CHUNK.getRegistryRL(), "inventory"));
  592.         LogHelper.logger.log(Level.INFO, "Registered Block: " + KERATIN_CHUNK.getUnlocalizedName().substring(5));
  593.        
  594.        
  595.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(VESPENE_GEYSER_BASE), 0,
  596.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE.getRegistryRL(), "inventory"));
  597.         LogHelper.logger.log(Level.INFO, "Registered Block: " + VESPENE_GEYSER_BASE.getUnlocalizedName().substring(5));
  598.        
  599.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(VESPENE_GEYSER_BASE_CHAR), 0,
  600.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE_C.getRegistryRL(), "inventory"));
  601.         LogHelper.logger.log(Level.INFO, "Registered Block: " + VESPENE_GEYSER_BASE_CHAR.getUnlocalizedName().substring(5));
  602.        
  603.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(VESPENE_GEYSER_BASE_SHAKURAS), 0,
  604.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_VESPENE_GEYSER_BASE_S.getRegistryRL(), "inventory"));
  605.         LogHelper.logger.log(Level.INFO, "Registered Block: " + VESPENE_GEYSER_BASE_SHAKURAS.getUnlocalizedName().substring(5));
  606.        
  607.         //Core Blocks
  608.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_PYLON_VOID), 0,
  609.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_PYLON_VOID.getRegistryRL(), "inventory"));
  610.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_PYLON_VOID.getUnlocalizedName().substring(5));
  611.        
  612.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_PYLON_DARK), 0,
  613.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_PYLON_DARK.getRegistryRL(), "inventory"));
  614.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_PYLON_DARK.getUnlocalizedName().substring(5));
  615.        
  616.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_PYLON_KHALAI), 0,
  617.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_PYLON_KHALAI.getRegistryRL(), "inventory"));
  618.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_PYLON_KHALAI.getUnlocalizedName().substring(5));
  619.        
  620.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_NEXUS_VOID), 0,
  621.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_NEXUS_VOID.getRegistryRL(), "inventory"));
  622.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_NEXUS_VOID.getUnlocalizedName().substring(5));
  623.        
  624.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_NEXUS_DARK), 0,
  625.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_NEXUS_DARK.getRegistryRL(), "inventory"));
  626.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_NEXUS_DARK.getUnlocalizedName().substring(5));
  627.        
  628.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_NEXUS_KHALAI), 0,
  629.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_NEXUS_KHALAI.getRegistryRL(), "inventory"));
  630.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_NEXUS_KHALAI.getUnlocalizedName().substring(5));
  631.        
  632.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_WARPGATE_VOID), 0,
  633.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_WARPGATE_VOID.getRegistryRL(), "inventory"));
  634.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_WARPGATE_VOID.getUnlocalizedName().substring(5));
  635.        
  636.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_WARPGATE_DARK), 0,
  637.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_WARPGATE_DARK.getRegistryRL(), "inventory"));
  638.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_WARPGATE_DARK.getUnlocalizedName().substring(5));
  639.        
  640.         ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(CORE_WARPGATE_KHALAI), 0,
  641.                 new ModelResourceLocation(Reference.ModBlocks.BLOCK_CORE_WARPGATE_KHALAI.getRegistryRL(), "inventory"));
  642.         LogHelper.logger.log(Level.INFO, "Registered Block: " + CORE_WARPGATE_KHALAI.getUnlocalizedName().substring(5));
  643.        
  644.         //BlockRenderRegister.registerBlockRenderer();
  645.    
  646.     }
  647.    
  648.     public boolean PoweredByPSI(boolean bool) {
  649.         return bool;
  650.     }
  651.  
  652. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top