Ceiling jellyshroom variant

This commit is contained in:
paulevsGitch 2020-12-25 11:19:26 +03:00
parent 23a1bbba08
commit 989dbdb583
4 changed files with 91 additions and 2 deletions

View file

@ -61,7 +61,7 @@ public class BlockSmallJellyshroom extends BlockAttached implements IRenderTypea
static { static {
BOUNDING_SHAPES.put(Direction.UP, Block.createCuboidShape(3, 0, 3, 13, 16, 13)); BOUNDING_SHAPES.put(Direction.UP, Block.createCuboidShape(3, 0, 3, 13, 16, 13));
BOUNDING_SHAPES.put(Direction.DOWN, VoxelShapes.cuboid(0.0, 0.5, 0.0, 1.0, 1.0, 1.0)); BOUNDING_SHAPES.put(Direction.DOWN, Block.createCuboidShape(3, 0, 3, 13, 16, 13));
BOUNDING_SHAPES.put(Direction.NORTH, VoxelShapes.cuboid(0.0, 0.0, 0.5, 1.0, 1.0, 1.0)); BOUNDING_SHAPES.put(Direction.NORTH, VoxelShapes.cuboid(0.0, 0.0, 0.5, 1.0, 1.0, 1.0));
BOUNDING_SHAPES.put(Direction.SOUTH, VoxelShapes.cuboid(0.0, 0.0, 0.0, 1.0, 1.0, 0.5)); BOUNDING_SHAPES.put(Direction.SOUTH, VoxelShapes.cuboid(0.0, 0.0, 0.0, 1.0, 1.0, 0.5));
BOUNDING_SHAPES.put(Direction.WEST, VoxelShapes.cuboid(0.5, 0.0, 0.0, 1.0, 1.0, 1.0)); BOUNDING_SHAPES.put(Direction.WEST, VoxelShapes.cuboid(0.5, 0.0, 0.0, 1.0, 1.0, 1.0));

View file

@ -22,6 +22,11 @@
{ "model": "betterend:block/small_jellyshroom_floor", "y": 180 }, { "model": "betterend:block/small_jellyshroom_floor", "y": 180 },
{ "model": "betterend:block/small_jellyshroom_floor", "y": 270 } { "model": "betterend:block/small_jellyshroom_floor", "y": 270 }
], ],
"facing=down": { "model": "betterend:block/glowing_pillar_leaves_up", "x": 180 } "facing=down": [
{ "model": "betterend:block/small_jellyshroom_ceil" },
{ "model": "betterend:block/small_jellyshroom_ceil", "y": 90 },
{ "model": "betterend:block/small_jellyshroom_ceil", "y": 180 },
{ "model": "betterend:block/small_jellyshroom_ceil", "y": 270 }
]
} }
} }

View file

@ -0,0 +1,84 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "betterend:block/jellyshroom_ceiling_stem",
"texture": "betterend:block/jellyshroom_ceiling_stem",
"cap": "betterend:block/jellyshroom_cap"
},
"elements": [
{
"__comment": "PlaneX1",
"from": [ 2.375, 0, 2.375 ],
"to": [ 2.376, 16, 18.375 ],
"rotation": { "origin": [ 2.375, 0, 2.375 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX1",
"from": [ 13.75, 0, 2.25 ],
"to": [ 13.751, 16, 18.25 ],
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 16, 0, 0, 16 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 2.5, 4.5, 2.5 ],
"to": [ 7.5, 7.5, 7.5 ],
"faces": {
"down": { "uv": [ 5, 0, 10, 5 ], "texture": "#cap" },
"up": { "uv": [ 0, 0, 5, 5 ], "texture": "#cap" },
"north": { "uv": [ 10, 0, 15, 3 ], "texture": "#cap" },
"south": { "uv": [ 10, 0, 15, 3 ], "texture": "#cap" },
"west": { "uv": [ 10, 0, 15, 3 ], "texture": "#cap" },
"east": { "uv": [ 10, 0, 15, 3 ], "texture": "#cap" }
}
},
{
"__comment": "Box3",
"from": [ 9, 12, 4 ],
"to": [ 12, 14, 7 ],
"faces": {
"down": { "uv": [ 3, 9, 6, 12 ], "texture": "#cap" },
"up": { "uv": [ 0, 9, 3, 12 ], "texture": "#cap" },
"north": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"south": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"west": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"east": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" }
}
},
{
"__comment": "Box3",
"from": [ 9.5, 12, 9.5 ],
"to": [ 11.5, 13, 11.5 ],
"faces": {
"down": { "uv": [ 2, 12, 4, 14 ], "texture": "#cap" },
"up": { "uv": [ 0, 12, 2, 14 ], "texture": "#cap" },
"north": { "uv": [ 4, 12, 6, 13 ], "texture": "#cap" },
"south": { "uv": [ 4, 12, 6, 13 ], "texture": "#cap" },
"west": { "uv": [ 4, 12, 6, 13 ], "texture": "#cap" },
"east": { "uv": [ 4, 12, 6, 13 ], "texture": "#cap" }
}
},
{
"__comment": "Box3",
"from": [ 3.5, 5, 9.5 ],
"to": [ 6.5, 7, 12.5 ],
"faces": {
"down": { "uv": [ 3, 9, 6, 12 ], "texture": "#cap" },
"up": { "uv": [ 0, 9, 3, 12 ], "texture": "#cap" },
"north": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"south": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"west": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" },
"east": { "uv": [ 6, 9, 9, 11 ], "texture": "#cap" }
}
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB