added diamond and deepslate diamond ore ore

This commit is contained in:
Jonas_Jones 2023-04-04 23:19:13 +02:00
parent c515678bcd
commit fc2d731707
7 changed files with 46 additions and 0 deletions

View file

@ -15,11 +15,17 @@ public class ModBlocks {
public static final Block GREEN_BIRCH_LOG = new PillarBlock(FabricBlockSettings.of(Material.WOOD).strength(4.0f));
public static final Block BLAZE_BLOCK = new Block(FabricBlockSettings.of(Material.STONE).strength(4.0F));
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));
private static BlockItem GUN_BLOCK_ITEM;
private static Block GUN_BLOCK_BLOCK;
private static BlockItem BLAZE_BLOCK_ITEM;
private static Block BLAZE_BLOCK_BLOCK;
public static Block GREEEN_BIRCH_LOG_BLOCK;
public static BlockItem DIAMOND_ORE_ORE_ITEM;
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 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));
@ -37,5 +43,13 @@ public class ModBlocks {
GUN_BLOCK_BLOCK = Registry.register(Registries.BLOCK, new Identifier("nec", "gun_block"), GUN_BLOCK);
GUN_BLOCK_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "gun_block"), new BlockItem(GUN_BLOCK, new FabricItemSettings()));
ModRegistries.register_item(GUN_BLOCK_ITEM);
DIAMOND_ORE_ORE_BLOCK = Registry.register(Registries.BLOCK, new Identifier("nec", "diamond_ore_ore"), DIAMOND_ORE_ORE);
DIAMOND_ORE_ORE_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "diamond_ore_ore"), new BlockItem(DIAMOND_ORE_ORE, new FabricItemSettings()));
ModRegistries.register_item(DIAMOND_ORE_ORE_ITEM);
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);
}
}

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "nec:block/deepslate_diamond_ore_ore"
}
}
}

View file

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "nec:block/diamond_ore_ore"
}
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "nec:block/deepslate_diamond_ore_ore"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "nec:block/diamond_ore_ore"
}
}

View file

@ -0,0 +1,3 @@
{
"parent": "nec:block/deepslate_diamond_ore_ore"
}

View file

@ -0,0 +1,3 @@
{
"parent": "nec:block/diamond_ore_ore"
}