roulette block
This commit is contained in:
@@ -319,6 +319,7 @@ public class Szar implements ModInitializer {
|
||||
entries.add(Szar.MERL_SPAWNEGG);
|
||||
entries.add(Szar.EFN_DISK);
|
||||
entries.add(Szar.SLOT_MACHINE);
|
||||
entries.add(Szar.ROULETTE);
|
||||
// nsfw
|
||||
entries.add(Szar.FASZITEM);
|
||||
entries.add(Szar.CNDM);
|
||||
@@ -810,6 +811,37 @@ public class Szar implements ModInitializer {
|
||||
new Identifier(MOD_ID, "towers"),
|
||||
new BlockItem(OBELISK_CORE, new Item.Settings())
|
||||
);
|
||||
static VoxelShape shape23 = VoxelShapes.cuboid(0.25f, 0f, 0f, 0.75f, 0.25f, 0.125f);
|
||||
static VoxelShape shape24 = VoxelShapes.cuboid(0.125f, 0f, 0.125f, 0.875f, 0.125f, 0.25f);
|
||||
static VoxelShape shape25 = VoxelShapes.cuboid(0f, 0f, 0.25f, 1f, 0.125f, 0.75f);
|
||||
static VoxelShape shape26 = VoxelShapes.cuboid(0.125f, 0f, 0.75f, 0.875f, 0.125f, 0.875f);
|
||||
static VoxelShape shape27 = VoxelShapes.cuboid(0.25f, 0f, 0.875f, 0.75f, 0.25f, 1f);
|
||||
static VoxelShape shape28 = VoxelShapes.cuboid(0f, 0.125f, 0.25f, 0.125f, 0.25f, 0.75f);
|
||||
static VoxelShape shape29 = VoxelShapes.cuboid(0.875f, 0.125f, 0.25f, 1f, 0.25f, 0.75f);
|
||||
static VoxelShape shape30 = VoxelShapes.cuboid(0.75f, 0.125f, 0.125f, 0.875f, 0.25f, 0.25f);
|
||||
static VoxelShape shape31 = VoxelShapes.cuboid(0.75f, 0.125f, 0.75f, 0.875f, 0.25f, 0.875f);
|
||||
static VoxelShape shape32 = VoxelShapes.cuboid(0.125f, 0.125f, 0.125f, 0.25f, 0.25f, 0.25f);
|
||||
static VoxelShape shape33 = VoxelShapes.cuboid(0.125f, 0.125f, 0.75f, 0.25f, 0.25f, 0.875f);
|
||||
static VoxelShape shape34 = VoxelShapes.cuboid(0.3125f, 0.313125f, 0.3125f, 0.6875f, 0.313125f, 0.6875f);
|
||||
static VoxelShape shape35 = VoxelShapes.cuboid(0.4375f, 0.125f, 0.4375f, 0.5625f, 0.3125f, 0.5625f);
|
||||
static VoxelShape ROULETTE_SHAPE = VoxelShapes.union(shape23, shape24, shape25, shape26, shape27, shape28, shape29, shape30, shape31, shape32, shape33, shape34, shape35);
|
||||
public static final Block ROULETTE_BLOCK = Registry.register(
|
||||
Registries.BLOCK,
|
||||
new Identifier(MOD_ID, "roulette"),
|
||||
new BasicRotatableModelBlock(
|
||||
AbstractBlock.Settings
|
||||
.copy(Blocks.OAK_WOOD),
|
||||
ROULETTE_SHAPE
|
||||
)
|
||||
);
|
||||
public static final Item ROULETTE = Registry.register(
|
||||
Registries.ITEM,
|
||||
new Identifier(MOD_ID, "roulette"),
|
||||
new BlockItem(
|
||||
ROULETTE_BLOCK,
|
||||
new Item.Settings()
|
||||
)
|
||||
);
|
||||
public static final StructurePieceType CASINO_PIECE =
|
||||
Registry.register(
|
||||
Registries.STRUCTURE_PIECE,
|
||||
|
||||
7
src/main/resources/assets/szar/blockstates/roulette.json
Normal file
7
src/main/resources/assets/szar/blockstates/roulette.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"variants": {
|
||||
"": {
|
||||
"model": "szar:block/roulette"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -81,5 +81,6 @@
|
||||
"item.szar.plane": "Plane",
|
||||
"item.szar.wheel": "Wheel",
|
||||
"block.szar.slot_machine": "Slot Machine",
|
||||
"block.szar.casino": "Casino Title"
|
||||
"block.szar.casino": "Casino Title",
|
||||
"block.szar.roulette": "Roulette"
|
||||
}
|
||||
|
||||
262
src/main/resources/assets/szar/models/block/roulette.json
Normal file
262
src/main/resources/assets/szar/models/block/roulette.json
Normal file
@@ -0,0 +1,262 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "szar:block/roulette",
|
||||
"particle": "szar:block/roulette"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 0, 0],
|
||||
"to": [12, 4, 2],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4, 2, 5], "texture": "#0"},
|
||||
"east": {"uv": [8, 0.5, 8.5, 1.5], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 1], "texture": "#0"},
|
||||
"west": {"uv": [1, 8, 1.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [2, 6.5, 0, 6], "texture": "#0"},
|
||||
"down": {"uv": [8, 0, 6, 0.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 2],
|
||||
"to": [14, 2, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 2]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 3, 7, 3.5], "texture": "#0"},
|
||||
"east": {"uv": [8, 2.5, 8.5, 3], "texture": "#0"},
|
||||
"south": {"uv": [4, 3.5, 7, 4], "texture": "#0"},
|
||||
"west": {"uv": [8, 5, 8.5, 5.5], "texture": "#0"},
|
||||
"up": {"uv": [7, 4.5, 4, 4], "texture": "#0"},
|
||||
"down": {"uv": [7, 4.5, 4, 5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0, 4],
|
||||
"to": [16, 2, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 2, 8, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [6, 7.5, 8, 8], "texture": "#0"},
|
||||
"south": {"uv": [4, 2.5, 8, 3], "texture": "#0"},
|
||||
"west": {"uv": [8, 0, 10, 0.5], "texture": "#0"},
|
||||
"up": {"uv": [4, 2, 0, 0], "texture": "#0"},
|
||||
"down": {"uv": [4, 2, 0, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 12],
|
||||
"to": [14, 2, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 12]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 5, 3, 5.5], "texture": "#0"},
|
||||
"east": {"uv": [8, 5.5, 8.5, 6], "texture": "#0"},
|
||||
"south": {"uv": [3, 5, 6, 5.5], "texture": "#0"},
|
||||
"west": {"uv": [6, 8, 6.5, 8.5], "texture": "#0"},
|
||||
"up": {"uv": [3, 6, 0, 5.5], "texture": "#0"},
|
||||
"down": {"uv": [6, 5.5, 3, 6], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 0, 14],
|
||||
"to": [12, 4, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 14]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 1, 6, 2], "texture": "#0"},
|
||||
"east": {"uv": [1.5, 8, 2, 9], "texture": "#0"},
|
||||
"south": {"uv": [2, 4, 4, 5], "texture": "#0"},
|
||||
"west": {"uv": [8, 1.5, 8.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [8, 1, 6, 0.5], "texture": "#0"},
|
||||
"down": {"uv": [8, 1, 6, 1.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 2, 4],
|
||||
"to": [2, 4, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-4, 2, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.5, 8, 7, 8.5], "texture": "#0"},
|
||||
"east": {"uv": [6, 1.5, 8, 2], "texture": "#0"},
|
||||
"south": {"uv": [7, 8, 7.5, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [2, 6, 4, 6.5], "texture": "#0"},
|
||||
"up": {"uv": [4.5, 8, 4, 6], "texture": "#0"},
|
||||
"down": {"uv": [5, 6, 4.5, 8], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [14, 2, 4],
|
||||
"to": [16, 4, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 2, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 7, 8.5, 7.5], "texture": "#0"},
|
||||
"east": {"uv": [5, 6, 7, 6.5], "texture": "#0"},
|
||||
"south": {"uv": [7.5, 8, 8, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [6, 5, 8, 5.5], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 8.5, 0, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [1, 6.5, 0.5, 8.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 2, 2],
|
||||
"to": [14, 4, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 7.5, 8.5, 8], "texture": "#0"},
|
||||
"east": {"uv": [8, 8, 8.5, 8.5], "texture": "#0"},
|
||||
"south": {"uv": [0, 8.5, 0.5, 9], "texture": "#0"},
|
||||
"west": {"uv": [0.5, 8.5, 1, 9], "texture": "#0"},
|
||||
"up": {"uv": [9, 1, 8.5, 0.5], "texture": "#0"},
|
||||
"down": {"uv": [9, 1, 8.5, 1.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 2, 12],
|
||||
"to": [14, 4, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 2, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 1.5, 9, 2], "texture": "#0"},
|
||||
"east": {"uv": [8.5, 2, 9, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [8.5, 2.5, 9, 3], "texture": "#0"},
|
||||
"west": {"uv": [3, 8.5, 3.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [4, 9, 3.5, 8.5], "texture": "#0"},
|
||||
"down": {"uv": [9, 5, 8.5, 5.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 2, 2],
|
||||
"to": [4, 4, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 5.5, 9, 6], "texture": "#0"},
|
||||
"east": {"uv": [6, 8.5, 6.5, 9], "texture": "#0"},
|
||||
"south": {"uv": [6.5, 8.5, 7, 9], "texture": "#0"},
|
||||
"west": {"uv": [7, 8.5, 7.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [9, 7.5, 8.5, 7], "texture": "#0"},
|
||||
"down": {"uv": [8, 8.5, 7.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 2, 12],
|
||||
"to": [4, 4, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2, 2, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 7.5, 9, 8], "texture": "#0"},
|
||||
"east": {"uv": [8, 8.5, 8.5, 9], "texture": "#0"},
|
||||
"south": {"uv": [8.5, 8, 9, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [8.5, 8.5, 9, 9], "texture": "#0"},
|
||||
"up": {"uv": [2.5, 9.25, 2, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [3, 8.75, 2.5, 9.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [13.5, 2, 4],
|
||||
"to": [15.5, 4, 12],
|
||||
"rotation": {"angle": 45, "axis": "z", "origin": [15, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [9, 1, 9.5, 1.5], "texture": "#0"},
|
||||
"east": {"uv": [7, 4, 9, 4.5], "texture": "#0"},
|
||||
"south": {"uv": [1.5, 9, 2, 9.5], "texture": "#0"},
|
||||
"west": {"uv": [7, 4.5, 9, 5], "texture": "#0"},
|
||||
"up": {"uv": [5.5, 9, 5, 7], "texture": "#0"},
|
||||
"down": {"uv": [6, 7, 5.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 2, 13.5],
|
||||
"to": [12, 4, 15.5],
|
||||
"rotation": {"angle": -45, "axis": "x", "origin": [8, 2, 15]},
|
||||
"faces": {
|
||||
"north": {"uv": [6, 7, 8, 7.5], "texture": "#0"},
|
||||
"east": {"uv": [9, 1.5, 9.5, 2], "texture": "#0"},
|
||||
"south": {"uv": [7, 6, 9, 6.5], "texture": "#0"},
|
||||
"west": {"uv": [9, 2, 9.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [9, 7, 7, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [3, 7.5, 1, 8], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0.5, 2, 4],
|
||||
"to": [2.5, 4, 12],
|
||||
"rotation": {"angle": -45, "axis": "z", "origin": [1, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 9, 0.5, 9.5], "texture": "#0"},
|
||||
"east": {"uv": [6, 5.5, 8, 6], "texture": "#0"},
|
||||
"south": {"uv": [0.5, 9, 1, 9.5], "texture": "#0"},
|
||||
"west": {"uv": [1, 6.5, 3, 7], "texture": "#0"},
|
||||
"up": {"uv": [3.5, 8.5, 3, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [4, 6.5, 3.5, 8.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 3, 0],
|
||||
"to": [12, 5, 2],
|
||||
"rotation": {"angle": 45, "axis": "x", "origin": [8, 2, 0]},
|
||||
"faces": {
|
||||
"north": {"uv": [5, 6.5, 7, 7], "texture": "#0"},
|
||||
"east": {"uv": [9, 0.5, 9.5, 1], "texture": "#0"},
|
||||
"south": {"uv": [1, 7, 3, 7.5], "texture": "#0"},
|
||||
"west": {"uv": [1, 9, 1.5, 9.5], "texture": "#0"},
|
||||
"up": {"uv": [9, 3.5, 7, 3], "texture": "#0"},
|
||||
"down": {"uv": [9, 3.5, 7, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5, 5.01, 5],
|
||||
"to": [11, 5.01, 11],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [1.25, 9.5, 1.75, 10.25], "texture": "#0"},
|
||||
"east": {"uv": [1.75, 9.5, 2.25, 10.25], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 9.5, 2.75, 10.25], "texture": "#0"},
|
||||
"west": {"uv": [2.75, 9.5, 3.25, 10.25], "texture": "#0"},
|
||||
"up": {"uv": [2.75, 11.25, 1.75, 10.25], "texture": "#0"},
|
||||
"down": {"uv": [3.75, 10.25, 2.75, 11.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 2, 7],
|
||||
"to": [9, 5, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [2, 8, 2.5, 8.75], "texture": "#0"},
|
||||
"east": {"uv": [2.5, 8, 3, 8.75], "texture": "#0"},
|
||||
"south": {"uv": [4, 8, 4.5, 8.75], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 8, 5, 8.75], "texture": "#0"},
|
||||
"up": {"uv": [4.5, 9.25, 4, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [5, 8.75, 4.5, 9.25], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -2.25],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -2.25],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [1.5, 4, -6]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [1.5, 4, -6]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 5, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0],
|
||||
"scale": [0.8, 0.8, 0.8]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.25, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.25]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"format_version": "1.9.0",
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "szar:block/roulette",
|
||||
"particle": "szar:block/roulette"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [4, 0, 0],
|
||||
"to": [12, 4, 2],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 4, 2, 5], "texture": "#0"},
|
||||
"east": {"uv": [8, 0.5, 8.5, 1.5], "texture": "#0"},
|
||||
"south": {"uv": [4, 0, 6, 1], "texture": "#0"},
|
||||
"west": {"uv": [1, 8, 1.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [2, 6.5, 0, 6], "texture": "#0"},
|
||||
"down": {"uv": [8, 0, 6, 0.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 2],
|
||||
"to": [14, 2, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 2]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 3, 7, 3.5], "texture": "#0"},
|
||||
"east": {"uv": [8, 2.5, 8.5, 3], "texture": "#0"},
|
||||
"south": {"uv": [4, 3.5, 7, 4], "texture": "#0"},
|
||||
"west": {"uv": [8, 5, 8.5, 5.5], "texture": "#0"},
|
||||
"up": {"uv": [7, 4.5, 4, 4], "texture": "#0"},
|
||||
"down": {"uv": [7, 4.5, 4, 5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 0, 4],
|
||||
"to": [16, 2, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 4]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 2, 8, 2.5], "texture": "#0"},
|
||||
"east": {"uv": [6, 7.5, 8, 8], "texture": "#0"},
|
||||
"south": {"uv": [4, 2.5, 8, 3], "texture": "#0"},
|
||||
"west": {"uv": [8, 0, 10, 0.5], "texture": "#0"},
|
||||
"up": {"uv": [4, 2, 0, 0], "texture": "#0"},
|
||||
"down": {"uv": [4, 2, 0, 4], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 12],
|
||||
"to": [14, 2, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 12]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 5, 3, 5.5], "texture": "#0"},
|
||||
"east": {"uv": [8, 5.5, 8.5, 6], "texture": "#0"},
|
||||
"south": {"uv": [3, 5, 6, 5.5], "texture": "#0"},
|
||||
"west": {"uv": [6, 8, 6.5, 8.5], "texture": "#0"},
|
||||
"up": {"uv": [3, 6, 0, 5.5], "texture": "#0"},
|
||||
"down": {"uv": [6, 5.5, 3, 6], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, 0, 14],
|
||||
"to": [12, 4, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 14]},
|
||||
"faces": {
|
||||
"north": {"uv": [4, 1, 6, 2], "texture": "#0"},
|
||||
"east": {"uv": [1.5, 8, 2, 9], "texture": "#0"},
|
||||
"south": {"uv": [2, 4, 4, 5], "texture": "#0"},
|
||||
"west": {"uv": [8, 1.5, 8.5, 2.5], "texture": "#0"},
|
||||
"up": {"uv": [8, 1, 6, 0.5], "texture": "#0"},
|
||||
"down": {"uv": [8, 1, 6, 1.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [0, 2, 4],
|
||||
"to": [2, 4, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-4, 2, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [6.5, 8, 7, 8.5], "texture": "#0"},
|
||||
"east": {"uv": [6, 1.5, 8, 2], "texture": "#0"},
|
||||
"south": {"uv": [7, 8, 7.5, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [2, 6, 4, 6.5], "texture": "#0"},
|
||||
"up": {"uv": [4.5, 8, 4, 6], "texture": "#0"},
|
||||
"down": {"uv": [5, 6, 4.5, 8], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [14, 2, 4],
|
||||
"to": [16, 4, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [10, 2, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 7, 8.5, 7.5], "texture": "#0"},
|
||||
"east": {"uv": [5, 6, 7, 6.5], "texture": "#0"},
|
||||
"south": {"uv": [7.5, 8, 8, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [6, 5, 8, 5.5], "texture": "#0"},
|
||||
"up": {"uv": [0.5, 8.5, 0, 6.5], "texture": "#0"},
|
||||
"down": {"uv": [1, 6.5, 0.5, 8.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 2, 2],
|
||||
"to": [14, 4, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8, 7.5, 8.5, 8], "texture": "#0"},
|
||||
"east": {"uv": [8, 8, 8.5, 8.5], "texture": "#0"},
|
||||
"south": {"uv": [0, 8.5, 0.5, 9], "texture": "#0"},
|
||||
"west": {"uv": [0.5, 8.5, 1, 9], "texture": "#0"},
|
||||
"up": {"uv": [9, 1, 8.5, 0.5], "texture": "#0"},
|
||||
"down": {"uv": [9, 1, 8.5, 1.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [12, 2, 12],
|
||||
"to": [14, 4, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 2, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 1.5, 9, 2], "texture": "#0"},
|
||||
"east": {"uv": [8.5, 2, 9, 2.5], "texture": "#0"},
|
||||
"south": {"uv": [8.5, 2.5, 9, 3], "texture": "#0"},
|
||||
"west": {"uv": [3, 8.5, 3.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [4, 9, 3.5, 8.5], "texture": "#0"},
|
||||
"down": {"uv": [9, 5, 8.5, 5.5], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 2, 2],
|
||||
"to": [4, 4, 4],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2, 2, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 5.5, 9, 6], "texture": "#0"},
|
||||
"east": {"uv": [6, 8.5, 6.5, 9], "texture": "#0"},
|
||||
"south": {"uv": [6.5, 8.5, 7, 9], "texture": "#0"},
|
||||
"west": {"uv": [7, 8.5, 7.5, 9], "texture": "#0"},
|
||||
"up": {"uv": [9, 7.5, 8.5, 7], "texture": "#0"},
|
||||
"down": {"uv": [8, 8.5, 7.5, 9], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 2, 12],
|
||||
"to": [4, 4, 14],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [-2, 2, 18]},
|
||||
"faces": {
|
||||
"north": {"uv": [8.5, 7.5, 9, 8], "texture": "#0"},
|
||||
"east": {"uv": [8, 8.5, 8.5, 9], "texture": "#0"},
|
||||
"south": {"uv": [8.5, 8, 9, 8.5], "texture": "#0"},
|
||||
"west": {"uv": [8.5, 8.5, 9, 9], "texture": "#0"},
|
||||
"up": {"uv": [2.5, 9.25, 2, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [3, 8.75, 2.5, 9.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5, 5.01, 5],
|
||||
"to": [11, 5.01, 11],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [1.25, 9.5, 1.75, 10.25], "texture": "#0"},
|
||||
"east": {"uv": [1.75, 9.5, 2.25, 10.25], "texture": "#0"},
|
||||
"south": {"uv": [2.25, 9.5, 2.75, 10.25], "texture": "#0"},
|
||||
"west": {"uv": [2.75, 9.5, 3.25, 10.25], "texture": "#0"},
|
||||
"up": {"uv": [2.75, 11.25, 1.75, 10.25], "texture": "#0"},
|
||||
"down": {"uv": [3.75, 10.25, 2.75, 11.25], "texture": "#0"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [7, 2, 7],
|
||||
"to": [9, 5, 9],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [3, 2, 13]},
|
||||
"faces": {
|
||||
"north": {"uv": [2, 8, 2.5, 8.75], "texture": "#0"},
|
||||
"east": {"uv": [2.5, 8, 3, 8.75], "texture": "#0"},
|
||||
"south": {"uv": [4, 8, 4.5, 8.75], "texture": "#0"},
|
||||
"west": {"uv": [4.5, 8, 5, 8.75], "texture": "#0"},
|
||||
"up": {"uv": [4.5, 9.25, 4, 8.75], "texture": "#0"},
|
||||
"down": {"uv": [5, 8.75, 4.5, 9.25], "texture": "#0"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"translation": [0, 0, -2.25],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"translation": [0, 0, -2.25],
|
||||
"scale": [0.3, 0.3, 0.3]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"translation": [1.5, 4, -6]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"translation": [1.5, 4, -6]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 5, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [90, 0, 0],
|
||||
"scale": [0.8, 0.8, 0.8]
|
||||
},
|
||||
"head": {
|
||||
"translation": [0, 14.25, 0]
|
||||
},
|
||||
"fixed": {
|
||||
"rotation": [-90, 0, 0],
|
||||
"translation": [0, 0, -7.25]
|
||||
}
|
||||
}
|
||||
}
|
||||
3
src/main/resources/assets/szar/models/item/roulette.json
Normal file
3
src/main/resources/assets/szar/models/item/roulette.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "szar:block/roulette"
|
||||
}
|
||||
BIN
src/main/resources/assets/szar/textures/block/roulette.png
Normal file
BIN
src/main/resources/assets/szar/textures/block/roulette.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 189 KiB |
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"animation": {
|
||||
"frametime": 8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user