Triple block pattern fix
This commit is contained in:
parent
aaea144366
commit
e1122359f1
2 changed files with 13 additions and 13 deletions
|
@ -48,7 +48,7 @@ public class TripleTerrainBlock extends EndTerrainBlock {
|
||||||
System.out.println(block);
|
System.out.println(block);
|
||||||
String name = Registry.BLOCK.getId(this).getPath();
|
String name = Registry.BLOCK.getId(this).getPath();
|
||||||
if (block.endsWith("_middle")) {
|
if (block.endsWith("_middle")) {
|
||||||
return Patterns.createJson(Patterns.BLOCK_BASE, name + "_top");
|
return Patterns.createJson(Patterns.BLOCK_BASE, name + "_top", name + "_top");
|
||||||
}
|
}
|
||||||
Map<String, String> map = Maps.newHashMap();
|
Map<String, String> map = Maps.newHashMap();
|
||||||
map.put("%top%", "betterend:block/" + name + "_top");
|
map.put("%top%", "betterend:block/" + name + "_top");
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
{
|
{
|
||||||
"variants": {
|
"variants": {
|
||||||
"shape=bottom": [
|
"shape=bottom": [
|
||||||
{ "model": "betterend:pattern/%block%" },
|
{ "model": "betterend:pattern/%block%/%block%" },
|
||||||
{ "model": "betterend:pattern/%block%", "y": 90 },
|
{ "model": "betterend:pattern/%block%/%block%", "y": 90 },
|
||||||
{ "model": "betterend:pattern/%block%", "y": 180 },
|
{ "model": "betterend:pattern/%block%/%block%", "y": 180 },
|
||||||
{ "model": "betterend:pattern/%block%", "y": 270 }
|
{ "model": "betterend:pattern/%block%/%block%", "y": 270 }
|
||||||
],
|
],
|
||||||
"shape=middle": [
|
"shape=middle": [
|
||||||
{ "model": "betterend:pattern/%block%_middle" },
|
{ "model": "betterend:pattern/%block%/%block%_middle" },
|
||||||
{ "model": "betterend:pattern/%block%_middle", "y": 90 },
|
{ "model": "betterend:pattern/%block%/%block%_middle", "y": 90 },
|
||||||
{ "model": "betterend:pattern/%block%_middle", "y": 180 },
|
{ "model": "betterend:pattern/%block%/%block%_middle", "y": 180 },
|
||||||
{ "model": "betterend:pattern/%block%_middle", "y": 270 }
|
{ "model": "betterend:pattern/%block%/%block%_middle", "y": 270 }
|
||||||
],
|
],
|
||||||
"shape=top": [
|
"shape=top": [
|
||||||
{ "model": "betterend:pattern/%block%", "x": 180 },
|
{ "model": "betterend:pattern/%block%/%block%", "x": 180 },
|
||||||
{ "model": "betterend:pattern/%block%", "x": 180, "y": 90 },
|
{ "model": "betterend:pattern/%block%/%block%", "x": 180, "y": 90 },
|
||||||
{ "model": "betterend:pattern/%block%", "x": 180, "y": 180 },
|
{ "model": "betterend:pattern/%block%/%block%", "x": 180, "y": 180 },
|
||||||
{ "model": "betterend:pattern/%block%", "x": 180, "y": 270 }
|
{ "model": "betterend:pattern/%block%/%block%", "x": 180, "y": 270 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue