ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/InitBlocks.java

208 lines
12 KiB
Java
Raw Normal View History

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
*
2016-05-16 22:54:42 +02:00
* © 2015-2016 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
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;
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
2016-06-17 23:50:38 +02:00
import de.ellpeck.actuallyadditions.mod.util.compat.CompatUtil;
import net.minecraft.block.Block;
2016-06-17 23:50:38 +02:00
public final class InitBlocks{
2015-01-05 22:14:01 +01:00
public static Block blockCompost;
public static Block blockMisc;
2015-06-28 03:12:32 +02:00
public static Block blockWildPlant;
public static Block blockFeeder;
public static Block blockGiantChest;
2016-06-27 20:19:04 +02:00
public static Block blockGiantChestMedium;
public static Block blockGiantChestLarge;
public static Block blockGrinder;
public static Block blockGrinderDouble;
public static Block blockFurnaceDouble;
2015-03-19 21:27:56 +01:00
public static Block blockInputter;
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;
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;
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;
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;
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;
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;
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;
public static Block blockLaserRelayItemWhitelist;
2016-05-08 21:09:58 +02:00
public static Block blockItemViewer;
2015-11-03 16:30:13 +01:00
public static Block blockBlackLotus;
public static Block blockCrystal;
public static Block blockCrystalEmpowered;
public static Block blockAtomicReconstructor;
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;
public static Block blockDisplayStand;
public static Block blockShockSuppressor;
public static Block blockEmpowerer;
2016-09-09 21:43:33 +02:00
public static Block blockDistributorItem;
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-07-14 22:04:24 +02:00
2015-01-05 22:14:01 +01:00
public static void init(){
2015-07-01 21:32:48 +02:00
ModUtil.LOGGER.info("Initializing Blocks...");
2016-10-31 18:03:18 +01:00
blockFarmer = new BlockFarmer("blockFarmer");
2016-09-14 21:42:03 +02:00
blockBioReactor = new BlockBioReactor("blockBioReactor");
2016-09-09 21:43:33 +02:00
blockDistributorItem = new BlockDistributorItem("blockDistributorItem");
blockEmpowerer = new BlockEmpowerer("blockEmpowerer");
2016-07-14 22:04:24 +02:00
blockTinyTorch = new BlockTinyTorch("blockTinyTorch");
blockShockSuppressor = new BlockShockSuppressor("blockShockSuppressor");
blockDisplayStand = new BlockDisplayStand("blockDisplayStand");
2016-06-05 04:05:37 +02:00
blockPlayerInterface = new BlockPlayerInterface("blockPlayerInterface");
2016-05-08 21:09:58 +02:00
blockItemViewer = new BlockItemViewer("blockItemViewer");
2015-12-13 17:32:06 +01:00
blockFireworkBox = new BlockFireworkBox("blockFireworkBox");
blockMiner = new BlockMiner("blockMiner");
blockAtomicReconstructor = new BlockAtomicReconstructor("blockAtomicReconstructor");
blockCrystal = new BlockCrystal("blockCrystal", false);
blockCrystalEmpowered = new BlockCrystal("blockCrystalEmpowered", true);
blockBlackLotus = new BlockBlackLotus("blockBlackLotus");
2016-07-14 16:44:01 +02:00
blockLaserRelay = new BlockLaserRelay("blockLaserRelay", Type.ENERGY_BASIC);
blockLaserRelayAdvanced = new BlockLaserRelay("blockLaserRelayAdvanced", Type.ENERGY_ADVANCED);
blockLaserRelayExtreme = new BlockLaserRelay("blockLaserRelayExtreme", Type.ENERGY_EXTREME);
2016-09-01 20:50:44 +02:00
blockLaserRelayFluids = new BlockLaserRelay("blockLaserRelayFluids", Type.FLUIDS);
2016-07-14 16:44:01 +02:00
blockLaserRelayItem = new BlockLaserRelay("blockLaserRelayItem", Type.ITEM);
blockLaserRelayItemWhitelist = new BlockLaserRelay("blockLaserRelayItemWhitelist", Type.ITEM_WHITELIST);
blockRangedCollector = new BlockRangedCollector("blockRangedCollector");
blockDirectionalBreaker = new BlockDirectionalBreaker("blockDirectionalBreaker");
blockLeafGenerator = new BlockLeafGenerator("blockLeafGenerator");
blockSmileyCloud = new BlockSmileyCloud("blockSmileyCloud");
blockXPSolidifier = new BlockXPSolidifier("blockXPSolidifier");
2015-06-28 03:12:32 +02:00
blockTestifiBucksGreenWall = new BlockGeneric("blockTestifiBucksGreenWall");
blockTestifiBucksWhiteWall = new BlockGeneric("blockTestifiBucksWhiteWall");
blockTestifiBucksGreenStairs = new BlockStair(blockTestifiBucksGreenWall, "blockTestifiBucksGreenStairs");
blockTestifiBucksWhiteStairs = new BlockStair(blockTestifiBucksWhiteWall, "blockTestifiBucksWhiteStairs");
blockTestifiBucksGreenSlab = new BlockSlabs("blockTestifiBucksGreenSlab", blockTestifiBucksGreenWall);
2015-06-28 21:28:58 +02:00
blockTestifiBucksWhiteSlab = new BlockSlabs("blockTestifiBucksWhiteSlab", blockTestifiBucksWhiteWall);
2015-11-08 18:29:05 +01:00
blockTestifiBucksGreenFence = new BlockWallAA("blockTestifiBucksGreenFence", blockTestifiBucksGreenWall);
blockTestifiBucksWhiteFence = new BlockWallAA("blockTestifiBucksWhiteFence", blockTestifiBucksWhiteWall);
blockColoredLamp = new BlockColoredLamp(false, "blockColoredLamp");
blockColoredLampOn = new BlockColoredLamp(true, "blockColoredLampOn");
blockLampPowerer = new BlockLampPowerer("blockLampPowerer");
blockTreasureChest = new BlockTreasureChest("blockTreasureChest");
blockEnergizer = new BlockEnergizer(true, "blockEnergizer");
blockEnervator = new BlockEnergizer(false, "blockEnervator");
blockLavaFactoryController = new BlockLavaFactoryController("blockLavaFactoryController");
blockCanolaPress = new BlockCanolaPress("blockCanolaPress");
blockPhantomface = new BlockPhantom(BlockPhantom.Type.FACE, "blockPhantomface");
blockPhantomPlacer = new BlockPhantom(BlockPhantom.Type.PLACER, "blockPhantomPlacer");
blockPhantomLiquiface = new BlockPhantom(BlockPhantom.Type.LIQUIFACE, "blockPhantomLiquiface");
blockPhantomEnergyface = new BlockPhantom(BlockPhantom.Type.ENERGYFACE, "blockPhantomEnergyface");
2016-05-05 17:29:39 +02:00
blockPhantomRedstoneface = new BlockPhantom(BlockPhantom.Type.REDSTONEFACE, "blockPhantomRedstoneface");
blockPhantomBreaker = new BlockPhantom(BlockPhantom.Type.BREAKER, "blockPhantomBreaker");
blockCoalGenerator = new BlockCoalGenerator("blockCoalGenerator");
blockOilGenerator = new BlockOilGenerator("blockOilGenerator");
blockFermentingBarrel = new BlockFermentingBarrel("blockFermentingBarrel");
blockRice = new BlockPlant("blockRice", 1, 2);
2015-06-28 03:12:32 +02:00
CompatUtil.registerMFRPlant(blockRice);
blockCanola = new BlockPlant("blockCanola", 2, 3);
2015-06-28 03:12:32 +02:00
CompatUtil.registerMFRPlant(blockCanola);
blockFlax = new BlockPlant("blockFlax", 2, 4);
2015-06-28 03:12:32 +02:00
CompatUtil.registerMFRPlant(blockFlax);
blockCoffee = new BlockPlant("blockCoffee", 2, 2);
2015-06-28 03:12:32 +02:00
CompatUtil.registerMFRPlant(blockCoffee);
blockCompost = new BlockCompost("blockCompost");
blockMisc = new BlockMisc("blockMisc");
blockFeeder = new BlockFeeder("blockFeeder");
2016-06-27 20:19:04 +02:00
blockGiantChest = new BlockGiantChest("blockGiantChest", 0);
blockGiantChestMedium = new BlockGiantChest("blockGiantChestMedium", 1);
blockGiantChestLarge = new BlockGiantChest("blockGiantChestLarge", 2);
blockGrinder = new BlockGrinder(false, "blockGrinder");
blockGrinderDouble = new BlockGrinder(true, "blockGrinderDouble");
blockFurnaceDouble = new BlockFurnaceDouble("blockFurnaceDouble");
blockInputter = new BlockInputter(false, "blockInputter");
blockInputterAdvanced = new BlockInputter(true, "blockInputterAdvanced");
blockFishingNet = new BlockFishingNet("blockFishingNet");
blockFurnaceSolar = new BlockFurnaceSolar("blockFurnaceSolar");
blockHeatCollector = new BlockHeatCollector("blockHeatCollector");
blockItemRepairer = new BlockItemRepairer("blockItemRepairer");
blockGreenhouseGlass = new BlockGreenhouseGlass("blockGreenhouseGlass");
blockBreaker = new BlockBreaker(false, "blockBreaker");
blockPlacer = new BlockBreaker(true, "blockPlacer");
blockDropper = new BlockDropper("blockDropper");
blockFluidPlacer = new BlockFluidCollector(true, "blockFluidPlacer");
blockFluidCollector = new BlockFluidCollector(false, "blockFluidCollector");
blockCoffeeMachine = new BlockCoffeeMachine("blockCoffeeMachine");
blockPhantomBooster = new BlockPhantomBooster("blockPhantomBooster");
blockWildPlant = new BlockWildPlant("blockWild");
2015-12-17 20:18:22 +01:00
blockQuartzWall = new BlockWallAA("blockQuartzWall", blockMisc, TheMiscBlocks.QUARTZ.ordinal());
blockChiseledQuartzWall = new BlockWallAA("blockChiseledQuartzWall", blockMisc, TheMiscBlocks.QUARTZ_CHISELED.ordinal());
blockPillarQuartzWall = new BlockWallAA("blockPillarQuartzWall", blockMisc, TheMiscBlocks.QUARTZ_PILLAR.ordinal());
blockQuartzStair = new BlockStair(blockMisc, "blockQuartzStair", TheMiscBlocks.QUARTZ.ordinal());
blockChiseledQuartzStair = new BlockStair(blockMisc, "blockChiseledQuartzStair", TheMiscBlocks.QUARTZ_CHISELED.ordinal());
blockPillarQuartzStair = new BlockStair(blockMisc, "blockPillarQuartzStair", TheMiscBlocks.QUARTZ_PILLAR.ordinal());
blockQuartzSlab = new BlockSlabs("blockQuartzSlab", blockMisc, TheMiscBlocks.QUARTZ.ordinal());
blockChiseledQuartzSlab = new BlockSlabs("blockChiseledQuartzSlab", blockMisc, TheMiscBlocks.QUARTZ_CHISELED.ordinal());
blockPillarQuartzSlab = new BlockSlabs("blockPillarQuartzSlab", blockMisc, TheMiscBlocks.QUARTZ_PILLAR.ordinal());
}
}