mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 20:49:19 +02:00
added java block
This commit is contained in:
parent
155bec7730
commit
ccd98528cc
5 changed files with 23 additions and 0 deletions
|
@ -17,6 +17,7 @@ public class ModBlocks {
|
|||
public static final Block GUN_BLOCK = new Block(FabricBlockSettings.of(Material.STONE).strength(4.0F));
|
||||
public static final Block DIAMOND_ORE_ORE = new Block(FabricBlockSettings.of(Material.STONE).strength(4.0F));
|
||||
public static final Block DEEPSLATE_DIAMOND_ORE_ORE = new Block(FabricBlockSettings.of(Material.STONE).strength(4.0F));
|
||||
public static final Block JAVA_BLOCK = new Block(FabricBlockSettings.of(Material.STONE).strength(5.0F));
|
||||
private static BlockItem GUN_BLOCK_ITEM;
|
||||
private static Block GUN_BLOCK_BLOCK;
|
||||
private static BlockItem BLAZE_BLOCK_ITEM;
|
||||
|
@ -26,6 +27,8 @@ public class ModBlocks {
|
|||
public static Block DIAMOND_ORE_ORE_BLOCK;
|
||||
public static BlockItem DEEPSLATE_DIAMOND_ORE_ORE_ITEM;
|
||||
public static Block DEEPSLATE_DIAMOND_ORE_ORE_BLOCK;
|
||||
public static BlockItem JAVA_BLOCK_ITEM;
|
||||
public static Block JAVA_BLOCK_BLOCK;
|
||||
public static BlockItem GREEN_BIRCH_LOG_ITEM;
|
||||
//public static final Block GREEN_BIRCH_WOOD = new PillarBlock(FabricBlockSettings.of(Material.WOOD).strength(4.0f));
|
||||
//public static final Block STRIPPED_GREEN_BIRCH_LOG = new PillarBlock(FabricBlockSettings.of(Material.WOOD).strength(4.0f));
|
||||
|
@ -51,5 +54,9 @@ public class ModBlocks {
|
|||
DEEPSLATE_DIAMOND_ORE_ORE_BLOCK = Registry.register(Registries.BLOCK, new Identifier("nec", "deepslate_diamond_ore_ore"), DEEPSLATE_DIAMOND_ORE_ORE);
|
||||
DEEPSLATE_DIAMOND_ORE_ORE_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "deepslate_diamond_ore_ore"), new BlockItem(DEEPSLATE_DIAMOND_ORE_ORE, new FabricItemSettings()));
|
||||
ModRegistries.register_item(DEEPSLATE_DIAMOND_ORE_ORE_ITEM);
|
||||
|
||||
JAVA_BLOCK_BLOCK = Registry.register(Registries.BLOCK, new Identifier("nec", "java_block"), JAVA_BLOCK);
|
||||
JAVA_BLOCK_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "java_block"), new BlockItem(JAVA_BLOCK, new FabricItemSettings()));
|
||||
ModRegistries.register_item(JAVA_BLOCK_ITEM);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue