Changes

32 bytes added ,  14:44, 18 June 2022
Update to 1.19
Line 38: Line 38:  
{  
 
{  
 
   "when":  { "east": "true" },
 
   "when":  { "east": "true" },
   "apply": { "model": "oak_fence_side", "y": 90, "uvlock": true }
+
   "apply": { "model": "minecraft:block/oak_fence_side", "y": 90, "uvlock": true }
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
In this case, the JSON defines that if the east connector is true, then show the model <code>oak_fence_side</code> rotated 90 degrees. This allows the model to be broken up in only two files: the base post and the connection. It can also be represented as 5 statements, one that checks if each of the sides is connected and one that applies the base post unconditionally.
+
In this case, the JSON defines that if the east connector is true, then show the model <code>minecraft:block/oak_fence_side</code> rotated 90 degrees. This allows the model to be broken up in only two files: the base post and the connection. It can also be represented as 5 statements, one that checks if each of the sides is connected and one that applies the base post unconditionally.
       
[[Category:Models]]
 
[[Category:Models]]