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-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;
|
2015-02-09 17:25:05 +01:00
|
|
|
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
|
|
|
|
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-02-09 17:25:05 +01:00
|
|
|
|
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;
|
2015-05-04 17:26:50 +02:00
|
|
|
|
2015-04-19 01:50:02 +02:00
|
|
|
public static Block blockBreaker;
|
|
|
|
public static Block blockPlacer;
|
2015-05-04 17:26:50 +02:00
|
|
|
public static Block blockDropper;
|
2015-04-26 20:07:57 +02:00
|
|
|
|
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-20 22:39:43 +02:00
|
|
|
|
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-06 01:25:53 +02:00
|
|
|
|
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-06-28 03:12:32 +02:00
|
|
|
|
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-07-13 23:44:33 +02:00
|
|
|
|
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-09-30 21:03:43 +02:00
|
|
|
|
2015-10-19 17:50:43 +02:00
|
|
|
public static Block blockLaserRelay;
|
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;
|
2015-10-18 19:21:32 +02:00
|
|
|
|
2015-11-03 16:30:13 +01:00
|
|
|
public static Block blockBlackLotus;
|
2015-11-14 14:30:35 +01:00
|
|
|
public static Block blockCrystal;
|
|
|
|
public static Block blockAtomicReconstructor;
|
2015-11-03 16:30:13 +01:00
|
|
|
|
2015-12-06 02:16:52 +01:00
|
|
|
public static Block blockMiner;
|
2015-11-24 19:59:33 +01:00
|
|
|
|
2015-12-13 17:32:06 +01:00
|
|
|
public static Block blockFireworkBox;
|
2015-12-19 10:30:39 +01:00
|
|
|
|
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;
|
2015-12-13 17:32:06 +01:00
|
|
|
|
2016-05-26 13:11:43 +02:00
|
|
|
public static Block blockBookletStand;
|
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-05-26 13:11:43 +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...");
|
2015-02-09 17:25:05 +01:00
|
|
|
|
2016-07-03 21:57:33 +02:00
|
|
|
blockShockSuppressor = new BlockShockSuppressor("blockShockSuppressor");
|
2016-06-06 21:27:09 +02:00
|
|
|
blockDisplayStand = new BlockDisplayStand("blockDisplayStand");
|
2016-06-05 04:05:37 +02:00
|
|
|
blockPlayerInterface = new BlockPlayerInterface("blockPlayerInterface");
|
2016-05-26 13:11:43 +02:00
|
|
|
blockBookletStand = new BlockBookletStand("blockBookletStand");
|
2016-05-08 21:09:58 +02:00
|
|
|
blockItemViewer = new BlockItemViewer("blockItemViewer");
|
2015-12-13 17:32:06 +01:00
|
|
|
blockFireworkBox = new BlockFireworkBox("blockFireworkBox");
|
2015-12-06 02:16:52 +01:00
|
|
|
blockMiner = new BlockMiner("blockMiner");
|
2015-12-03 20:15:07 +01:00
|
|
|
blockAtomicReconstructor = new BlockAtomicReconstructor("blockAtomicReconstructor");
|
|
|
|
blockCrystal = new BlockCrystal("blockCrystal");
|
|
|
|
blockBlackLotus = new BlockBlackLotus("blockBlackLotus");
|
2016-05-10 22:19:15 +02:00
|
|
|
blockLaserRelay = new BlockLaserRelay("blockLaserRelay", BlockLaserRelay.Type.ENERGY);
|
|
|
|
blockLaserRelayItem = new BlockLaserRelay("blockLaserRelayItem", BlockLaserRelay.Type.ITEM);
|
|
|
|
blockLaserRelayItemWhitelist = new BlockLaserRelay("blockLaserRelayItemWhitelist", BlockLaserRelay.Type.ITEM_WHITELIST);
|
2015-12-03 20:15:07 +01:00
|
|
|
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);
|
2015-12-03 20:15:07 +01:00
|
|
|
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");
|
2015-12-03 20:15:07 +01:00
|
|
|
blockPhantomBreaker = new BlockPhantom(BlockPhantom.Type.BREAKER, "blockPhantomBreaker");
|
|
|
|
blockCoalGenerator = new BlockCoalGenerator("blockCoalGenerator");
|
|
|
|
blockOilGenerator = new BlockOilGenerator("blockOilGenerator");
|
|
|
|
blockFermentingBarrel = new BlockFermentingBarrel("blockFermentingBarrel");
|
2016-01-08 15:21:05 +01:00
|
|
|
blockRice = new BlockPlant("blockRice", 1, 2);
|
2015-06-28 03:12:32 +02:00
|
|
|
CompatUtil.registerMFRPlant(blockRice);
|
2016-01-23 22:58:40 +01:00
|
|
|
blockCanola = new BlockPlant("blockCanola", 2, 3);
|
2015-06-28 03:12:32 +02:00
|
|
|
CompatUtil.registerMFRPlant(blockCanola);
|
2016-01-08 15:21:05 +01:00
|
|
|
blockFlax = new BlockPlant("blockFlax", 2, 4);
|
2015-06-28 03:12:32 +02:00
|
|
|
CompatUtil.registerMFRPlant(blockFlax);
|
2016-01-08 15:21:05 +01:00
|
|
|
blockCoffee = new BlockPlant("blockCoffee", 2, 2);
|
2015-06-28 03:12:32 +02:00
|
|
|
CompatUtil.registerMFRPlant(blockCoffee);
|
2015-12-03 20:15:07 +01:00
|
|
|
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);
|
2015-12-03 20:15:07 +01:00
|
|
|
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());
|
2015-02-17 16:15:16 +01:00
|
|
|
}
|
2015-02-20 22:45:33 +01:00
|
|
|
}
|