refactor
This commit is contained in:
@@ -11,7 +11,7 @@ public class glowBlocks {
|
||||
public static final Block GLOWSTONEWIRE = new GlowstoneWireBlock(FabricBlockSettings.of(Material.SUPPORTED).breakInstantly().noCollision().luminance(8));
|
||||
|
||||
public static void init(){
|
||||
Registry.register(Registry.BLOCK, new Identifier("glowstonedust", "glowstone_wire"), GLOWSTONEWIRE);
|
||||
Registry.register(Registry.BLOCK, new Identifier("glowstonewire", "glowstone_wire"), GLOWSTONEWIRE);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ import net.minecraft.util.registry.Registry;
|
||||
|
||||
public class glowItems {
|
||||
public static void init(){
|
||||
Registry.register(Registry.ITEM, new Identifier("glowstonedust", "glowstone_wire"), new BlockItem(glowBlocks.GLOWSTONEWIRE, new FabricItemSettings().group(ItemGroup.MISC)));
|
||||
Registry.register(Registry.ITEM, new Identifier("glowstonewire", "glowstone_wire"), new BlockItem(glowBlocks.GLOWSTONEWIRE, new FabricItemSettings().group(ItemGroup.MISC)));
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user