Anvil states & new textures

This commit is contained in:
paulevsGitch 2021-01-25 22:04:06 +03:00
parent 650c85194e
commit 28886adf33
17 changed files with 136 additions and 116 deletions

View file

@ -1,19 +0,0 @@
{
"variants": {
"facing=east": {
"model": "betterend:block/thallasium_anvil",
"y": 270
},
"facing=north": {
"model": "betterend:block/thallasium_anvil",
"y": 180
},
"facing=south": {
"model": "betterend:block/thallasium_anvil"
},
"facing=west": {
"model": "betterend:block/thallasium_anvil",
"y": 90
}
}
}

View file

@ -1,69 +0,0 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"parent": "block/block",
"textures": {
"particle": "betterend:block/thallasium_anvil_front",
"front": "betterend:block/thallasium_anvil_front",
"back": "betterend:block/thallasium_anvil_back",
"top": "betterend:block/thallasium_anvil_top",
"panel": "betterend:block/thallasium_anvil_panel",
"bottom": "betterend:block/thallasium_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 ]
}
}
}

View file

@ -1,3 +0,0 @@
{
"parent": "betterend:block/thallasium_anvil"
}

View file

@ -1,8 +1,68 @@
{
"parent": "minecraft:block/template_anvil",
"parent": "block/block",
"textures": {
"top": "betterend:block/%block%_top",
"body": "betterend:block/%block%",
"particle": "#body"
"particle": "betterend:block/%anvil%_front",
"front": "betterend:block/%anvil%_front",
"back": "betterend:block/%anvil%_back",
"top": "betterend:block/%top%",
"panel": "betterend:block/%anvil%_panel",
"bottom": "betterend: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 ]
}
}
}

View file

@ -1,19 +1,16 @@
{
"variants": {
"facing=east": {
"model": "betterend:pattern/%block%",
"y": 270
},
"facing=north": {
"model": "betterend:pattern/%block%",
"y": 180
},
"facing=south": {
"model": "betterend:pattern/%block%"
},
"facing=west": {
"model": "betterend:pattern/%block%",
"y": 90
}
"destruction=0,facing=east": { "model": "betterend:pattern/%block%/%block%_0", "y": 270 },
"destruction=0,facing=north": { "model": "betterend:pattern/%block%/%block%_0", "y": 180 },
"destruction=0,facing=south": { "model": "betterend:pattern/%block%/%block%_0" },
"destruction=0,facing=west": { "model": "betterend:pattern/%block%/%block%_0", "y": 90 },
"destruction=1,facing=east": { "model": "betterend:pattern/%block%/%block%_1", "y": 270 },
"destruction=1,facing=north": { "model": "betterend:pattern/%block%/%block%_1", "y": 180 },
"destruction=1,facing=south": { "model": "betterend:pattern/%block%/%block%_1" },
"destruction=1,facing=west": { "model": "betterend:pattern/%block%/%block%_1", "y": 90 },
"destruction=2,facing=east": { "model": "betterend:pattern/%block%/%block%_2", "y": 270 },
"destruction=2,facing=north": { "model": "betterend:pattern/%block%/%block%_2", "y": 180 },
"destruction=2,facing=south": { "model": "betterend:pattern/%block%/%block%_2" },
"destruction=2,facing=west": { "model": "betterend:pattern/%block%/%block%_2", "y": 90 }
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 372 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 298 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 370 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 368 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View file

@ -32,6 +32,7 @@
"BoneMealItemMixin",
"PlayerEntityMixin",
"SlimeEntityMixin",
"AnvilBlockMixin",
"BrewingAccessor",
"EntityMixin"
],