mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Even more blocks
This commit is contained in:
1 parent
70c5e51df4
commit
3227e1b591
17 files changed
+253
-528
No files matched your search
@@ -29,6 +29,7 @@ import net.minecraftforge.registries.ObjectHolder;
|
||||
import vazkii.botania.api.BotaniaAPI;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.recipe.RecipeManaInfusion;
|
||||
import vazkii.botania.api.state.enums.LuminizerVariant;
|
||||
import vazkii.botania.api.subtile.SubTileEntity;
|
||||
import vazkii.botania.common.block.corporea.BlockCorporeaCrystalCube;
|
||||
import vazkii.botania.common.block.corporea.BlockCorporeaFunnel;
|
||||
@@ -315,20 +316,23 @@ public final class ModBlocks {
|
||||
public static final Block doubleFlower2 = new BlockModDoubleFlower2();
|
||||
@ObjectHolder(LibBlockNames.FAKE_AIR) public static Block fakeAir;
|
||||
@ObjectHolder(LibBlockNames.BLAZE_BLOCK) public static Block blazeBlock;
|
||||
public static final Block corporeaInterceptor = new BlockCorporeaInterceptor(Block.Builder.create(Material.IRON).hardnessAndResistance(5.5F).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CORPOREA_INTERCEPTOR);
|
||||
public static final Block corporeaCrystalCube = new BlockCorporeaCrystalCube(Block.Builder.create(Material.IRON).hardnessAndResistance(5.5F).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CORPOREA_CRYSTAL_CUBE);
|
||||
public static final Block incensePlate = new BlockIncensePlate();
|
||||
public static final Block hourglass = new BlockHourglass();
|
||||
public static final Block ghostRail = new BlockGhostRail();
|
||||
public static final Block sparkChanger = new BlockSparkChanger();
|
||||
public static final Block root = new BlockRoot();
|
||||
public static final Block felPumpkin = new BlockFelPumpkin();
|
||||
public static final Block cocoon = new BlockCocoon();
|
||||
public static final Block lightRelay = new BlockLightRelay();
|
||||
public static final Block lightLauncher = new BlockLightLauncher();
|
||||
public static final Block manaBomb = new BlockManaBomb();
|
||||
public static final Block cacophonium = new BlockCacophonium();
|
||||
public static final Block bellows = new BlockBellows();
|
||||
@ObjectHolder(LibBlockNames.CORPOREA_INTERCEPTOR) public static Block corporeaInterceptor;
|
||||
@ObjectHolder(LibBlockNames.CORPOREA_CRYSTAL_CUBE) public static Block corporeaCrystalCube;
|
||||
@ObjectHolder(LibBlockNames.INCENSE_PLATE) public static Block incensePlate;
|
||||
@ObjectHolder(LibBlockNames.HOURGLASS) public static Block hourglass;
|
||||
@ObjectHolder(LibBlockNames.GHOST_RAIL) public static Block ghostRail;
|
||||
@ObjectHolder(LibBlockNames.SPARK_CHANGER) public static Block sparkChanger;
|
||||
@ObjectHolder(LibBlockNames.ROOT) public static Block root;
|
||||
@ObjectHolder(LibBlockNames.FEL_PUMPKIN) public static Block felPumpkin;
|
||||
@ObjectHolder(LibBlockNames.COCOON) public static Block cocoon;
|
||||
@ObjectHolder(LibBlockNames.LIGHT_RELAY) public static Block lightRelayDefault;
|
||||
@ObjectHolder("detector" + LibBlockNames.LIGHT_RELAY_SUFFIX) public static Block lightRelayDetector;
|
||||
@ObjectHolder("toggle" + LibBlockNames.LIGHT_RELAY_SUFFIX) public static Block lightRelayToggle;
|
||||
@ObjectHolder("fork" + LibBlockNames.LIGHT_RELAY_SUFFIX) public static Block lightRelayFork;
|
||||
@ObjectHolder(LibBlockNames.LIGHT_LAUNCHER) public static Block lightLauncher;
|
||||
@ObjectHolder(LibBlockNames.MANA_BOMB) public static Block manaBomb;
|
||||
@ObjectHolder(LibBlockNames.CACOPHONIUM) public static Block cacophonium;
|
||||
@ObjectHolder(LibBlockNames.BELLOWS) public static Block bellows;
|
||||
@ObjectHolder(LibBlockNames.BIFROST_PERM) public static Block bifrostPerm;
|
||||
@ObjectHolder(LibBlockNames.CELL_BLOCK) public static Block cellBlock;
|
||||
@ObjectHolder(LibBlockNames.RED_STRING_INTERCEPTOR) public static Block redStringInterceptor;
|
||||
@@ -514,20 +518,26 @@ public final class ModBlocks {
|
||||
r.register(new BlockFakeAir(Block.Builder.create(Material.STRUCTURE_VOID).needsRandomTick()).setRegistryName(LibMisc.MOD_ID, LibBlockNames.FAKE_AIR));
|
||||
r.register(new BlockModLexiconable(Block.Builder.create(Material.IRON).hardnessAndResistance(3, 10).sound(SoundType.METAL).lightValue(15), (w, po, pl, st) -> LexiconData.blazeBlock)
|
||||
.setRegistryName(LibMisc.MOD_ID, LibBlockNames.BLAZE_BLOCK));
|
||||
r.register(corporeaInterceptor);
|
||||
r.register(corporeaCrystalCube);
|
||||
r.register(incensePlate);
|
||||
r.register(hourglass);
|
||||
r.register(ghostRail);
|
||||
r.register(sparkChanger);
|
||||
r.register(root);
|
||||
r.register(felPumpkin);
|
||||
r.register(cocoon);
|
||||
r.register(lightRelay);
|
||||
r.register(lightLauncher);
|
||||
r.register(manaBomb);
|
||||
r.register(cacophonium);
|
||||
r.register(bellows);
|
||||
r.register(new BlockCorporeaInterceptor(Block.Builder.create(Material.IRON).hardnessAndResistance(5.5F).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CORPOREA_INTERCEPTOR));
|
||||
r.register(new BlockCorporeaCrystalCube(Block.Builder.create(Material.IRON).hardnessAndResistance(5.5F).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CORPOREA_CRYSTAL_CUBE));
|
||||
r.register(new BlockIncensePlate(Block.Builder.create(Material.WOOD).hardnessAndResistance(2).sound(SoundType.WOOD)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.INCENSE_PLATE));
|
||||
r.register(new BlockHourglass(Block.Builder.create(Material.IRON).hardnessAndResistance(2).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.HOURGLASS));
|
||||
r.register(new BlockGhostRail(Block.Builder.create(Material.CIRCUITS).doesNotBlockMovement().hardnessAndResistance(0.7F).sound(SoundType.METAL)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.GHOST_RAIL));
|
||||
r.register(new BlockSparkChanger(Block.Builder.create(Material.ROCK).hardnessAndResistance(2, 10).sound(SoundType.STONE)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.SPARK_CHANGER));
|
||||
r.register(new BlockRoot(Block.Builder.create(Material.PLANTS).hardnessAndResistance(1.2F).sound(SoundType.WOOD)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.ROOT));
|
||||
r.register(new BlockFelPumpkin(Block.Builder.from(Blocks.CARVED_PUMPKIN)));
|
||||
r.register(new BlockCocoon(Block.Builder.create(Material.CLOTH).hardnessAndResistance(3, 60).sound(SoundType.CLOTH)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.COCOON));
|
||||
|
||||
builder = Block.Builder.create(Material.GLASS).doesNotBlockMovement();
|
||||
r.register(new BlockLightRelay(LuminizerVariant.DEFAULT, builder).setRegistryName(LibMisc.MOD_ID, LibBlockNames.LIGHT_RELAY));
|
||||
r.register(new BlockLightRelay(LuminizerVariant.DETECTOR, builder).setRegistryName(LibMisc.MOD_ID, "detector" + LibBlockNames.LIGHT_RELAY_SUFFIX));
|
||||
r.register(new BlockLightRelay(LuminizerVariant.FORK, builder).setRegistryName(LibMisc.MOD_ID, "fork" + LibBlockNames.LIGHT_RELAY_SUFFIX));
|
||||
r.register(new BlockLightRelay(LuminizerVariant.TOGGLE, builder).setRegistryName(LibMisc.MOD_ID, "toggle" + LibBlockNames.LIGHT_RELAY_SUFFIX));
|
||||
|
||||
r.register(new BlockLightLauncher(Block.Builder.create(Material.WOOD).hardnessAndResistance(2).sound(SoundType.WOOD)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.LIGHT_LAUNCHER));
|
||||
r.register(new BlockManaBomb(Block.Builder.create(Material.WOOD).hardnessAndResistance(12).sound(SoundType.WOOD)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.MANA_BOMB));
|
||||
r.register(new BlockCacophonium(Block.Builder.create(Material.WOOD).hardnessAndResistance(0.8F)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CACOPHONIUM));
|
||||
r.register(new BlockBellows(Block.Builder.create(Material.WOOD).hardnessAndResistance(2).sound(SoundType.WOOD)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.BELLOWS));
|
||||
r.register(new BlockBifrostPerm(Block.Builder.create(Material.GLASS).hardnessAndResistance(0.3F).lightValue(15).sound(SoundType.GLASS)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.BIFROST_PERM));
|
||||
r.register(new BlockCell(Block.Builder.create(Material.GOURD).sound(SoundType.CLOTH)).setRegistryName(LibMisc.MOD_ID, LibBlockNames.CELL_BLOCK));
|
||||
r.register(new BlockGaiaHead(Block.Builder.create(Material.CIRCUITS).hardnessAndResistance(1)));
|
||||
|
||||
Reference in new issue
Block a user