Add the player-use peripheral for CC:Tweaked #9
@ -19,7 +19,7 @@ public class ModBlocks {
|
||||
DeferredRegister.create(ForgeRegistries.BLOCKS, Utamacraft.MOD_ID);
|
||||
|
||||
public static final RegistryObject<Block> ETHEREAL_GLASS =
|
||||
registerBlock("ethereal_glass", () -> new EtherealGlass());
|
||||
registerBlock("ethereal_glass", EtherealGlass::new);
|
||||
|
||||
private static <T extends Block> RegistryObject<T> registerBlock(String name, Supplier<T> block) {
|
||||
RegistryObject<T> registered_block = BLOCKS.register(name, block);
|
||||
|
Loading…
Reference in New Issue
Block a user