use of com.wuest.prefab.Items.Structures.ItemFishPond in project MC-Prefab by Brian-Wuest.
the class ModRegistry method RegisterModComponents.
/**
* This is where all in-game mod components (Items, Blocks) will be registered.
*/
public static void RegisterModComponents() {
ModRegistry.registerItem(new ItemStartHouse("item_start_house"));
ModRegistry.registerItem(new ItemWareHouse("item_warehouse"));
ModRegistry.registerItem(new ItemChickenCoop("item_chicken_coop"));
ModRegistry.registerItem(new ItemProduceFarm("item_produce_farm"));
ModRegistry.registerItem(new ItemTreeFarm("item_tree_farm"));
ModRegistry.registerItem(new ItemCompressedChest("item_compressed_chest"));
ModRegistry.registerItem(new ItemPileOfBricks("item_pile_of_bricks"));
ModRegistry.registerItem(new ItemPalletOfBricks("item_pallet_of_bricks"));
ModRegistry.registerItem(new ItemFishPond("item_fish_pond"));
ModRegistry.registerItem(new ItemAdvancedWareHouse("item_advanced_warehouse"));
ModRegistry.registerItem(new ItemMonsterMasher("item_monster_masher"));
ModRegistry.registerItem(new ItemWarehouseUpgrade("item_warehouse_upgrade"));
ModRegistry.registerItem(new ItemBundleOfTimber("item_bundle_of_timber"));
ModRegistry.registerItem(new ItemHorseStable("item_horse_stable"));
ModRegistry.registerItem(new ItemNetherGate("item_nether_gate"));
ModRegistry.registerItem(new ItemInstantBridge("item_instant_bridge"));
// ModRegistry.registerItem(new ItemModularHouse("item_modular_house"));
ModRegistry.registerItem(new ItemStringOfLanterns("item_string_of_lanterns"));
ModRegistry.registerItem(new ItemCoilOfLanterns("item_coil_of_lanterns"));
ModRegistry.registerItem(new ItemModerateHouse("item_moderate_house"));
ModRegistry.registerItem(new ItemBulldozer("item_bulldozer"));
// ModRegistry.registerItem(new ItemBogus("item_bogus"));
// Register all the basic structures here. The resource location is used for the item models and textures.
// Only the first one in this list should have the last variable set to true.
ModRegistry.registerItem(new ItemBasicStructure("item_basic_structure"));
// Create/register the item block with this block as it's needed due to this being a meta data block.
BlockCompressedStone stone = new BlockCompressedStone();
ItemBlockMeta meta = new ItemBlockMeta(stone);
ModRegistry.setItemName(meta, "block_compressed_stone");
ModRegistry.registerBlock(stone, meta);
ModRegistry.registerBlock(new BlockPaperLantern("block_paper_lantern"));
BlockCompressedObsidian obsidian = new BlockCompressedObsidian();
ItemBlockMeta metaObsidian = new ItemBlockMeta(obsidian);
ModRegistry.setItemName(metaObsidian, "block_compressed_obsidian");
ModRegistry.registerBlock(obsidian, metaObsidian);
ModRegistry.registerItem(new ItemVillagerHouses("item_villager_houses"));
ModRegistry.registerBlock(new BlockPhasing("block_phasing"));
ModRegistry.registerBlock(new BlockBoundary("block_boundary"));
ModRegistry.registerBlock(new BlockGlassStairs("block_glass_stairs"));
ModRegistry.registerBlock(new BlockAndesiteStairs("block_andesite_stairs"));
ModRegistry.registerBlock(new BlockDioriteStairs("block_diorite_stairs"));
ModRegistry.registerBlock(new BlockGraniteStairs("block_granite_stairs"));
// Glass Slab.
BlockHalfGlassSlab registeredHalfGlassBlock = new BlockHalfGlassSlab();
BlockDoubleGlassSlab registeredDoubleGlassSlab = new BlockDoubleGlassSlab();
ItemBlockGlassSlab itemHalfGlassSlab = new ItemBlockGlassSlab(registeredHalfGlassBlock, registeredHalfGlassBlock, registeredDoubleGlassSlab, true);
itemHalfGlassSlab = (ItemBlockGlassSlab) itemHalfGlassSlab.setRegistryName("block_half_glass_slab");
ModRegistry.registerBlock(registeredHalfGlassBlock, itemHalfGlassSlab);
ModRegistry.registerBlock(registeredDoubleGlassSlab, false);
// Andesite slab.
BlockHalfAndesiteSlab registeredHalfAndesiteBlock = new BlockHalfAndesiteSlab();
BlockDoubleAndesiteSlab registeredDoubleAndesiteSlab = new BlockDoubleAndesiteSlab();
ItemBlockAndesiteSlab itemHalfAndesiteSlab = new ItemBlockAndesiteSlab(registeredHalfAndesiteBlock, registeredHalfAndesiteBlock, registeredDoubleAndesiteSlab, true);
itemHalfAndesiteSlab = (ItemBlockAndesiteSlab) itemHalfAndesiteSlab.setRegistryName("block_half_andesite_slab");
ModRegistry.registerBlock(registeredHalfAndesiteBlock, itemHalfAndesiteSlab);
ModRegistry.registerBlock(registeredDoubleAndesiteSlab, false);
// Diorite slab.
BlockHalfDioriteSlab registeredHalfDioriteBlock = new BlockHalfDioriteSlab();
BlockDoubleDioriteSlab registeredDoubleDioriteSlab = new BlockDoubleDioriteSlab();
ItemBlockDioriteSlab itemHalfDioriteSlab = new ItemBlockDioriteSlab(registeredHalfDioriteBlock, registeredHalfDioriteBlock, registeredDoubleDioriteSlab, true);
itemHalfDioriteSlab = (ItemBlockDioriteSlab) itemHalfDioriteSlab.setRegistryName("block_half_diorite_slab");
ModRegistry.registerBlock(registeredHalfDioriteBlock, itemHalfDioriteSlab);
ModRegistry.registerBlock(registeredDoubleDioriteSlab, false);
// Granite slab.
BlockHalfGraniteSlab registeredHalfGraniteBlock = new BlockHalfGraniteSlab();
BlockDoubleGraniteSlab registeredDoubleGraniteSlab = new BlockDoubleGraniteSlab();
ItemBlockGraniteSlab itemHalfGraniteSlab = new ItemBlockGraniteSlab(registeredHalfGraniteBlock, registeredHalfGraniteBlock, registeredDoubleGraniteSlab, true);
itemHalfGraniteSlab = (ItemBlockGraniteSlab) itemHalfGraniteSlab.setRegistryName("block_half_granite_slab");
ModRegistry.registerBlock(registeredHalfGraniteBlock, itemHalfGraniteSlab);
ModRegistry.registerBlock(registeredDoubleGraniteSlab, false);
Blocks.STRUCTURE_BLOCK.setCreativeTab(CreativeTabs.BUILDING_BLOCKS);
// BlockDrafter drafter = new BlockDrafter();
// ModRegistry.registerBlock(drafter);
// GameRegistry.registerTileEntity(TileEntityDrafter.class, "Drafter");
}
Aggregations