2015-08-29 14:33:25 +02:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("InitBlocks.java") is part of the Actually Additions mod for Minecraft.
|
2015-08-29 14:33:25 +02:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2015-08-29 14:33:25 +02:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2015-08-29 14:33:25 +02:00
|
|
|
*/
|
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.blocks;
|
2015-01-05 22:14:01 +01:00
|
|
|
|
2018-05-10 11:38:58 +02:00
|
|
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
2016-07-14 16:44:01 +02:00
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.BlockLaserRelay.Type;
|
2016-01-05 04:47:35 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.base.BlockPlant;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.base.BlockStair;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheMiscBlocks;
|
2017-02-13 23:17:08 +01:00
|
|
|
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
2015-02-09 17:25:05 +01:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public final class InitBlocks {
|
2015-01-05 22:14:01 +01:00
|
|
|
|
2015-02-09 17:25:05 +01:00
|
|
|
public static Block blockCompost;
|
2015-02-17 16:15:16 +01:00
|
|
|
public static Block blockMisc;
|
2015-06-28 03:12:32 +02:00
|
|
|
public static Block blockWildPlant;
|
2015-02-17 16:15:16 +01:00
|
|
|
public static Block blockFeeder;
|
2015-02-20 22:45:33 +01:00
|
|
|
public static Block blockGiantChest;
|
2016-06-27 20:19:04 +02:00
|
|
|
public static Block blockGiantChestMedium;
|
|
|
|
public static Block blockGiantChestLarge;
|
2015-03-07 02:23:31 +01:00
|
|
|
public static Block blockGrinder;
|
|
|
|
public static Block blockGrinderDouble;
|
|
|
|
public static Block blockFurnaceDouble;
|
2015-03-19 21:27:56 +01:00
|
|
|
public static Block blockInputter;
|
2015-04-04 05:20:19 +02:00
|
|
|
public static Block blockInputterAdvanced;
|
2015-03-30 15:08:19 +02:00
|
|
|
public static Block blockFishingNet;
|
|
|
|
public static Block blockFurnaceSolar;
|
2015-03-31 20:37:55 +02:00
|
|
|
public static Block blockHeatCollector;
|
2015-04-02 12:06:42 +02:00
|
|
|
public static Block blockItemRepairer;
|
2015-04-19 01:50:02 +02:00
|
|
|
public static Block blockGreenhouseGlass;
|
|
|
|
public static Block blockBreaker;
|
|
|
|
public static Block blockPlacer;
|
2015-05-04 17:26:50 +02:00
|
|
|
public static Block blockDropper;
|
2015-05-20 22:39:43 +02:00
|
|
|
public static Block blockRice;
|
|
|
|
public static Block blockCanola;
|
2015-06-06 01:25:53 +02:00
|
|
|
public static Block blockFlax;
|
2015-06-12 19:12:06 +02:00
|
|
|
public static Block blockCoffee;
|
2015-05-20 22:39:43 +02:00
|
|
|
public static Block blockCanolaPress;
|
|
|
|
public static Block blockFermentingBarrel;
|
|
|
|
public static Block blockCoalGenerator;
|
|
|
|
public static Block blockOilGenerator;
|
|
|
|
public static Block blockPhantomface;
|
2015-05-27 21:57:53 +02:00
|
|
|
public static Block blockPhantomPlacer;
|
|
|
|
public static Block blockPhantomBreaker;
|
|
|
|
public static Block blockPhantomLiquiface;
|
2015-05-29 18:17:28 +02:00
|
|
|
public static Block blockPhantomEnergyface;
|
2016-05-05 17:29:39 +02:00
|
|
|
public static Block blockPhantomRedstoneface;
|
2016-06-05 04:05:37 +02:00
|
|
|
public static Block blockPlayerInterface;
|
2015-05-30 17:47:57 +02:00
|
|
|
public static Block blockFluidPlacer;
|
|
|
|
public static Block blockFluidCollector;
|
2015-06-06 01:25:53 +02:00
|
|
|
public static Block blockLavaFactoryController;
|
2015-06-12 19:12:06 +02:00
|
|
|
public static Block blockCoffeeMachine;
|
|
|
|
public static Block blockPhantomBooster;
|
2015-06-21 02:28:49 +02:00
|
|
|
public static Block blockEnergizer;
|
|
|
|
public static Block blockEnervator;
|
2015-06-28 03:12:32 +02:00
|
|
|
public static Block blockTestifiBucksGreenWall;
|
|
|
|
public static Block blockTestifiBucksWhiteWall;
|
|
|
|
public static Block blockTestifiBucksGreenStairs;
|
|
|
|
public static Block blockTestifiBucksWhiteStairs;
|
|
|
|
public static Block blockTestifiBucksGreenSlab;
|
2015-06-28 21:28:58 +02:00
|
|
|
public static Block blockTestifiBucksWhiteSlab;
|
2015-11-08 18:29:05 +01:00
|
|
|
public static Block blockTestifiBucksGreenFence;
|
|
|
|
public static Block blockTestifiBucksWhiteFence;
|
2015-06-28 21:28:58 +02:00
|
|
|
public static Block blockColoredLamp;
|
|
|
|
public static Block blockColoredLampOn;
|
2015-07-07 11:31:13 +02:00
|
|
|
public static Block blockLampPowerer;
|
2015-07-10 13:08:20 +02:00
|
|
|
public static Block blockTreasureChest;
|
2015-07-15 01:53:04 +02:00
|
|
|
public static Block blockXPSolidifier;
|
2015-08-23 23:41:46 +02:00
|
|
|
public static Block blockSmileyCloud;
|
2015-09-30 21:03:43 +02:00
|
|
|
public static Block blockLeafGenerator;
|
2015-10-05 16:53:28 +02:00
|
|
|
public static Block blockDirectionalBreaker;
|
2015-10-10 02:51:06 +02:00
|
|
|
public static Block blockRangedCollector;
|
2015-10-19 17:50:43 +02:00
|
|
|
public static Block blockLaserRelay;
|
2016-07-14 16:44:01 +02:00
|
|
|
public static Block blockLaserRelayAdvanced;
|
|
|
|
public static Block blockLaserRelayExtreme;
|
2016-09-01 20:50:44 +02:00
|
|
|
public static Block blockLaserRelayFluids;
|
2016-05-08 21:09:58 +02:00
|
|
|
public static Block blockLaserRelayItem;
|
2016-05-10 22:19:15 +02:00
|
|
|
public static Block blockLaserRelayItemWhitelist;
|
2016-05-08 21:09:58 +02:00
|
|
|
public static Block blockItemViewer;
|
2016-12-18 13:27:14 +01:00
|
|
|
public static Block blockItemViewerHopping;
|
2015-11-03 16:30:13 +01:00
|
|
|
public static Block blockBlackLotus;
|
2015-11-14 14:30:35 +01:00
|
|
|
public static Block blockCrystal;
|
2016-08-03 04:01:47 +02:00
|
|
|
public static Block blockCrystalEmpowered;
|
2015-11-14 14:30:35 +01:00
|
|
|
public static Block blockAtomicReconstructor;
|
2015-12-06 02:16:52 +01:00
|
|
|
public static Block blockMiner;
|
2015-12-13 17:32:06 +01:00
|
|
|
public static Block blockFireworkBox;
|
2015-12-17 20:18:22 +01:00
|
|
|
public static Block blockQuartzWall;
|
|
|
|
public static Block blockQuartzStair;
|
|
|
|
public static Block blockQuartzSlab;
|
|
|
|
public static Block blockChiseledQuartzWall;
|
|
|
|
public static Block blockChiseledQuartzStair;
|
|
|
|
public static Block blockChiseledQuartzSlab;
|
|
|
|
public static Block blockPillarQuartzWall;
|
|
|
|
public static Block blockPillarQuartzStair;
|
|
|
|
public static Block blockPillarQuartzSlab;
|
2016-06-06 21:27:09 +02:00
|
|
|
public static Block blockDisplayStand;
|
2016-07-03 21:57:33 +02:00
|
|
|
public static Block blockShockSuppressor;
|
2016-08-03 04:01:47 +02:00
|
|
|
public static Block blockEmpowerer;
|
2016-09-14 21:42:03 +02:00
|
|
|
public static Block blockBioReactor;
|
2016-07-14 22:04:24 +02:00
|
|
|
public static Block blockTinyTorch;
|
2016-10-31 18:03:18 +01:00
|
|
|
public static Block blockFarmer;
|
2016-12-18 17:28:29 +01:00
|
|
|
public static Block blockBatteryBox;
|
2017-02-13 23:17:08 +01:00
|
|
|
public static Block blockCrystalClusterRedstone;
|
|
|
|
public static Block blockCrystalClusterLapis;
|
|
|
|
public static Block blockCrystalClusterDiamond;
|
|
|
|
public static Block blockCrystalClusterCoal;
|
|
|
|
public static Block blockCrystalClusterEmerald;
|
|
|
|
public static Block blockCrystalClusterIron;
|
2016-07-14 22:04:24 +02:00
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public static void init() {
|
2018-05-10 11:38:58 +02:00
|
|
|
ActuallyAdditions.LOGGER.info("Initializing Blocks...");
|
2015-02-09 17:25:05 +01:00
|
|
|
|
2017-02-13 23:17:08 +01:00
|
|
|
blockCrystalClusterRedstone = new BlockCrystalCluster("block_crystal_cluster_redstone", TheCrystals.REDSTONE);
|
|
|
|
blockCrystalClusterLapis = new BlockCrystalCluster("block_crystal_cluster_lapis", TheCrystals.LAPIS);
|
|
|
|
blockCrystalClusterDiamond = new BlockCrystalCluster("block_crystal_cluster_diamond", TheCrystals.DIAMOND);
|
|
|
|
blockCrystalClusterCoal = new BlockCrystalCluster("block_crystal_cluster_coal", TheCrystals.COAL);
|
|
|
|
blockCrystalClusterEmerald = new BlockCrystalCluster("block_crystal_cluster_emerald", TheCrystals.EMERALD);
|
|
|
|
blockCrystalClusterIron = new BlockCrystalCluster("block_crystal_cluster_iron", TheCrystals.IRON);
|
2016-12-18 17:28:29 +01:00
|
|
|
blockBatteryBox = new BlockBatteryBox("block_battery_box");
|
2016-12-18 13:27:14 +01:00
|
|
|
blockItemViewerHopping = new BlockItemViewerHopping("block_item_viewer_hopping");
|
2016-11-19 23:12:22 +01:00
|
|
|
blockFarmer = new BlockFarmer("block_farmer");
|
|
|
|
blockBioReactor = new BlockBioReactor("block_bio_reactor");
|
|
|
|
blockEmpowerer = new BlockEmpowerer("block_empowerer");
|
|
|
|
blockTinyTorch = new BlockTinyTorch("block_tiny_torch");
|
|
|
|
blockShockSuppressor = new BlockShockSuppressor("block_shock_suppressor");
|
|
|
|
blockDisplayStand = new BlockDisplayStand("block_display_stand");
|
|
|
|
blockPlayerInterface = new BlockPlayerInterface("block_player_interface");
|
|
|
|
blockItemViewer = new BlockItemViewer("block_item_viewer");
|
|
|
|
blockFireworkBox = new BlockFireworkBox("block_firework_box");
|
|
|
|
blockMiner = new BlockMiner("block_miner");
|
|
|
|
blockAtomicReconstructor = new BlockAtomicReconstructor("block_atomic_reconstructor");
|
|
|
|
blockCrystal = new BlockCrystal("block_crystal", false);
|
|
|
|
blockCrystalEmpowered = new BlockCrystal("block_crystal_empowered", true);
|
|
|
|
blockBlackLotus = new BlockBlackLotus("block_black_lotus");
|
|
|
|
blockLaserRelay = new BlockLaserRelay("block_laser_relay", Type.ENERGY_BASIC);
|
|
|
|
blockLaserRelayAdvanced = new BlockLaserRelay("block_laser_relay_advanced", Type.ENERGY_ADVANCED);
|
|
|
|
blockLaserRelayExtreme = new BlockLaserRelay("block_laser_relay_extreme", Type.ENERGY_EXTREME);
|
|
|
|
blockLaserRelayFluids = new BlockLaserRelay("block_laser_relay_fluids", Type.FLUIDS);
|
|
|
|
blockLaserRelayItem = new BlockLaserRelay("block_laser_relay_item", Type.ITEM);
|
|
|
|
blockLaserRelayItemWhitelist = new BlockLaserRelay("block_laser_relay_item_whitelist", Type.ITEM_WHITELIST);
|
|
|
|
blockRangedCollector = new BlockRangedCollector("block_ranged_collector");
|
|
|
|
blockDirectionalBreaker = new BlockDirectionalBreaker("block_directional_breaker");
|
|
|
|
blockLeafGenerator = new BlockLeafGenerator("block_leaf_generator");
|
|
|
|
blockSmileyCloud = new BlockSmileyCloud("block_smiley_cloud");
|
|
|
|
blockXPSolidifier = new BlockXPSolidifier("block_xp_solidifier");
|
|
|
|
blockTestifiBucksGreenWall = new BlockGeneric("block_testifi_bucks_green_wall");
|
|
|
|
blockTestifiBucksWhiteWall = new BlockGeneric("block_testifi_bucks_white_wall");
|
|
|
|
blockTestifiBucksGreenStairs = new BlockStair(blockTestifiBucksGreenWall, "block_testifi_bucks_green_stairs");
|
|
|
|
blockTestifiBucksWhiteStairs = new BlockStair(blockTestifiBucksWhiteWall, "block_testifi_bucks_white_stairs");
|
|
|
|
blockTestifiBucksGreenSlab = new BlockSlabs("block_testifi_bucks_green_slab", blockTestifiBucksGreenWall);
|
|
|
|
blockTestifiBucksWhiteSlab = new BlockSlabs("block_testifi_bucks_white_slab", blockTestifiBucksWhiteWall);
|
|
|
|
blockTestifiBucksGreenFence = new BlockWallAA("block_testifi_bucks_green_fence", blockTestifiBucksGreenWall);
|
|
|
|
blockTestifiBucksWhiteFence = new BlockWallAA("block_testifi_bucks_white_fence", blockTestifiBucksWhiteWall);
|
|
|
|
blockColoredLamp = new BlockColoredLamp(false, "block_colored_lamp");
|
|
|
|
blockColoredLampOn = new BlockColoredLamp(true, "block_colored_lamp_on");
|
|
|
|
blockLampPowerer = new BlockLampPowerer("block_lamp_powerer");
|
|
|
|
blockTreasureChest = new BlockTreasureChest("block_treasure_chest");
|
|
|
|
blockEnergizer = new BlockEnergizer(true, "block_energizer");
|
|
|
|
blockEnervator = new BlockEnergizer(false, "block_enervator");
|
|
|
|
blockLavaFactoryController = new BlockLavaFactoryController("block_lava_factory_controller");
|
|
|
|
blockCanolaPress = new BlockCanolaPress("block_canola_press");
|
|
|
|
blockPhantomface = new BlockPhantom(BlockPhantom.Type.FACE, "block_phantomface");
|
|
|
|
blockPhantomPlacer = new BlockPhantom(BlockPhantom.Type.PLACER, "block_phantom_placer");
|
|
|
|
blockPhantomLiquiface = new BlockPhantom(BlockPhantom.Type.LIQUIFACE, "block_phantom_liquiface");
|
|
|
|
blockPhantomEnergyface = new BlockPhantom(BlockPhantom.Type.ENERGYFACE, "block_phantom_energyface");
|
|
|
|
blockPhantomRedstoneface = new BlockPhantom(BlockPhantom.Type.REDSTONEFACE, "block_phantom_redstoneface");
|
|
|
|
blockPhantomBreaker = new BlockPhantom(BlockPhantom.Type.BREAKER, "block_phantom_breaker");
|
|
|
|
blockCoalGenerator = new BlockCoalGenerator("block_coal_generator");
|
|
|
|
blockOilGenerator = new BlockOilGenerator("block_oil_generator");
|
|
|
|
blockFermentingBarrel = new BlockFermentingBarrel("block_fermenting_barrel");
|
|
|
|
blockRice = new BlockPlant("block_rice", 1, 2);
|
|
|
|
blockCanola = new BlockPlant("block_canola", 2, 3);
|
|
|
|
blockFlax = new BlockPlant("block_flax", 2, 4);
|
|
|
|
blockCoffee = new BlockPlant("block_coffee", 2, 2);
|
|
|
|
blockCompost = new BlockCompost("block_compost");
|
|
|
|
blockMisc = new BlockMisc("block_misc");
|
|
|
|
blockFeeder = new BlockFeeder("block_feeder");
|
|
|
|
blockGiantChest = new BlockGiantChest("block_giant_chest", 0);
|
|
|
|
blockGiantChestMedium = new BlockGiantChest("block_giant_chest_medium", 1);
|
|
|
|
blockGiantChestLarge = new BlockGiantChest("block_giant_chest_large", 2);
|
|
|
|
blockGrinder = new BlockGrinder(false, "block_grinder");
|
|
|
|
blockGrinderDouble = new BlockGrinder(true, "block_grinder_double");
|
|
|
|
blockFurnaceDouble = new BlockFurnaceDouble("block_furnace_double");
|
|
|
|
blockInputter = new BlockInputter(false, "block_inputter");
|
|
|
|
blockInputterAdvanced = new BlockInputter(true, "block_inputter_advanced");
|
|
|
|
blockFishingNet = new BlockFishingNet("block_fishing_net");
|
|
|
|
blockFurnaceSolar = new BlockFurnaceSolar("block_furnace_solar");
|
|
|
|
blockHeatCollector = new BlockHeatCollector("block_heat_collector");
|
|
|
|
blockItemRepairer = new BlockItemRepairer("block_item_repairer");
|
|
|
|
blockGreenhouseGlass = new BlockGreenhouseGlass("block_greenhouse_glass");
|
|
|
|
blockBreaker = new BlockBreaker(false, "block_breaker");
|
|
|
|
blockPlacer = new BlockBreaker(true, "block_placer");
|
|
|
|
blockDropper = new BlockDropper("block_dropper");
|
|
|
|
blockFluidPlacer = new BlockFluidCollector(true, "block_fluid_placer");
|
|
|
|
blockFluidCollector = new BlockFluidCollector(false, "block_fluid_collector");
|
|
|
|
blockCoffeeMachine = new BlockCoffeeMachine("block_coffee_machine");
|
|
|
|
blockPhantomBooster = new BlockPhantomBooster("block_phantom_booster");
|
|
|
|
blockWildPlant = new BlockWildPlant("block_wild");
|
2018-05-05 10:01:54 +02:00
|
|
|
blockQuartzWall = new BlockWallAA("block_quartz_wall", blockMisc);
|
|
|
|
blockChiseledQuartzWall = new BlockWallAA("block_chiseled_quartz_wall", blockMisc);
|
|
|
|
blockPillarQuartzWall = new BlockWallAA("block_pillar_quartz_wall", blockMisc);
|
2017-08-09 18:20:55 +02:00
|
|
|
blockQuartzStair = new BlockStair(blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ), "block_quartz_stair");
|
|
|
|
blockChiseledQuartzStair = new BlockStair(blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_CHISELED), "block_chiseled_quartz_stair");
|
|
|
|
blockPillarQuartzStair = new BlockStair(blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_PILLAR), "block_pillar_quartz_stair");
|
|
|
|
blockQuartzSlab = new BlockSlabs("block_quartz_slab", blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ));
|
|
|
|
blockChiseledQuartzSlab = new BlockSlabs("block_chiseled_quartz_slab", blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_CHISELED));
|
|
|
|
blockPillarQuartzSlab = new BlockSlabs("block_pillar_quartz_slab", blockMisc.getDefaultState().withProperty(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_PILLAR));
|
2015-02-17 16:15:16 +01:00
|
|
|
}
|
2015-02-20 22:45:33 +01:00
|
|
|
}
|