Advertisement
Guest User

Forge Blockstates V2

a guest
Nov 11th, 2015
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.77 KB | None | 0 0
  1. {
  2.     "forge-marker": 2,
  3.     "properties": { // Used to permutate to a vanilla property string.
  4.         "north": [ "true", "false" ]
  5.         "east": [ "true", "false" ]
  6.         "south": [ "true", "false" ]
  7.         "west": [ "true", "false" ]
  8.         "up": [ "true", "false" ]
  9.     },
  10.     "variants": [ "inventory" ],
  11.     "matchers": [   // Matches in various ways to vanilla property strings. The order defines what priority each match has, last ones overriding.
  12.         {   // If no matcher type is specified, this will match anything.
  13.             "textures": {"wall": "blocks/cobblestone"},
  14.             "model": "cobblestone_wall_post",
  15.             "uvlock": true
  16.         },
  17.         {
  18.             "type": "properties", "match": "north",
  19.             "variants": {
  20.                 "true": { "submodel": "forgeblockstatesloader:wall_connect" }
  21.             }
  22.         },
  23.         {
  24.             "type": "properties", "match": "east",
  25.             "variants": {
  26.                 "true": {"submodel": "forgeblockstatesloader:wall_connect", "y": 90}
  27.             }
  28.         },
  29.         {
  30.             "type": "properties", "match": "south",
  31.             "variants": {
  32.                 "true": {"submodel": "forgeblockstatesloader:wall_connect", "y": 180}
  33.             }
  34.         },
  35.         {
  36.             "type": "properties", "match": "west",
  37.             "variants": {
  38.                 "true": {"submodel": "forgeblockstatesloader:wall_connect", "y": 270}
  39.             }
  40.         },
  41.         {
  42.             "type": "properties", "match": "east,west",
  43.             "variants": {
  44.                 "true,true": {"submodel": "forgeblockstatesloader:wall_connect", "y": 270}
  45.             }
  46.         },
  47.         {
  48.             "type": "properties", "match": "north,south",
  49.             "variants": {
  50.                 "true,true": {"model": null}
  51.             }
  52.         },
  53.         {
  54.             "type": "variant", "match": "inventory",
  55.             "variants": {
  56.                 "true": {
  57.                     submodel: {
  58.                         "north": { "model": "forgeblockstatesloader:wall_connect" },
  59.                         "south": { "model": "forgeblockstatesloader:wall_connect", "y": 180 }
  60.                     },
  61.                     "transform": "forge:default-block"
  62.                 }
  63.             }
  64.         }
  65.     ]
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement