Добавление бумаг
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
vmko 2025-11-23 16:24:19 +03:00
parent 617d690996
commit 3e38f53be6
13 changed files with 96 additions and 0 deletions

View File

@ -46,6 +46,15 @@ public class CubeNetCore {
public static final DeferredBlock<Block> TERRAIN_BLOCK = BLOCKS.registerSimpleBlock("terrain_block", BlockBehaviour.Properties.of().mapColor(MapColor.COLOR_GREEN));
public static final DeferredItem<BlockItem> TERRAIN_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("terrain_block", TERRAIN_BLOCK);
public static final DeferredBlock<Block> PAPER2_BLOCK = BLOCKS.register("paper2_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion()));
public static final DeferredItem<BlockItem> PAPER2_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper2_block", PAPER2_BLOCK);
public static final DeferredBlock<Block> PAPER3_BLOCK = BLOCKS.register("paper3_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion()));
public static final DeferredItem<BlockItem> PAPER3_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper3_block", PAPER3_BLOCK);
public static final DeferredBlock<Block> PAPER4_BLOCK = BLOCKS.register("paper4_block", () -> new Block(BlockBehaviour.Properties.of().mapColor(MapColor.WOOD).noCollission().noOcclusion()));
public static final DeferredItem<BlockItem> PAPER4_BLOCK_ITEM = ITEMS.registerSimpleBlockItem("paper4_block", PAPER4_BLOCK);
public static final DeferredItem<Item> PAPER2 = ITEMS.registerSimpleItem("paper2");
public static final DeferredItem<Item> PAPER3 = ITEMS.registerSimpleItem("paper3");
public static final DeferredItem<Item> 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());

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "cubenetcore:block/paper2_block"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "cubenetcore:block/paper3_block"
}
}
}

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "cubenetcore:block/paper4_block"
}
}
}

View File

@ -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"}
}
}
]
}

View File

@ -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"}
}
}
]
}

View File

@ -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"}
}
}
]
}

View File

@ -0,0 +1,6 @@
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "cubenetcore:item/paper2"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "cubenetcore:item/paper3"
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "cubenetcore:item/paper4"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B