This commit is contained in:
parent
617d690996
commit
3e38f53be6
@ -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());
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "cubenetcore:block/paper2_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "cubenetcore:block/paper3_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "cubenetcore:block/paper4_block"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -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"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -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"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld_rod",
|
||||
"textures": {
|
||||
"layer0": "cubenetcore:item/paper2"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld_rod",
|
||||
"textures": {
|
||||
"layer0": "cubenetcore:item/paper3"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "item/handheld_rod",
|
||||
"textures": {
|
||||
"layer0": "cubenetcore:item/paper4"
|
||||
}
|
||||
}
|
||||
BIN
src/main/resources/assets/cubenetcore/textures/block/paper2.png
Normal file
BIN
src/main/resources/assets/cubenetcore/textures/block/paper2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 300 B |
BIN
src/main/resources/assets/cubenetcore/textures/block/paper3.png
Normal file
BIN
src/main/resources/assets/cubenetcore/textures/block/paper3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 309 B |
BIN
src/main/resources/assets/cubenetcore/textures/block/paper4.png
Normal file
BIN
src/main/resources/assets/cubenetcore/textures/block/paper4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 441 B |
Loading…
x
Reference in New Issue
Block a user