Guest User

JSON block file

a guest
Aug 20th, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.69 KB | None | 0 0
  1. //stored in its own file: model/block/Pipe/
  2. {
  3. "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
  4. "textures": {
  5. "0": "tutorial:blocks/Pipe/Rust",
  6. "1": "tutorial:blocks/Pipe/Plug",
  7. "2": "tutorial:blocks/Pipe/IndicatorTopOff",
  8. "3": "tutorial:blocks/Pipe/IndicatorOff"
  9. },
  10. "elements": [
  11. {
  12. "name": "Base",
  13. "from": [ 4.0, 2.0, 0.0 ],
  14. "to": [ 12.0, 4.0, 16.0 ],
  15. "faces": {
  16. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  17. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  18. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "rotation": 90 },
  19. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  20. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  21. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
  22. }
  23. },
  24. {
  25. "name": "LineIn",
  26. "from": [ 6.0, 4.0, 0.0 ],
  27. "to": [ 10.0, 6.0, 16.0 ],
  28. "faces": {
  29. "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  30. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  31. "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  32. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  33. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  34. "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 16.0 ] }
  35. }
  36. },
  37. {
  38. "name": "LineOut",
  39. "from": [ 6.0, 8.0, 0.0 ],
  40. "to": [ 10.0, 10.0, 16.0 ],
  41. "faces": {
  42. "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  43. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  44. "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  45. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  46. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 8.0, 16.0 ] },
  47. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
  48. }
  49. },
  50. {
  51. "name": "ExtraLine",
  52. "from": [ 6.0, 0.0, 0.0 ],
  53. "to": [ 10.0, 2.0, 16.0 ],
  54. "faces": {
  55. "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  56. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  57. "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  58. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 7.0 ] },
  59. "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 16.0 ] },
  60. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 8.0, 16.0 ] }
  61. }
  62. },
  63. {
  64. "name": "Base2",
  65. "from": [ 4.0, 6.0, 0.0 ],
  66. "to": [ 12.0, 8.0, 16.0 ],
  67. "faces": {
  68. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  69. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  70. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  71. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  72. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  73. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
  74. }
  75. },
  76. {
  77. "name": "IndicatorLeft",
  78. "from": [ 3.9000000000000004, 2.0, 4.0 ],
  79. "to": [ 6.9, 8.0, 12.0 ],
  80. "faces": {
  81. "north": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
  82. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 4.0, 3.0 ] },
  83. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
  84. "west": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  85. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
  86. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }
  87. }
  88. },
  89. {
  90. "name": "IndicatorRight",
  91. "from": [ 9.1, 2.0, 4.0 ],
  92. "to": [ 12.1, 8.0, 12.0 ],
  93. "faces": {
  94. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
  95. "east": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  96. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
  97. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  98. "up": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] },
  99. "down": { "texture": "#0", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }
  100. }
  101. },
  102. {
  103. "name": "TopIndicator1",
  104. "from": [ 7.0, 10.0, 0.0 ],
  105. "to": [ 9.0, 11.0, 3.0 ],
  106. "faces": {
  107. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  108. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
  109. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  110. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 11.0, 1.0 ] },
  111. "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  112. "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 16.0 ] }
  113. }
  114. },
  115. {
  116. "name": "TopIndicator2",
  117. "from": [ 7.0, 10.0, 6.0 ],
  118. "to": [ 9.0, 11.0, 10.0 ],
  119. "faces": {
  120. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  121. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
  122. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  123. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 11.0, 1.0 ] },
  124. "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  125. "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 16.0 ] }
  126. }
  127. },
  128. {
  129. "name": "TopIndicator3",
  130. "from": [ 7.0, 10.0, 13.0 ],
  131. "to": [ 9.0, 11.0, 16.0 ],
  132. "faces": {
  133. "north": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  134. "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 1.0 ] },
  135. "south": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 1.0 ] },
  136. "west": { "texture": "#0", "uv": [ 0.0, 0.0, 11.0, 1.0 ] },
  137. "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
  138. "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 2.0, 16.0 ] }
  139. }
  140. }
  141. ]
  142. }
Advertisement
Add Comment
Please, Sign In to add comment