From 3e38f53be690bf144d9b7dc0b263f1d6893c6d5b Mon Sep 17 00:00:00 2001 From: vmko Date: Sun, 23 Nov 2025 16:24:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B1=D1=83=D0=BC=D0=B0=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/skytech/cubenetcore/CubeNetCore.java | 12 ++++++++++++ .../cubenetcore/blockstates/paper2_block.json | 7 +++++++ .../cubenetcore/blockstates/paper3_block.json | 7 +++++++ .../cubenetcore/blockstates/paper4_block.json | 7 +++++++ .../cubenetcore/models/block/paper2_block.json | 15 +++++++++++++++ .../cubenetcore/models/block/paper3_block.json | 15 +++++++++++++++ .../cubenetcore/models/block/paper4_block.json | 15 +++++++++++++++ .../cubenetcore/models/item/paper2_block.json | 6 ++++++ .../cubenetcore/models/item/paper3_block.json | 6 ++++++ .../cubenetcore/models/item/paper4_block.json | 6 ++++++ .../assets/cubenetcore/textures/block/paper2.png | Bin 0 -> 300 bytes .../assets/cubenetcore/textures/block/paper3.png | Bin 0 -> 309 bytes .../assets/cubenetcore/textures/block/paper4.png | Bin 0 -> 441 bytes 13 files changed, 96 insertions(+) create mode 100644 src/main/resources/assets/cubenetcore/blockstates/paper2_block.json create mode 100644 src/main/resources/assets/cubenetcore/blockstates/paper3_block.json create mode 100644 src/main/resources/assets/cubenetcore/blockstates/paper4_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/block/paper2_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/block/paper3_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/block/paper4_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/item/paper2_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/item/paper3_block.json create mode 100644 src/main/resources/assets/cubenetcore/models/item/paper4_block.json create mode 100644 src/main/resources/assets/cubenetcore/textures/block/paper2.png create mode 100644 src/main/resources/assets/cubenetcore/textures/block/paper3.png create mode 100644 src/main/resources/assets/cubenetcore/textures/block/paper4.png 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 0000000000000000000000000000000000000000..c325c6142fcb10555f989356a587487a456caed3 GIT binary patch literal 300 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`4?SHRLn`LnnY5Sdkby{R|5DM+ zgZ3g<0=55@2o?s*JBpXfpSycB{etfiSC=(?WuN(@TrRxgb>ZUT+*R48BA)l|XHmy4 z`@UM6rLQ?}J*Z^=U?sH8Nx)<2v6yANzLz(|@CIsrO^{$)wwW!ilqnmS?a#zj%@8rlN+Y9@#v{ v@I2c8tC^7>=*R#6tE10J02yo`&oVRgxF)XBjkLW66k+gm^>bP0l+XkK^hkDK literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..205c49d5a28414ddcb7a4fb7f1659cb85d9a20a6 GIT binary patch literal 309 zcmV-50m}Y~P)}~u7ma>x+ma<}~k<5b5t2@m+M2)4hx#!*6 zyXSP?69;R0kH?C1I&UZ%O^_~eOruD4S`^%cVk(YL%|M z1dfV1stWCTTikiTs$LhEu|ptfw)_rwI{;O<0N6#f+;`7d^yB~;u)3qFi00000NkvXX Hu0mjf)!c<1 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..9f7fe084b417da545c38f2b2b731393b84dd2250 GIT binary patch literal 441 zcmV;q0Y?6bP)Y5S^1dksRnL3K|eW1wYb=SZZUhjlDn4-bQ;HwG*+49~cD@qM+z0ToA8_ynzYh z8H31d((Hq~+1-P^nYZuFh995RW~1>+K&dp$QO_~f>m$i(K!ymh>Fo3-MNvd?9Mj3^ z4y`P2({=5b$`ebxmSq{`c}}(4J+emdk{&fN(A9QgWT3xd%K$blkFQaZBwYQ}57-UPT%Z|frv*KCssThO9)K&bh9AlrqE5;R!CyKd03A5d0A9Ki zYR`iS;OV(aW1|(SKOT}besn^qv|aViIw5=xwQDz|Y04FY1$|FghpG z0)77Vhcos*AiV)BIk^j