New lanterns
This commit is contained in:
parent
a288703f08
commit
8e181a92fd
2 changed files with 22 additions and 3 deletions
|
@ -103,7 +103,21 @@ public class CraftingRecipes {
|
||||||
GridRecipe.make("shadow_berry_seeds", EndBlocks.SHADOW_BERRY).setList("#").setOutputCount(4).addMaterial('#', EndItems.SHADOW_BERRY_RAW).build();
|
GridRecipe.make("shadow_berry_seeds", EndBlocks.SHADOW_BERRY).setList("#").setOutputCount(4).addMaterial('#', EndItems.SHADOW_BERRY_RAW).build();
|
||||||
GridRecipe.make("purple_polypore_dye", Items.PURPLE_DYE).setList("#").addMaterial('#', EndBlocks.PURPLE_POLYPORE).build();
|
GridRecipe.make("purple_polypore_dye", Items.PURPLE_DYE).setList("#").addMaterial('#', EndBlocks.PURPLE_POLYPORE).build();
|
||||||
|
|
||||||
GridRecipe.make("end_stone_lantern", EndBlocks.LANTERN_END_STONE).setShape("S", "#", "S").addMaterial('#', EndItems.CRYSTAL_SHARDS).addMaterial('S', Blocks.END_STONE_BRICK_SLAB).setGroup("end_stone_lanterns").build();
|
registerLantern("end_stone_lantern", EndBlocks.END_STONE_LANTERN, Blocks.END_STONE_BRICK_SLAB);
|
||||||
|
registerLantern("andesite_lantern", EndBlocks.ANDESITE_LANTERN, Blocks.ANDESITE_SLAB);
|
||||||
|
registerLantern("diorite_lantern", EndBlocks.DIORITE_LANTERN, Blocks.DIORITE_SLAB);
|
||||||
|
registerLantern("granite_lantern", EndBlocks.GRANITE_LANTERN, Blocks.GRANITE_SLAB);
|
||||||
|
registerLantern("quartz_lantern", EndBlocks.QUARTZ_LANTERN, Blocks.QUARTZ_SLAB);
|
||||||
|
registerLantern("purpur_lantern", EndBlocks.PURPUR_LANTERN, Blocks.PURPUR_SLAB);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void registerLantern(String name, Block lantern, Block slab) {
|
||||||
|
GridRecipe.make(name, lantern)
|
||||||
|
.setShape("S", "#", "S")
|
||||||
|
.addMaterial('#', EndItems.CRYSTAL_SHARDS)
|
||||||
|
.addMaterial('S', slab)
|
||||||
|
.setGroup("end_stone_lanterns")
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerPedestal(String name, Block pedestal, Block slab, Block pillar) {
|
public static void registerPedestal(String name, Block pedestal, Block slab, Block pillar) {
|
||||||
|
|
|
@ -157,7 +157,12 @@ public class EndBlocks {
|
||||||
public static final Block ENDER_BLOCK = registerBlock("ender_block", new EnderBlock());
|
public static final Block ENDER_BLOCK = registerBlock("ender_block", new EnderBlock());
|
||||||
public static final Block AURORA_CRYSTAL = registerBlock("aurora_crystal", new AuroraCrystalBlock());
|
public static final Block AURORA_CRYSTAL = registerBlock("aurora_crystal", new AuroraCrystalBlock());
|
||||||
|
|
||||||
public static final Block LANTERN_END_STONE = registerBlock("lantern_end_stone", new BlockStoneLantern(Blocks.END_STONE));
|
public static final Block ANDESITE_LANTERN = registerBlock("andesite_lantern", new BlockStoneLantern(Blocks.ANDESITE));
|
||||||
|
public static final Block DIORITE_LANTERN = registerBlock("diorite_lantern", new BlockStoneLantern(Blocks.DIORITE));
|
||||||
|
public static final Block GRANITE_LANTERN = registerBlock("granite_lantern", new BlockStoneLantern(Blocks.GRANITE));
|
||||||
|
public static final Block QUARTZ_LANTERN = registerBlock("quartz_lantern", new BlockStoneLantern(Blocks.QUARTZ_BLOCK));
|
||||||
|
public static final Block PURPUR_LANTERN = registerBlock("purpur_lantern", new BlockStoneLantern(Blocks.PURPUR_BLOCK));
|
||||||
|
public static final Block END_STONE_LANTERN = registerBlock("end_stone_lantern", new BlockStoneLantern(Blocks.END_STONE));
|
||||||
|
|
||||||
// Blocks With Entity //
|
// Blocks With Entity //
|
||||||
public static final Block END_STONE_SMELTER = registerBlock("end_stone_smelter", new EndStoneSmelter());
|
public static final Block END_STONE_SMELTER = registerBlock("end_stone_smelter", new EndStoneSmelter());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue