Fix a mistake created by intellij.
This commit is contained in:
parent
b49809cd9a
commit
14fe3e34fb
|
|
@ -34,35 +34,35 @@ public class IronChestsBlocks {
|
|||
|
||||
public static final RegistryObject<IronChestBlock> IRON_CHEST = register(
|
||||
"iron_chest", () -> new IronChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::ironChestRenderer);
|
||||
() -> ironChestRenderer());
|
||||
|
||||
public static final RegistryObject<GoldChestBlock> GOLD_CHEST = register(
|
||||
"gold_chest", () -> new GoldChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::goldChestRenderer);
|
||||
() -> goldChestRenderer());
|
||||
|
||||
public static final RegistryObject<DiamondChestBlock> DIAMOND_CHEST = register(
|
||||
"diamond_chest", () -> new DiamondChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::diamondChestRenderer);
|
||||
() -> diamondChestRenderer());
|
||||
|
||||
public static final RegistryObject<CopperChestBlock> COPPER_CHEST = register(
|
||||
"copper_chest", () -> new CopperChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::copperChestRenderer);
|
||||
() -> copperChestRenderer());
|
||||
|
||||
public static final RegistryObject<SilverChestBlock> SILVER_CHEST = register(
|
||||
"silver_chest", () -> new SilverChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::silverChestRenderer);
|
||||
() -> silverChestRenderer());
|
||||
|
||||
public static final RegistryObject<CrystalChestBlock> CRYSTAL_CHEST = register(
|
||||
"crystal_chest", () -> new CrystalChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::crystalChestRenderer);
|
||||
() -> crystalChestRenderer());
|
||||
|
||||
public static final RegistryObject<ObsidianChestBlock> OBSIDIAN_CHEST = register(
|
||||
"obsidian_chest", () -> new ObsidianChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F, 10000.0F)),
|
||||
IronChestsBlocks::obsidianChestRenderer);
|
||||
() -> obsidianChestRenderer());
|
||||
|
||||
public static final RegistryObject<DirtChestBlock> DIRT_CHEST = register(
|
||||
"dirt_chest", () -> new DirtChestBlock(Block.Properties.create(Material.IRON).hardnessAndResistance(3.0F)),
|
||||
IronChestsBlocks::dirtChestRenderer);
|
||||
() -> dirtChestRenderer());
|
||||
|
||||
private static <T extends Block> RegistryObject<T> register(String name, Supplier<? extends T> sup, Supplier<Callable<ItemStackTileEntityRenderer>> renderMethod) {
|
||||
return register(name, sup, block -> item(block, renderMethod));
|
||||
|
|
|
|||
Loading…
Reference in New Issue