Advertisement
Guest User

Untitled

a guest
May 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. public final class Model {
  2. public final Techne techne;
  3.  
  4. public model(Techne techne){
  5. this.techne = techne;
  6. }
  7.  
  8. public static final class Techne {
  9. public final String Version;
  10. public final String author;
  11. public final String dateCreated;
  12. public final String description;
  13. public final Model models[];
  14. public final String name;
  15. public final String previewImage;
  16. public final String projectName;
  17. public final String projectType;
  18.  
  19. public Techne(String Version, String author, String dateCreated, String description, Model[] models, String name, String previewImage, String projectName, String projectType){
  20. this.Version = Version;
  21. this.author = author;
  22. this.dateCreated = dateCreated;
  23. this.description = description;
  24. this.models = models;
  25. this.name = name;
  26. this.previewImage = previewImage;
  27. this.projectName = projectName;
  28. this.projectType = projectType;
  29. }
  30.  
  31. public static final class Model {
  32. public final Model model;
  33.  
  34. public Model(Model model){
  35. this.model = model;
  36. }
  37.  
  38. public static final class Model {
  39. public final String texture;
  40. public final String baseClass;
  41. public final Geometry geometry;
  42. public final String glScale;
  43. public final String name;
  44. public final String textureSize;
  45.  
  46. public Model(String texture, String baseClass, Geometry geometry, String glScale, String name, String textureSize){
  47. this.texture = texture;
  48. this.baseClass = baseClass;
  49. this.geometry = geometry;
  50. this.glScale = glScale;
  51. this.name = name;
  52. this.textureSize = textureSize;
  53. }
  54.  
  55. public static final class Geometry {
  56. public final Shape shape[];
  57.  
  58. public Geometry(Shape[] shape){
  59. this.shape = shape;
  60. }
  61.  
  62. public static final class Shape {
  63. public final String type;
  64. public final String name;
  65. public final Animation animation;
  66. public final String isDecorative;
  67. public final String isFixed;
  68. public final String isMirrored;
  69. public final String offset;
  70. public final String position;
  71. public final String rotation;
  72. public final String size;
  73. public final String textureOffset;
  74.  
  75. public Shape(String type, String name, Animation animation, String isDecorative, String isFixed, String isMirrored, String offset, String position, String rotation, String size, String textureOffset){
  76. this.type = type;
  77. this.name = name;
  78. this.animation = animation;
  79. this.isDecorative = isDecorative;
  80. this.isFixed = isFixed;
  81. this.isMirrored = isMirrored;
  82. this.offset = offset;
  83. this.position = position;
  84. this.rotation = rotation;
  85. this.size = size;
  86. this.textureOffset = textureOffset;
  87. }
  88.  
  89. public static final class Animation {
  90. public final String animationAngles;
  91. public final String animationDuration;
  92. public final String animationType;
  93.  
  94. public Animation(String animationAngles, String animationDuration, String animationType){
  95. this.animationAngles = animationAngles;
  96. this.animationDuration = animationDuration;
  97. this.animationType = animationType;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. }
  104. }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement