Procedural models API
This commit is contained in:
parent
cab98a75c2
commit
15d379996c
67 changed files with 1542 additions and 1 deletions
441
src/main/resources/assets/bclib/models/block/ladder.json
Normal file
441
src/main/resources/assets/bclib/models/block/ladder.json
Normal file
|
@ -0,0 +1,441 @@
|
|||
{
|
||||
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"faces": {
|
||||
"down": {
|
||||
"cullface": "down",
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
15,
|
||||
4,
|
||||
16
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
0,
|
||||
3,
|
||||
16
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
0,
|
||||
4,
|
||||
16
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"cullface": "north",
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
0,
|
||||
4,
|
||||
16
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"cullface": "up",
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
0,
|
||||
4,
|
||||
1
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
3,
|
||||
0,
|
||||
4,
|
||||
16
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
12,
|
||||
0,
|
||||
15
|
||||
],
|
||||
"to": [
|
||||
14,
|
||||
16,
|
||||
16
|
||||
]
|
||||
},
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"faces": {
|
||||
"down": {
|
||||
"cullface": "down",
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
12,
|
||||
15,
|
||||
14,
|
||||
16
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
2,
|
||||
0,
|
||||
3,
|
||||
16
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
12,
|
||||
0,
|
||||
14,
|
||||
16
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"cullface": "north",
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
12,
|
||||
0,
|
||||
14,
|
||||
16
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"cullface": "up",
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
12,
|
||||
0,
|
||||
14,
|
||||
1
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
3,
|
||||
0,
|
||||
4,
|
||||
16
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
2,
|
||||
0,
|
||||
15
|
||||
],
|
||||
"to": [
|
||||
4,
|
||||
16,
|
||||
16
|
||||
]
|
||||
},
|
||||
{
|
||||
"__comment": "Box3",
|
||||
"faces": {
|
||||
"down": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
14,
|
||||
15,
|
||||
15
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
13,
|
||||
2,
|
||||
15
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
13,
|
||||
15,
|
||||
15
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
13,
|
||||
15,
|
||||
15
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
13,
|
||||
15,
|
||||
14
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
14,
|
||||
13,
|
||||
15,
|
||||
15
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
1,
|
||||
1,
|
||||
14.5
|
||||
],
|
||||
"to": [
|
||||
15,
|
||||
3,
|
||||
15.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"__comment": "Box3",
|
||||
"faces": {
|
||||
"down": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
10,
|
||||
15,
|
||||
11
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
9,
|
||||
2,
|
||||
11
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
9,
|
||||
15,
|
||||
11
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
9,
|
||||
15,
|
||||
11
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
9,
|
||||
15,
|
||||
10
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
14,
|
||||
9,
|
||||
15,
|
||||
11
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
1,
|
||||
5,
|
||||
14.5
|
||||
],
|
||||
"to": [
|
||||
15,
|
||||
7,
|
||||
15.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"__comment": "Box3",
|
||||
"faces": {
|
||||
"down": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
6,
|
||||
15,
|
||||
7
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
5,
|
||||
2,
|
||||
7
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
5,
|
||||
15,
|
||||
7
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
5,
|
||||
15,
|
||||
7
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
5,
|
||||
15,
|
||||
6
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
14,
|
||||
5,
|
||||
15,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
1,
|
||||
9,
|
||||
14.5
|
||||
],
|
||||
"to": [
|
||||
15,
|
||||
11,
|
||||
15.5
|
||||
]
|
||||
},
|
||||
{
|
||||
"__comment": "Box3",
|
||||
"faces": {
|
||||
"down": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
2,
|
||||
15,
|
||||
3
|
||||
]
|
||||
},
|
||||
"east": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"north": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
1,
|
||||
15,
|
||||
3
|
||||
]
|
||||
},
|
||||
"south": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
1,
|
||||
15,
|
||||
3
|
||||
]
|
||||
},
|
||||
"up": {
|
||||
"rotation": 180,
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
1,
|
||||
1,
|
||||
15,
|
||||
2
|
||||
]
|
||||
},
|
||||
"west": {
|
||||
"texture": "#texture",
|
||||
"uv": [
|
||||
14,
|
||||
1,
|
||||
15,
|
||||
3
|
||||
]
|
||||
}
|
||||
},
|
||||
"from": [
|
||||
1,
|
||||
13,
|
||||
14.5
|
||||
],
|
||||
"to": [
|
||||
15,
|
||||
15,
|
||||
15.5
|
||||
]
|
||||
}
|
||||
],
|
||||
"parent": "block/ladder",
|
||||
"textures": {
|
||||
"particle": "#texture"
|
||||
}
|
||||
}
|
18
src/main/resources/assets/bclib/models/block/path.json
Normal file
18
src/main/resources/assets/bclib/models/block/path.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ "parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "#bottom"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 15, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 0, 1, 16, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 1, 16, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 1, 16, 16 ], "texture": "#side", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 1, 16, 16 ], "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"ambientocclusion": false,
|
||||
"textures": {
|
||||
"particle": "#facade"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 3, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 0, 16, 16 ], "texture": "#side", "cullface": "down" },
|
||||
"north": { "uv": [ 3, 0, 0, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 0, 3, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#facade", "cullface": "west" },
|
||||
"east": { "uv": [ 16, 0, 0, 16 ], "texture": "#facade" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"ambientocclusion": false,
|
||||
"textures": {
|
||||
"particle": "#facade"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 3, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 13, 0, 16, 16 ], "texture": "#side", "cullface": "down" },
|
||||
"north": { "uv": [ 3, 0, 0, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 0, 3, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 16, 0, 0, 16 ], "texture": "#facade", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#facade" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"ambientocclusion": false,
|
||||
"textures": {
|
||||
"particle": "#facade"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 3, 16, 16 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 13, 0, 16, 16 ], "texture": "#side", "cullface": "up" },
|
||||
"north": { "uv": [ 3, 0, 0, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 0, 3, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#facade", "cullface": "west" },
|
||||
"east": { "uv": [ 16, 0, 0, 16 ], "texture": "#facade" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"ambientocclusion": false,
|
||||
"textures": {
|
||||
"particle": "#facade"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 3, 16, 16 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 13, 0, 16, 16 ], "texture": "#side", "cullface": "up" },
|
||||
"north": { "uv": [ 3, 0, 0, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 0, 0, 3, 16 ], "texture": "#side", "cullface": "south" },
|
||||
"west": { "uv": [ 16, 0, 0, 16 ], "texture": "#facade", "cullface": "west" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#facade" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{ "parent": "block/thin_block",
|
||||
"textures": {
|
||||
"particle": "#texture"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 3, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||
"north": { "uv": [ 16, 0, 13, 16 ], "texture": "#side", "cullface": "north", "rotation": 90 },
|
||||
"south": { "uv": [ 16, 0, 13, 16 ], "texture": "#side", "cullface": "south", "rotation": 90 },
|
||||
"west": { "uv": [ 16, 0, 13, 16 ], "texture": "#side", "cullface": "west", "rotation": 90 },
|
||||
"east": { "uv": [ 16, 0, 13, 16 ], "texture": "#side", "cullface": "east", "rotation": 90 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
21
src/main/resources/assets/bclib/models/block/tint_cube.json
Normal file
21
src/main/resources/assets/bclib/models/block/tint_cube.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "#texture"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down", "tintindex": 0 },
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "up", "tintindex": 0 },
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "north", "tintindex": 0 },
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "south", "tintindex": 0 },
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "west", "tintindex": 0 },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east", "tintindex": 0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
68
src/main/resources/assets/bclib/patterns/block/anvil.json
Normal file
68
src/main/resources/assets/bclib/patterns/block/anvil.json
Normal file
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "%modid%:block/%anvil%_front",
|
||||
"front": "%modid%:block/%anvil%_front",
|
||||
"back": "%modid%:block/%anvil%_back",
|
||||
"top": "%modid%:block/%top%",
|
||||
"panel": "%modid%:block/%anvil%_panel",
|
||||
"bottom": "%modid%:block/%anvil%_bottom"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Bottom",
|
||||
"from": [ 2, 0, 2 ],
|
||||
"to": [ 14, 4, 14 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 2, 2, 14, 14 ], "texture": "#bottom", "cullface": "down" },
|
||||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "#panel" },
|
||||
"north": { "uv": [ 2, 12, 14, 16 ], "texture": "#back" },
|
||||
"south": { "uv": [ 2, 12, 14, 16 ], "texture": "#back" },
|
||||
"west": { "uv": [ 2, 12, 14, 16 ], "texture": "#front" },
|
||||
"east": { "uv": [ 2, 12, 14, 16 ], "texture": "#front" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Plate",
|
||||
"from": [ 4, 4, 3 ],
|
||||
"to": [ 12, 5, 13 ],
|
||||
"faces": {
|
||||
"up": { "uv": [ 4, 3, 12, 13 ], "texture": "#panel" },
|
||||
"north": { "uv": [ 4, 11, 12, 12 ], "texture": "#back" },
|
||||
"south": { "uv": [ 4, 11, 12, 12 ], "texture": "#back" },
|
||||
"west": { "uv": [ 3, 11, 13, 12 ], "texture": "#front" },
|
||||
"east": { "uv": [ 3, 11, 13, 12 ], "texture": "#front" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Support",
|
||||
"from": [ 6, 5, 4 ],
|
||||
"to": [ 10, 10, 12 ],
|
||||
"faces": {
|
||||
"north": { "uv": [ 6, 6, 10, 11 ], "texture": "#back" },
|
||||
"south": { "uv": [ 6, 6, 10, 11 ], "texture": "#back" },
|
||||
"west": { "uv": [ 4, 6, 12, 11 ], "texture": "#front" },
|
||||
"east": { "uv": [ 4, 6, 12, 11 ], "texture": "#front" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"__comment": "Top",
|
||||
"from": [ 3, 10, 0 ],
|
||||
"to": [ 13, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 3, 0, 13, 16 ], "texture": "#top" },
|
||||
"up": { "uv": [ 3, 0, 13, 16 ], "texture": "#top" },
|
||||
"north": { "uv": [ 3, 0, 13, 6 ], "texture": "#back" },
|
||||
"south": { "uv": [ 3, 0, 13, 6 ], "texture": "#back" },
|
||||
"west": { "uv": [ 0, 0, 16, 6 ], "texture": "#front" },
|
||||
"east": { "uv": [ 0, 0, 16, 6 ], "texture": "#front" }
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"fixed": {
|
||||
"rotation": [ 0, 90, 0 ],
|
||||
"scale": [ 0.5, 0.5, 0.5 ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/cube_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%_bottom",
|
||||
"side": "%modid%:block/%texture%_side",
|
||||
"top": "%modid%:block/%texture%_top_open"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||
"textures": {
|
||||
"top": "%modid%:block/%texture%_top",
|
||||
"particle": "#top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 7, 0, 7 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 7, 7, 9, 9 ], "texture": "#top", "cullface": "down" },
|
||||
"up": { "uv": [ 7, 7, 9, 9 ], "texture": "#top", "cullface": "up" },
|
||||
"north": { "uv": [ 7, 0, 9, 16 ], "texture": "#top" },
|
||||
"south": { "uv": [ 7, 0, 9, 16 ], "texture": "#top" },
|
||||
"west": { "uv": [ 7, 0, 9, 16 ], "texture": "#top" },
|
||||
"east": { "uv": [ 7, 0, 9, 16 ], "texture": "#top" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||
"textures": {
|
||||
"side": "%modid%:block/%texture%",
|
||||
"top": "%modid%:block/%texture%_top",
|
||||
"particle": "#side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"__comment": "Box1",
|
||||
"from": [ 7, 0, 0 ],
|
||||
"to": [ 9, 16, 9 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 7, 7, 9, 16 ], "texture": "#top", "cullface": "down" },
|
||||
"up": { "uv": [ 7, 0, 9, 9 ], "texture": "#top", "cullface": "up" },
|
||||
"north": { "uv": [ 7, 0, 9, 16 ], "texture": "#side", "cullface": "north" },
|
||||
"south": { "uv": [ 7, 0, 9, 16 ], "texture": "#side" },
|
||||
"west": { "uv": [ 0, 0, 9, 16 ], "texture": "#side" },
|
||||
"east": { "uv": [ 7, 0, 16, 16 ], "texture": "#side" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/cube_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%_bottom",
|
||||
"side": "%modid%:block/%texture%_side",
|
||||
"top": "%modid%:block/%texture%_top"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "bclib:block/tint_cube",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"parent": "block/cube",
|
||||
"textures": {
|
||||
"particle": "%modid%:block/%particle%",
|
||||
"down": "%modid%:block/%down%",
|
||||
"up": "%modid%:block/%up%",
|
||||
"north": "%modid%:block/%north%",
|
||||
"south": "%modid%:block/%south%",
|
||||
"west": "%modid%:block/%west%",
|
||||
"east": "%modid%:block/%east%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/cube_column",
|
||||
"textures": {
|
||||
"end": "%modid%:block/%texture%_planks",
|
||||
"side": "%modid%:block/%texture%_bookshelf"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/button",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/button_pressed",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/chain",
|
||||
"textures": {
|
||||
"particle": "%modid%:block/%texture%",
|
||||
"all": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"particle": "%modid%:block/%texture%_side",
|
||||
"top": "%modid%:block/%texture%_top",
|
||||
"bottom": "%modid%:block/%texture%_bottom",
|
||||
"side": "%modid%:block/%texture%_side",
|
||||
"inside": "%modid%:block/%texture%_bottom"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 2, 16 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#inside", "cullface": "up" },
|
||||
"down": { "texture": "#bottom", "cullface": "down" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 2, 16, 16 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#top", "cullface": "up" },
|
||||
"north": { "texture": "#side", "cullface": "north" },
|
||||
"south": { "texture": "#side", "cullface": "south" },
|
||||
"west": { "texture": "#side", "cullface": "west" },
|
||||
"east": { "texture": "#side", "cullface": "up" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 14, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#top", "cullface": "up" },
|
||||
"north": { "texture": "#side", "cullface": "north" },
|
||||
"south": { "texture": "#side", "cullface": "south" },
|
||||
"west": { "texture": "#side", "cullface": "up" },
|
||||
"east": { "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 2, 0, 0 ],
|
||||
"to": [ 14, 16, 2 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#top", "cullface": "up" },
|
||||
"north": { "texture": "#side", "cullface": "north" },
|
||||
"south": { "texture": "#side", "cullface": "up" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 2, 0, 14 ],
|
||||
"to": [ 14, 16, 16 ],
|
||||
"faces": {
|
||||
"up": { "texture": "#top", "cullface": "up" },
|
||||
"north": { "texture": "#side", "cullface": "up" },
|
||||
"south": { "texture": "#side", "cullface": "south" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/cross",
|
||||
"textures": {
|
||||
"cross": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"ambientocclusion": false,
|
||||
"textures": {
|
||||
"cross": "%modid%:block/%texture%",
|
||||
"particle": "#cross"
|
||||
},
|
||||
"elements": [
|
||||
{ "from": [ 0.8, 0, 8 ],
|
||||
"to": [ 15.2, 16, 8 ],
|
||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
||||
"faces": {
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
|
||||
}
|
||||
},
|
||||
{ "from": [ 8, 0, 0.8 ],
|
||||
"to": [ 8, 16, 15.2 ],
|
||||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
|
||||
"faces": {
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "bclib:block/sided_door_bottom",
|
||||
"textures": {
|
||||
"facade": "%modid%:block/%texture%_bottom",
|
||||
"side": "%modid%:block/%texture%_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "bclib:block/sided_door_bottom_rh",
|
||||
"textures": {
|
||||
"facade": "%modid%:block/%texture%_bottom",
|
||||
"side": "%modid%:block/%texture%_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "bclib:block/sided_door_top",
|
||||
"textures": {
|
||||
"facade": "%modid%:block/%texture%_top",
|
||||
"side": "%modid%:block/%texture%_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "bclib:block/sided_door_top_rh",
|
||||
"textures": {
|
||||
"facade": "%modid%:block/%texture%_top",
|
||||
"side": "%modid%:block/%texture%_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"textures": {
|
||||
"particle": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_fence_gate",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_fence_gate_open",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_post",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_side",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"parent": "block/orientable_with_bottom",
|
||||
"textures": {
|
||||
"top": "%modid%:block/%top%",
|
||||
"front": "%modid%:block/%front%",
|
||||
"side": "%modid%:block/%side%",
|
||||
"bottom": "%modid%:block/%top%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"top": "%modid%:block/%top%",
|
||||
"front": "%modid%:block/%front%",
|
||||
"side": "%modid%:block/%side%",
|
||||
"glow": "%modid%:block/%glow%"
|
||||
},
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 135, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "texture": "#top", "cullface": "down" },
|
||||
"up": { "texture": "#top", "cullface": "up" },
|
||||
"north": { "texture": "#front", "cullface": "north" },
|
||||
"south": { "texture": "#side", "cullface": "south" },
|
||||
"west": { "texture": "#side", "cullface": "west" },
|
||||
"east": { "texture": "#side", "cullface": "east" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"north": { "texture": "#glow", "cullface": "north" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "bclib:block/ladder",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
7
src/main/resources/assets/bclib/patterns/block/path.json
Normal file
7
src/main/resources/assets/bclib/patterns/block/path.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ "parent": "bclib:block/path",
|
||||
"textures": {
|
||||
"top": "%modid%:block/%top%",
|
||||
"side": "%modid%:block/%side%",
|
||||
"bottom": "%modid%:block/%bottom%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "block/cube_column",
|
||||
"textures": {
|
||||
"end": "%modid%:block/%texture%_top",
|
||||
"side": "%modid%:block/%texture%_side"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/pressure_plate_down",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/pressure_plate_up",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
8
src/main/resources/assets/bclib/patterns/block/slab.json
Normal file
8
src/main/resources/assets/bclib/patterns/block/slab.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/slab",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%",
|
||||
"side": "%modid%:block/%texture%",
|
||||
"top": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/stairs",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%",
|
||||
"side": "%modid%:block/%texture%",
|
||||
"top": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/inner_stairs",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%",
|
||||
"side": "%modid%:block/%texture%",
|
||||
"top": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/outer_stairs",
|
||||
"textures": {
|
||||
"bottom": "%modid%:block/%texture%",
|
||||
"side": "%modid%:block/%texture%",
|
||||
"top": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"parent": "block/cube_bottom_top",
|
||||
"textures": {
|
||||
"bottom": "%bottom%",
|
||||
"side": "%side%",
|
||||
"top": "%top%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "bclib:block/sided_trapdoor",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%",
|
||||
"side": "%modid%:block/%side%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_fence_gate_wall",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_fence_gate_wall_open",
|
||||
"textures": {
|
||||
"texture": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/wall_inventory",
|
||||
"textures": {
|
||||
"wall": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_wall_post",
|
||||
"textures": {
|
||||
"wall": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_wall_side",
|
||||
"textures": {
|
||||
"wall": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/template_wall_side_tall",
|
||||
"textures": {
|
||||
"wall": "%modid%:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/button_inventory",
|
||||
"textures": {
|
||||
"texture": "betterend:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "betterend:block/chest_item",
|
||||
"textures": {
|
||||
"texture": "betterend:entity/chest/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "block/fence_inventory",
|
||||
"textures": {
|
||||
"texture": "betterend:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "betterend:item/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/handheld",
|
||||
"textures": {
|
||||
"layer0": "betterend:item/%texture%"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "item/template_spawn_egg"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/wall_inventory",
|
||||
"textures": {
|
||||
"wall": "betterend:block/%texture%"
|
||||
}
|
||||
}
|
|
@ -3,7 +3,9 @@
|
|||
"minVersion": "0.8",
|
||||
"package": "ru.bclib.mixin.client",
|
||||
"compatibilityLevel": "JAVA_8",
|
||||
"client": [],
|
||||
"client": [
|
||||
"ModelBakeryMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue