diff --git a/src/main/java/com/progwml6/ironchest/common/block/IronChestsBlocks.java b/src/main/java/com/progwml6/ironchest/common/block/IronChestsBlocks.java index 78dff89..6ecf7cc 100644 --- a/src/main/java/com/progwml6/ironchest/common/block/IronChestsBlocks.java +++ b/src/main/java/com/progwml6/ironchest/common/block/IronChestsBlocks.java @@ -34,35 +34,35 @@ public class IronChestsBlocks { public static final RegistryObject IRON_CHEST = register( "iron_chest", () -> new IronChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::ironChestRenderer); + () -> ironChestRenderer()); public static final RegistryObject GOLD_CHEST = register( "gold_chest", () -> new GoldChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::goldChestRenderer); + () -> goldChestRenderer()); public static final RegistryObject DIAMOND_CHEST = register( "diamond_chest", () -> new DiamondChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::diamondChestRenderer); + () -> diamondChestRenderer()); public static final RegistryObject COPPER_CHEST = register( "copper_chest", () -> new CopperChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::copperChestRenderer); + () -> copperChestRenderer()); public static final RegistryObject SILVER_CHEST = register( "silver_chest", () -> new SilverChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::silverChestRenderer); + () -> silverChestRenderer()); public static final RegistryObject CRYSTAL_CHEST = register( "crystal_chest", () -> new CrystalChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::crystalChestRenderer); + () -> crystalChestRenderer()); public static final RegistryObject OBSIDIAN_CHEST = register( "obsidian_chest", () -> new ObsidianChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F, 10000.0F)), - IronChestsBlocks::obsidianChestRenderer); + () -> obsidianChestRenderer()); public static final RegistryObject DIRT_CHEST = register( "dirt_chest", () -> new DirtChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)), - IronChestsBlocks::dirtChestRenderer); + () -> dirtChestRenderer()); private static RegistryObject register(String name, Supplier sup, Supplier> renderMethod) { return register(name, sup, block -> item(block, renderMethod));