diff --git a/src/main/java/com/skytech/cubenetcore/CubeNetCore.java b/src/main/java/com/skytech/cubenetcore/CubeNetCore.java index ba1ecb5..7294329 100644 --- a/src/main/java/com/skytech/cubenetcore/CubeNetCore.java +++ b/src/main/java/com/skytech/cubenetcore/CubeNetCore.java @@ -46,6 +46,15 @@ public class CubeNetCore { public static final DeferredBlock TERRAIN_BLOCK = BLOCKS.registerSimpleBlock("terrain_block", BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_GREEN)); public static final DeferredItem TERRAIN_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("terrain_block", TERRAIN_BLOCK); + public static final DeferredBlock PAPER2_BLOCK = BLOCKS.register("paper2_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion())); + public static final DeferredItem PAPER2_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper2_block", PAPER2_BLOCK); + + public static final DeferredBlock PAPER3_BLOCK = BLOCKS.register("paper3_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion())); + public static final DeferredItem PAPER3_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper3_block", PAPER3_BLOCK); + + public static final DeferredBlock PAPER4_BLOCK = BLOCKS.register("paper4_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion())); + public static final DeferredItem PAPER4_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper4_block", PAPER4_BLOCK); + public static final DeferredItem PAPER2 = ITEMS.registerSimpleItem("paper2"); public static final DeferredItem PAPER3 = ITEMS.registerSimpleItem("paper3"); public static final DeferredItem PAPER4 = ITEMS.registerSimpleItem("paper4"); @@ -58,6 +67,9 @@ public class CubeNetCore { output.accept(SKYTECH_BLOCK_ITEM.get()); output.accept(GRASS_BLOCK_ITEM.get()); output.accept(TERRAIN_BLOCK_ITEM.get()); + output.accept(PAPER2_BLOCK_ITEM.get()); + output.accept(PAPER3_BLOCK_ITEM.get()); + output.accept(PAPER4_BLOCK_ITEM.get()); output.accept(PAPER2.get()); output.accept(PAPER3.get()); output.accept(PAPER4.get()); diff --git a/src/main/resources/assets/cubenetcore/blockstates/paper2_block.json b/src/main/resources/assets/cubenetcore/blockstates/paper2_block.json new file mode 100644 index 0000000..524f72d --- /dev/null +++ b/src/main/resources/assets/cubenetcore/blockstates/paper2_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "cubenetcore:block/paper2_block" + } + } +} diff --git a/src/main/resources/assets/cubenetcore/blockstates/paper3_block.json b/src/main/resources/assets/cubenetcore/blockstates/paper3_block.json new file mode 100644 index 0000000..4869dbc --- /dev/null +++ b/src/main/resources/assets/cubenetcore/blockstates/paper3_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "cubenetcore:block/paper3_block" + } + } +} diff --git a/src/main/resources/assets/cubenetcore/blockstates/paper4_block.json b/src/main/resources/assets/cubenetcore/blockstates/paper4_block.json new file mode 100644 index 0000000..bf3a746 --- /dev/null +++ b/src/main/resources/assets/cubenetcore/blockstates/paper4_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "cubenetcore:block/paper4_block" + } + } +} diff --git a/src/main/resources/assets/cubenetcore/models/block/paper2_block.json b/src/main/resources/assets/cubenetcore/models/block/paper2_block.json new file mode 100644 index 0000000..8af25fa --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/block/paper2_block.json @@ -0,0 +1,15 @@ +{ + "textures": { + "all": "cubenetcore:block/paper3" + }, + "elements": [ + { + "from": [2, 0, 15.9375], + "to": [14, 9, 15.9375], + "faces": { + "north": {"uv": [0, 0, 12, 9], "texture": "#all"}, + "south": {"uv": [0, 0, 12, 9], "texture": "#all"} + } + } + ] +} diff --git a/src/main/resources/assets/cubenetcore/models/block/paper3_block.json b/src/main/resources/assets/cubenetcore/models/block/paper3_block.json new file mode 100644 index 0000000..8af25fa --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/block/paper3_block.json @@ -0,0 +1,15 @@ +{ + "textures": { + "all": "cubenetcore:block/paper3" + }, + "elements": [ + { + "from": [2, 0, 15.9375], + "to": [14, 9, 15.9375], + "faces": { + "north": {"uv": [0, 0, 12, 9], "texture": "#all"}, + "south": {"uv": [0, 0, 12, 9], "texture": "#all"} + } + } + ] +} diff --git a/src/main/resources/assets/cubenetcore/models/block/paper4_block.json b/src/main/resources/assets/cubenetcore/models/block/paper4_block.json new file mode 100644 index 0000000..ccb50f6 --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/block/paper4_block.json @@ -0,0 +1,15 @@ +{ + "textures": { + "all": "cubenetcore:block/paper4" + }, + "elements": [ + { + "from": [2, 0, 15.9375], + "to": [14, 17, 15.9375], + "faces": { + "north": {"uv": [0, 0, 6, 8.5], "texture": "#all"}, + "south": {"uv": [0, 0, 6, 8.5], "texture": "#all"} + } + } + ] +} diff --git a/src/main/resources/assets/cubenetcore/models/item/paper2_block.json b/src/main/resources/assets/cubenetcore/models/item/paper2_block.json new file mode 100644 index 0000000..7a8e762 --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/item/paper2_block.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld_rod", + "textures": { + "layer0": "cubenetcore:item/paper2" + } +} diff --git a/src/main/resources/assets/cubenetcore/models/item/paper3_block.json b/src/main/resources/assets/cubenetcore/models/item/paper3_block.json new file mode 100644 index 0000000..e71be39 --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/item/paper3_block.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld_rod", + "textures": { + "layer0": "cubenetcore:item/paper3" + } +} diff --git a/src/main/resources/assets/cubenetcore/models/item/paper4_block.json b/src/main/resources/assets/cubenetcore/models/item/paper4_block.json new file mode 100644 index 0000000..fd46e75 --- /dev/null +++ b/src/main/resources/assets/cubenetcore/models/item/paper4_block.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld_rod", + "textures": { + "layer0": "cubenetcore:item/paper4" + } +} diff --git a/src/main/resources/assets/cubenetcore/textures/block/paper2.png b/src/main/resources/assets/cubenetcore/textures/block/paper2.png new file mode 100644 index 0000000..c325c61 Binary files /dev/null and b/src/main/resources/assets/cubenetcore/textures/block/paper2.png differ diff --git a/src/main/resources/assets/cubenetcore/textures/block/paper3.png b/src/main/resources/assets/cubenetcore/textures/block/paper3.png new file mode 100644 index 0000000..205c49d Binary files /dev/null and b/src/main/resources/assets/cubenetcore/textures/block/paper3.png differ diff --git a/src/main/resources/assets/cubenetcore/textures/block/paper4.png b/src/main/resources/assets/cubenetcore/textures/block/paper4.png new file mode 100644 index 0000000..9f7fe08 Binary files /dev/null and b/src/main/resources/assets/cubenetcore/textures/block/paper4.png differ