diff --git a/src/main/java/com/jingy/jineric/Blocks.java b/src/main/java/com/jingy/jineric/Blocks.java index b3a6615e..618a174d 100644 --- a/src/main/java/com/jingy/jineric/Blocks.java +++ b/src/main/java/com/jingy/jineric/Blocks.java @@ -100,6 +100,9 @@ public class Blocks { public static final Block BORITE_SLAB = register("borite_slab", new SlabBlock(FabricBlockSettings.copy(STONE))); public static final Block BORITE_WALL = register("borite_wall", new WallBlock(FabricBlockSettings.copy(STONE))); + //testing making a block + public static final Block TEST_BLOCK = register("test_block", new Block(FabricBlockSettings.copy(BLACK_WOOL))); + private static Block register(String name, Block block) { diff --git a/src/main/java/com/jingy/jineric/Items.java b/src/main/java/com/jingy/jineric/Items.java index d751ed45..a844351a 100644 --- a/src/main/java/com/jingy/jineric/Items.java +++ b/src/main/java/com/jingy/jineric/Items.java @@ -81,6 +81,9 @@ public class Items { public static final Item WAVY_SOUL_SANDSTONE_STAIRS = register("wavy_soul_sandstone_stairs", new BlockItem(Blocks.WAVY_SOUL_SANDSTONE_STAIRS, ItemSettings.BuildingBlocks().group(ItemGroups.JINERIC_BLOCKS))); public static final Item WAVY_SOUL_SANDSTONE_WALL = register("wavy_soul_sandstone_wall", new BlockItem(Blocks.WAVY_SOUL_SANDSTONE_WALL, ItemSettings.Decoration().group(ItemGroups.JINERIC_BLOCKS))); + //test block + public static final Item TEST_BLOCK = register("test_block", new BlockItem(Blocks.TEST_BLOCK, ItemSettings.BuildingBlocks().group(ItemGroups.JINERIC_BLOCKS))); + //'-ITES' //CORRITE diff --git a/src/main/resources/assets/jineric/blockstates/test_block.json b/src/main/resources/assets/jineric/blockstates/test_block.json new file mode 100644 index 00000000..a50781dc --- /dev/null +++ b/src/main/resources/assets/jineric/blockstates/test_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "jineric:block/test_block" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/jineric/lang/en_us.json b/src/main/resources/assets/jineric/lang/en_us.json index ff7b9eed..db70ae1c 100644 --- a/src/main/resources/assets/jineric/lang/en_us.json +++ b/src/main/resources/assets/jineric/lang/en_us.json @@ -48,6 +48,8 @@ "block.jineric.smooth_soul_sandstone_slab": "Smooth Soul Sandstone Slab", "block.jineric.smooth_soul_sandstone_stairs": "Smooth Soul Sandstone Stair", "block.jineric.smooth_soul_sandstone_wall": "Smooth Soul Sandstone Wall", + + "item.jineric.Test_Block": "Test Block", "itemGroup.blocks.jineric": "Jineric Blocks", diff --git a/src/main/resources/assets/jineric/models/block/test_block.json b/src/main/resources/assets/jineric/models/block/test_block.json new file mode 100644 index 00000000..cf02eb1a --- /dev/null +++ b/src/main/resources/assets/jineric/models/block/test_block.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "jineric:block/cooldevtexture" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/jineric/models/item/test_block.json b/src/main/resources/assets/jineric/models/item/test_block.json new file mode 100644 index 00000000..063a40db --- /dev/null +++ b/src/main/resources/assets/jineric/models/item/test_block.json @@ -0,0 +1,3 @@ +{ + "parent": "jineric:block/test_block" +} \ No newline at end of file diff --git a/src/main/resources/assets/jineric/textures/block/cooldevtexture.png b/src/main/resources/assets/jineric/textures/block/cooldevtexture.png new file mode 100644 index 00000000..da9e18a7 Binary files /dev/null and b/src/main/resources/assets/jineric/textures/block/cooldevtexture.png differ