mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-25 16:38:33 +01:00
Ported the block registry to Deferred Registry
This commit is contained in:
parent
99b7e0bf43
commit
0b964b4c89
1 changed files with 291 additions and 193 deletions
|
@ -1,208 +1,306 @@
|
||||||
package de.ellpeck.actuallyadditions.mod.blocks;
|
package de.ellpeck.actuallyadditions.mod.blocks;
|
||||||
|
|
||||||
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.BlockLaserRelay.Type;
|
|
||||||
import de.ellpeck.actuallyadditions.mod.blocks.base.BlockPlant;
|
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.blocks.metalists.TheMiscBlocks;
|
||||||
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
import de.ellpeck.actuallyadditions.mod.items.metalists.TheCrystals;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.StairsBlock;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraftforge.fml.RegistryObject;
|
||||||
|
import net.minecraftforge.registries.DeferredRegister;
|
||||||
|
import net.minecraftforge.registries.ForgeRegistries;
|
||||||
|
|
||||||
public final class InitBlocks {
|
public final class InitBlocks {
|
||||||
|
|
||||||
public static Block blockCompost;
|
public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, ActuallyAdditions.MODID);
|
||||||
public static Block blockMisc;
|
|
||||||
public static Block blockWildPlant;
|
public static final RegistryObject<Block> blockCrystalClusterRedstone
|
||||||
public static Block blockFeeder;
|
= BLOCKS.register("block_crystal_cluster_redstone", () -> new BlockCrystalCluster(TheCrystals.REDSTONE);
|
||||||
public static Block blockGiantChest;
|
|
||||||
public static Block blockGiantChestMedium;
|
public static final RegistryObject<Block> blockCrystalClusterLapis
|
||||||
public static Block blockGiantChestLarge;
|
= BLOCKS.register("block_crystal_cluster_lapis", () -> new BlockCrystalCluster(TheCrystals.LAPIS);
|
||||||
public static Block blockGrinder;
|
|
||||||
public static Block blockGrinderDouble;
|
public static final RegistryObject<Block> blockCrystalClusterDiamond
|
||||||
public static Block blockFurnaceDouble;
|
= BLOCKS.register("block_crystal_cluster_diamond", () -> new BlockCrystalCluster(TheCrystals.DIAMOND);
|
||||||
public static Block blockInputter;
|
|
||||||
public static Block blockInputterAdvanced;
|
public static final RegistryObject<Block> blockCrystalClusterCoal
|
||||||
public static Block blockFishingNet;
|
= BLOCKS.register("block_crystal_cluster_coal", () -> new BlockCrystalCluster(TheCrystals.COAL);
|
||||||
public static Block blockFurnaceSolar;
|
|
||||||
public static Block blockHeatCollector;
|
public static final RegistryObject<Block> blockCrystalClusterEmerald
|
||||||
public static Block blockItemRepairer;
|
= BLOCKS.register("block_crystal_cluster_emerald", () -> new BlockCrystalCluster(TheCrystals.EMERALD);
|
||||||
public static Block blockGreenhouseGlass;
|
|
||||||
public static Block blockBreaker;
|
public static final RegistryObject<Block> blockCrystalClusterIron
|
||||||
public static Block blockPlacer;
|
= BLOCKS.register("block_crystal_cluster_iron", () -> new BlockCrystalCluster(TheCrystals.IRON);
|
||||||
public static Block blockDropper;
|
|
||||||
public static Block blockRice;
|
public static final RegistryObject<Block> blockBatteryBox
|
||||||
public static Block blockCanola;
|
= BLOCKS.register("block_battery_box", BlockBatteryBox::new);
|
||||||
public static Block blockFlax;
|
|
||||||
public static Block blockCoffee;
|
public static final RegistryObject<Block> blockItemViewerHopping
|
||||||
public static Block blockCanolaPress;
|
= BLOCKS.register("block_item_viewer_hopping", BlockItemViewerHopping::new);
|
||||||
public static Block blockFermentingBarrel;
|
|
||||||
public static Block blockCoalGenerator;
|
public static final RegistryObject<Block> blockFarmer
|
||||||
public static Block blockOilGenerator;
|
= BLOCKS.register("block_farmer", BlockFarmer::new);
|
||||||
public static Block blockPhantomface;
|
|
||||||
public static Block blockPhantomPlacer;
|
public static final RegistryObject<Block> blockBioReactor
|
||||||
public static Block blockPhantomBreaker;
|
= BLOCKS.register("block_bio_reactor", BlockBioReactor::new);
|
||||||
public static Block blockPhantomLiquiface;
|
|
||||||
public static Block blockPhantomEnergyface;
|
public static final RegistryObject<Block> blockEmpowerer
|
||||||
public static Block blockPhantomRedstoneface;
|
= BLOCKS.register("block_empowerer", BlockEmpowerer::new);
|
||||||
public static Block blockPlayerInterface;
|
|
||||||
public static Block blockFluidPlacer;
|
public static final RegistryObject<Block> blockTinyTorch
|
||||||
public static Block blockFluidCollector;
|
= BLOCKS.register("block_tiny_torch", BlockTinyTorch::new);
|
||||||
public static Block blockLavaFactoryController;
|
|
||||||
public static Block blockCoffeeMachine;
|
public static final RegistryObject<Block> blockShockSuppressor
|
||||||
public static Block blockPhantomBooster;
|
= BLOCKS.register("block_shock_suppressor", BlockShockSuppressor::new);
|
||||||
public static Block blockEnergizer;
|
|
||||||
public static Block blockEnervator;
|
public static final RegistryObject<Block> blockDisplayStand
|
||||||
public static Block blockTestifiBucksGreenWall;
|
= BLOCKS.register("block_display_stand", BlockDisplayStand::new);
|
||||||
public static Block blockTestifiBucksWhiteWall;
|
|
||||||
public static Block blockTestifiBucksGreenStairs;
|
public static final RegistryObject<Block> blockPlayerInterface
|
||||||
public static Block blockTestifiBucksWhiteStairs;
|
= BLOCKS.register("block_player_interface", BlockPlayerInterface::new);
|
||||||
public static Block blockTestifiBucksGreenSlab;
|
|
||||||
public static Block blockTestifiBucksWhiteSlab;
|
public static final RegistryObject<Block> blockItemViewer
|
||||||
public static Block blockTestifiBucksGreenFence;
|
= BLOCKS.register("block_item_viewer", BlockItemViewer::new);
|
||||||
public static Block blockTestifiBucksWhiteFence;
|
|
||||||
public static Block blockColoredLamp;
|
public static final RegistryObject<Block> blockFireworkBox
|
||||||
public static Block blockColoredLampOn;
|
= BLOCKS.register("block_firework_box", BlockFireworkBox::new);
|
||||||
public static Block blockLampPowerer;
|
|
||||||
public static Block blockTreasureChest;
|
public static final RegistryObject<Block> blockMiner
|
||||||
public static Block blockXPSolidifier;
|
= BLOCKS.register("block_miner", BlockMiner::new);
|
||||||
public static Block blockSmileyCloud;
|
|
||||||
public static Block blockLeafGenerator;
|
public static final RegistryObject<Block> blockAtomicReconstructor
|
||||||
public static Block blockDirectionalBreaker;
|
= BLOCKS.register("block_atomic_reconstructor", BlockAtomicReconstructor::new);
|
||||||
public static Block blockRangedCollector;
|
|
||||||
public static Block blockLaserRelay;
|
public static final RegistryObject<Block> blockCrystal
|
||||||
public static Block blockLaserRelayAdvanced;
|
= BLOCKS.register("block_crystal", () -> new BlockCrystal(false));
|
||||||
public static Block blockLaserRelayExtreme;
|
|
||||||
public static Block blockLaserRelayFluids;
|
public static final RegistryObject<Block> blockCrystalEmpowered
|
||||||
public static Block blockLaserRelayItem;
|
= BLOCKS.register("block_crystal_empowered", () -> new BlockCrystal(true));
|
||||||
public static Block blockLaserRelayItemWhitelist;
|
|
||||||
public static Block blockItemViewer;
|
public static final RegistryObject<Block> blockBlackLotus
|
||||||
public static Block blockItemViewerHopping;
|
= BLOCKS.register("block_black_lotus", BlockBlackLotus::new);
|
||||||
public static Block blockBlackLotus;
|
|
||||||
public static Block blockCrystal;
|
public static final RegistryObject<Block> blockLaserRelay
|
||||||
public static Block blockCrystalEmpowered;
|
= BLOCKS.register("block_laser_relay", () -> new BlockLaserRelay(Type.ENERGY_BASIC));
|
||||||
public static Block blockAtomicReconstructor;
|
|
||||||
public static Block blockMiner;
|
public static final RegistryObject<Block> blockLaserRelayAdvanced
|
||||||
public static Block blockFireworkBox;
|
= BLOCKS.register("block_laser_relay_advanced", () -> new BlockLaserRelay(Type.ENERGY_ADVANCED));
|
||||||
public static Block blockQuartzWall;
|
|
||||||
public static Block blockQuartzStair;
|
public static final RegistryObject<Block> blockLaserRelayExtreme
|
||||||
public static Block blockQuartzSlab;
|
= BLOCKS.register("block_laser_relay_extreme", () -> new BlockLaserRelay(Type.ENERGY_EXTREME));
|
||||||
public static Block blockChiseledQuartzWall;
|
|
||||||
public static Block blockChiseledQuartzStair;
|
public static final RegistryObject<Block> blockLaserRelayFluids
|
||||||
public static Block blockChiseledQuartzSlab;
|
= BLOCKS.register("block_laser_relay_fluids", () -> new BlockLaserRelay(Type.FLUIDS));
|
||||||
public static Block blockPillarQuartzWall;
|
|
||||||
public static Block blockPillarQuartzStair;
|
public static final RegistryObject<Block> blockLaserRelayItem
|
||||||
public static Block blockPillarQuartzSlab;
|
= BLOCKS.register("block_laser_relay_item", () -> new BlockLaserRelay(Type.ITEM));
|
||||||
public static Block blockDisplayStand;
|
|
||||||
public static Block blockShockSuppressor;
|
public static final RegistryObject<Block> blockLaserRelayItemWhitelist
|
||||||
public static Block blockEmpowerer;
|
= BLOCKS.register("block_laser_relay_item_whitelist", () -> new BlockLaserRelay(Type.ITEM_WHITELIST));
|
||||||
public static Block blockBioReactor;
|
|
||||||
public static Block blockTinyTorch;
|
public static final RegistryObject<Block> blockRangedCollector
|
||||||
public static Block blockFarmer;
|
= BLOCKS.register("block_ranged_collector", BlockRangedCollector::new);
|
||||||
public static Block blockBatteryBox;
|
|
||||||
public static Block blockCrystalClusterRedstone;
|
public static final RegistryObject<Block> blockDirectionalBreaker
|
||||||
public static Block blockCrystalClusterLapis;
|
= BLOCKS.register("block_directional_breaker", BlockDirectionalBreaker::new);
|
||||||
public static Block blockCrystalClusterDiamond;
|
|
||||||
public static Block blockCrystalClusterCoal;
|
public static final RegistryObject<Block> blockLeafGenerator
|
||||||
public static Block blockCrystalClusterEmerald;
|
= BLOCKS.register("block_leaf_generator", BlockLeafGenerator::new);
|
||||||
public static Block blockCrystalClusterIron;
|
|
||||||
|
public static final RegistryObject<Block> blockSmileyCloud
|
||||||
|
= BLOCKS.register("block_smiley_cloud", BlockSmileyCloud::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockXPSolidifier
|
||||||
|
= BLOCKS.register("block_xp_solidifier", BlockXPSolidifier::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksGreenWall
|
||||||
|
= BLOCKS.register("block_testifi_bucks_green_wall", BlockGeneric::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksWhiteWall
|
||||||
|
= BLOCKS.register("block_testifi_bucks_white_wall", BlockGeneric::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksGreenStairs
|
||||||
|
= BLOCKS.register("block_testifi_bucks_green_stairs", () -> new StairsBlock(() -> blockTestifiBucksGreenWall.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksWhiteStairs
|
||||||
|
= BLOCKS.register("block_testifi_bucks_white_stairs", () -> new StairsBlock(() -> blockTestifiBucksWhiteWall.get().getDefaultState(), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksGreenSlab
|
||||||
|
= BLOCKS.register("block_testifi_bucks_green_slab", () -> new BlockSlabs("block_testifi_bucks_green_slab", blockTestifiBucksGreenWall);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksWhiteSlab
|
||||||
|
= BLOCKS.register("block_testifi_bucks_white_slab", () -> new BlockSlabs("block_testifi_bucks_white_slab", blockTestifiBucksWhiteWall);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksGreenFence
|
||||||
|
= BLOCKS.register("block_testifi_bucks_green_fence", () -> new BlockWallAA("block_testifi_bucks_green_fence", blockTestifiBucksGreenWall);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTestifiBucksWhiteFence
|
||||||
|
= BLOCKS.register("block_testifi_bucks_white_fence", () -> new BlockWallAA("block_testifi_bucks_white_fence", blockTestifiBucksWhiteWall);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockColoredLamp
|
||||||
|
= BLOCKS.register("block_colored_lamp", () -> new BlockColoredLamp(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockColoredLampOn
|
||||||
|
= BLOCKS.register("block_colored_lamp_on", () -> new BlockColoredLamp(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockLampPowerer
|
||||||
|
= BLOCKS.register("block_lamp_powerer", BlockLampPowerer::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockTreasureChest
|
||||||
|
= BLOCKS.register("block_treasure_chest", BlockTreasureChest::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockEnergizer
|
||||||
|
= BLOCKS.register("block_energizer", () -> new BlockEnergizer(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockEnervator
|
||||||
|
= BLOCKS.register("block_enervator", () -> new BlockEnergizer(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockLavaFactoryController
|
||||||
|
= BLOCKS.register("block_lava_factory_controller", BlockLavaFactoryController::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCanolaPress
|
||||||
|
= BLOCKS.register("block_canola_press", BlockCanolaPress::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomface
|
||||||
|
= BLOCKS.register("block_phantomface", () -> new BlockPhantom(BlockPhantom.Type.FACE));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomPlacer
|
||||||
|
= BLOCKS.register("block_phantom_placer", () -> new BlockPhantom(BlockPhantom.Type.PLACER));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomLiquiface
|
||||||
|
= BLOCKS.register("block_phantom_liquiface", () -> new BlockPhantom(BlockPhantom.Type.LIQUIFACE));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomEnergyface
|
||||||
|
= BLOCKS.register("block_phantom_energyface", () -> new BlockPhantom(BlockPhantom.Type.ENERGYFACE));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomRedstoneface
|
||||||
|
= BLOCKS.register("block_phantom_redstoneface", () -> new BlockPhantom(BlockPhantom.Type.REDSTONEFACE));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomBreaker
|
||||||
|
= BLOCKS.register("block_phantom_breaker", () -> new BlockPhantom(BlockPhantom.Type.BREAKER));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCoalGenerator
|
||||||
|
= BLOCKS.register("block_coal_generator", BlockCoalGenerator::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockOilGenerator
|
||||||
|
= BLOCKS.register("block_oil_generator", BlockOilGenerator::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFermentingBarrel
|
||||||
|
= BLOCKS.register("block_fermenting_barrel", BlockFermentingBarrel::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockRice
|
||||||
|
= BLOCKS.register("block_rice", () -> new BlockPlant(1, 2));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCanola
|
||||||
|
= BLOCKS.register("block_canola", () -> new BlockPlant(2, 3));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFlax
|
||||||
|
= BLOCKS.register("block_flax", () -> new BlockPlant(2, 4));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCoffee
|
||||||
|
= BLOCKS.register("block_coffee", () -> new BlockPlant(2, 2));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCompost
|
||||||
|
= BLOCKS.register("block_compost", BlockCompost::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockMisc
|
||||||
|
= BLOCKS.register("block_misc", BlockMisc::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFeeder
|
||||||
|
= BLOCKS.register("block_feeder", BlockFeeder::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGiantChest
|
||||||
|
= BLOCKS.register("block_giant_chest", BlockGiantChest::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGiantChestMedium
|
||||||
|
= BLOCKS.register("block_giant_chest_medium", BlockGiantChest::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGiantChestLarge
|
||||||
|
= BLOCKS.register("block_giant_chest_large", BlockGiantChest::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGrinder
|
||||||
|
= BLOCKS.register("block_grinder", () -> new BlockGrinder(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGrinderDouble
|
||||||
|
= BLOCKS.register("block_grinder_double", () -> new BlockGrinder(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFurnaceDouble
|
||||||
|
= BLOCKS.register("block_furnace_double", BlockFurnaceDouble::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockInputter
|
||||||
|
= BLOCKS.register("block_inputter", () -> new BlockInputter(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockInputterAdvanced
|
||||||
|
= BLOCKS.register("block_inputter_advanced", () -> new BlockInputter(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFishingNet
|
||||||
|
= BLOCKS.register("block_fishing_net", BlockFishingNet::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFurnaceSolar
|
||||||
|
= BLOCKS.register("block_furnace_solar", BlockFurnaceSolar::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockHeatCollector
|
||||||
|
= BLOCKS.register("block_heat_collector", BlockHeatCollector::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockItemRepairer
|
||||||
|
= BLOCKS.register("block_item_repairer", BlockItemRepairer::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockGreenhouseGlass
|
||||||
|
= BLOCKS.register("block_greenhouse_glass", BlockGreenhouseGlass::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockBreaker
|
||||||
|
= BLOCKS.register("block_breaker", () -> new BlockBreaker(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPlacer
|
||||||
|
= BLOCKS.register("block_placer", () -> new BlockBreaker(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockDropper
|
||||||
|
= BLOCKS.register("block_dropper", BlockDropper::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFluidPlacer
|
||||||
|
= BLOCKS.register("block_fluid_placer", () -> new BlockFluidCollector(true));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockFluidCollector
|
||||||
|
= BLOCKS.register("block_fluid_collector", () -> new BlockFluidCollector(false));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockCoffeeMachine
|
||||||
|
= BLOCKS.register("block_coffee_machine", BlockCoffeeMachine::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPhantomBooster
|
||||||
|
= BLOCKS.register("block_phantom_booster", BlockPhantomBooster::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockWildPlant
|
||||||
|
= BLOCKS.register("block_wild", BlockWildPlant::new);
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockQuartzWall
|
||||||
|
= BLOCKS.register("block_quartz_wall", () -> new BlockWallAA(blockMisc));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockChiseledQuartzWall
|
||||||
|
= BLOCKS.register("block_chiseled_quartz_wall", () -> new BlockWallAA(blockMisc));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPillarQuartzWall
|
||||||
|
= BLOCKS.register("block_pillar_quartz_wall", () -> new BlockWallAA(blockMisc));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockQuartzStair
|
||||||
|
= BLOCKS.register("block_quartz_stair", () -> new StairsBlock(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockChiseledQuartzStair
|
||||||
|
= BLOCKS.register("block_chiseled_quartz_stair", () -> new StairsBlock(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_CHISELED), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPillarQuartzStair
|
||||||
|
= BLOCKS.register("block_pillar_quartz_stair", () -> new StairsBlock(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_PILLAR), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockQuartzSlab
|
||||||
|
= BLOCKS.register("block_quartz_slab", () -> new BlockSlabs(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockChiseledQuartzSlab
|
||||||
|
= BLOCKS.register("block_chiseled_quartz_slab", () -> new BlockSlabs(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_CHISELED), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
|
public static final RegistryObject<Block> blockPillarQuartzSlab
|
||||||
|
= BLOCKS.register("block_pillar_quartz_slab", () -> new BlockSlabs(blockMisc.get().getDefaultState().with(BlockMisc.TYPE, TheMiscBlocks.QUARTZ_PILLAR), Block.Properties.create(Material.ROCK)));
|
||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
ActuallyAdditions.LOGGER.info("Initializing Blocks...");
|
ActuallyAdditions.LOGGER.info("Initializing Blocks...");
|
||||||
|
|
||||||
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);
|
|
||||||
blockBatteryBox = new BlockBatteryBox("block_battery_box");
|
|
||||||
blockItemViewerHopping = new BlockItemViewerHopping("block_item_viewer_hopping");
|
|
||||||
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");
|
|
||||||
blockQuartzWall = new BlockWallAA("block_quartz_wall", blockMisc);
|
|
||||||
blockChiseledQuartzWall = new BlockWallAA("block_chiseled_quartz_wall", blockMisc);
|
|
||||||
blockPillarQuartzWall = new BlockWallAA("block_pillar_quartz_wall", blockMisc);
|
|
||||||
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));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue