Advertisement
MrCheeze

Untitled

May 14th, 2014
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. assets/minecraft/models/block/piston.json
  2. {
  3.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  4.     "variants": {
  5.         "inventory": { "model": "piston_inventory" },
  6.         "down":  { "model": "piston", "x": 270 },
  7.         "up":    { "model": "piston", "x": 90 },
  8.         "north": { "model": "piston", "y": 180 },
  9.         "south": { "model": "piston" },
  10.         "west":  { "model": "piston", "y": 90 },
  11.         "east":  { "model": "piston", "y": 270 },
  12.         "extended_down":  { "model": "piston_extended", "x": 270 },
  13.         "extended_up":    { "model": "piston_extended", "x": 90 },
  14.         "extended_north": { "model": "piston_extended", "y": 180 },
  15.         "extended_south": { "model": "piston_extended" },
  16.         "extended_west":  { "model": "piston_extended", "y": 90 },
  17.         "extended_east":  { "model": "piston_extended", "y": 270 }
  18.     }
  19. }
  20. assets/minecraft/models/block/piston_head.json
  21. {
  22.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  23.     "variants": {
  24.         "down":  { "model": "piston_head", "x": 270 },
  25.         "up":    { "model": "piston_head", "x": 90 },
  26.         "north": { "model": "piston_head", "y": 180 },
  27.         "south": { "model": "piston_head" },
  28.         "west":  { "model": "piston_head", "y": 90 },
  29.         "east":  { "model": "piston_head", "y": 270 },
  30.         "sticky_down":  { "model": "piston_head", "x": 270 },
  31.         "sticky_up":    { "model": "piston_head", "x": 90 },
  32.         "sticky_north": { "model": "piston_head", "y": 180 },
  33.         "sticky_south": { "model": "piston_head" },
  34.         "sticky_west":  { "model": "piston_head", "y": 90 },
  35.         "sticky_east":  { "model": "piston_head", "y": 270 }
  36.     }
  37. }
  38. assets/minecraft/models/block/sticky_piston.json
  39. {
  40.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  41.     "variants": {
  42.         "inventory": { "model": "piston_inventory" },
  43.         "down":  { "model": "piston", "x": 270 },
  44.         "up":    { "model": "piston", "x": 90 },
  45.         "north": { "model": "piston", "y": 180 },
  46.         "south": { "model": "piston" },
  47.         "west":  { "model": "piston", "y": 90 },
  48.         "east":  { "model": "piston", "y": 270 },
  49.         "extended_down":  { "model": "piston_extended", "x": 270 },
  50.         "extended_up":    { "model": "piston_extended", "x": 90 },
  51.         "extended_north": { "model": "piston_extended", "y": 180 },
  52.         "extended_south": { "model": "piston_extended" },
  53.         "extended_west":  { "model": "piston_extended", "y": 90 },
  54.         "extended_east":  { "model": "piston_extended", "y": 270 }
  55.     }
  56. }
  57. assets/minecraft/models/block/meshes/piston.json
  58. {
  59.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  60.     "elements": [
  61.         {   "type": "cube",
  62.             "from": [ 0, 0, 0 ],
  63.             "to": [ 16, 16, 16 ],
  64.             "faceData": {
  65.                 "down": {
  66.                     "uv": [ 0, 0, 16, 16 ],
  67.                     "rotation": 180,
  68.                     "textureFacing": "down",
  69.                     "cull": false
  70.                 },
  71.                 "up": {
  72.                     "uv": [ 0, 0, 16, 16 ],
  73.                     "textureFacing": "down",
  74.                     "cull": false
  75.                 },
  76.                 "north": {
  77.                     "uv": [ 0, 0, 16, 16 ],
  78.                     "textureFacing": "north"
  79.                 },
  80.                 "south": {
  81.                     "uv": [ 0, 0, 16, 16 ],
  82.                     "textureFacing": "south"
  83.                 },
  84.                 "west": {
  85.                     "uv": [ 0, 0, 16, 16 ],
  86.                     "rotation": 270,
  87.                     "textureFacing": "down"
  88.                 },
  89.                 "east": {
  90.                     "uv": [ 0, 0, 16, 16 ],
  91.                     "rotation": 90,
  92.                     "textureFacing": "down"
  93.                 }
  94.             }
  95.         }
  96.     ]
  97. }
  98. assets/minecraft/models/block/meshes/piston_extended.json
  99. {
  100.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  101.     "elements": [
  102.         {   "type": "cube",
  103.             "from": [ 0, 0, 0 ],
  104.             "to": [ 16, 16, 4 ],
  105.             "faceData": {
  106.                 "down": {
  107.                     "uv": [ 0, 4, 16, 0 ],
  108.                     "textureFacing": "west"
  109.                 },
  110.                 "up": {
  111.                     "uv": [ 0, 0, 16, 4 ],
  112.                     "textureFacing": "west"
  113.                 },
  114.                 "north": {
  115.                     "uv": [ 0, 0, 16, 16 ],
  116.                     "textureFacing": "north"
  117.                 },
  118.                 "south": {
  119.                     "uv": [ 0, 0, 16, 16 ],
  120.                     "textureFacing": "north"
  121.                 },
  122.                 "west": {
  123.                     "uv": [ 0, 0, 16, 4 ],
  124.                     "rotation": 270,
  125.                     "textureFacing": "west"
  126.                 },
  127.                 "east": {
  128.                     "uv": [ 0, 0, 16, 4 ],
  129.                     "rotation": 90,
  130.                     "textureFacing": "west"
  131.                 }
  132.             }
  133.         },
  134.         {   "type": "cube",
  135.             "from": [ 6, 6, 4 ],
  136.             "to": [ 10, 10, 16 ],
  137.             "faceData": {
  138.                 "down": {
  139.                     "uv": [ 4, 0, 16, 4 ],
  140.                     "rotation": 90,
  141.                     "textureFacing": "west"
  142.                 },
  143.                 "up": {
  144.                     "uv": [ 4, 0, 16, 4 ],
  145.                     "rotation": 270,
  146.                     "textureFacing": "west"
  147.                 },
  148.                 "west": {
  149.                     "uv": [ 16, 4, 4, 0 ],
  150.                     "textureFacing": "west"
  151.                 },
  152.                 "east": {
  153.                     "uv": [ 4, 0, 16, 4 ],
  154.                     "textureFacing": "west"
  155.                 }
  156.             }
  157.         },
  158.         {   "type": "cube",
  159.             "from": [ 6, 6, 16 ],
  160.             "to": [ 10, 10, 20 ],
  161.             "faceData": {
  162.                 "down": {
  163.                     "uv": [ 0, 0, 4, 4 ],
  164.                     "rotation": 90,
  165.                     "textureFacing": "west"
  166.                 },
  167.                 "up": {
  168.                     "uv": [ 0, 0, 4, 4 ],
  169.                     "rotation": 270,
  170.                     "textureFacing": "west"
  171.                 },
  172.                 "west": {
  173.                     "uv": [ 4, 4, 0, 0 ],
  174.                     "textureFacing": "west"
  175.                 },
  176.                 "east": {
  177.                     "uv": [ 0, 0, 4, 4 ],
  178.                     "textureFacing": "west"
  179.                 }
  180.             }
  181.         }
  182.     ]
  183. }
  184. assets/minecraft/models/block/meshes/piston_head.json
  185. {
  186.     "__comment": "Fair warning, this format is highly likely to change even more in the future!",
  187.     "elements": [
  188.         {   "type": "cube",
  189.             "from": [ 0, 0, 4 ],
  190.             "to": [ 16, 8, 16 ],
  191.             "faceData": {
  192.                 "down": {
  193.                     "uv": [ 0, 4, 16, 16 ],
  194.                     "rotation": 180,
  195.                     "textureFacing": "west"
  196.                 },
  197.                 "up": {
  198.                     "uv": [ 0, 4, 16, 16 ],
  199.                     "textureFacing": "west"
  200.                 },
  201.                 "north": {
  202.                     "uv": [ 0, 8, 16, 16 ],
  203.                     "textureFacing": "west",
  204.                     "cull": false
  205.                 },
  206.                 "south": {
  207.                     "uv": [ 0, 8, 16, 16 ],
  208.                     "textureFacing": "west"
  209.                 },
  210.                 "west": {
  211.                     "uv": [ 16, 4, 8, 16 ],
  212.                     "rotation": 270,
  213.                     "textureFacing": "west"
  214.                 },
  215.                 "east": {
  216.                     "uv": [ 8, 4, 16, 16 ],
  217.                     "rotation": 90,
  218.                     "textureFacing": "west"
  219.                 }
  220.             }
  221.         },
  222.         {   "type": "cube",
  223.             "from": [ 0, 8, 4 ],
  224.             "to": [ 16, 16, 16 ],
  225.             "faceData": {
  226.                 "down": {
  227.                     "uv": [ 0, 4, 16, 16 ],
  228.                     "rotation": 180,
  229.                     "textureFacing": "west"
  230.                 },
  231.                 "up": {
  232.                     "uv": [ 0, 4, 16, 16 ],
  233.                     "textureFacing": "west"
  234.                 },
  235.                 "north": {
  236.                     "uv": [ 16, 16, 0, 8 ],
  237.                     "textureFacing": "west",
  238.                     "cull": false
  239.                 },
  240.                 "south": {
  241.                     "uv": [ 16, 16, 0, 8 ],
  242.                     "textureFacing": "west"
  243.                 },
  244.                 "west": {
  245.                     "uv": [ 8, 4, 0, 16 ],
  246.                     "rotation": 270,
  247.                     "textureFacing": "west"
  248.                 },
  249.                 "east": {
  250.                     "uv": [ 0, 4, 8, 16 ],
  251.                     "rotation": 90,
  252.                     "textureFacing": "west"
  253.                 }
  254.             }
  255.         }
  256.     ]
  257. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement