Major Refactoring of Bootstrap Code (#75)

- Refactored boostrap code:
  * Completely reworked item/block/tile registration.
  * Fixed server side startup.
  * Fixed server side startup.
  * More documentation.
  * More heavy cleanup
  * More cleanups.
  * Major refactoring of state mapping and fixes a lot of other issue related to item rendering.
  * Fixes sky chest item models (no item TESR).
  * Only use CachingRotatingBakedModel for tile entities automatically.
  Fix default rotation of quartz pillar for item model.
  * Used method reference instead of lambda for ItemMeshDefinition for multiparts.
  * Removed unnecessary IHasSpecialItemModel
  * Removed unused IconReg class.
  * Updated resource pack version.
This commit is contained in:
shartte
2016-08-22 14:25:10 +02:00
committed by Sebastian Hartte
parent 66df324ef0
commit 6f2bbfab4c
172 changed files with 2289 additions and 2863 deletions
@@ -1,3 +0,0 @@
{
"parent": "appliedenergistics2:block/EnergyCell/creative_energy_cell"
}
@@ -1,22 +0,0 @@
{
"display": {
"thirdperson": {
"rotation": [
10,
-45,
170
],
"scale": [
0.375,
0.375,
0.375
],
"translation": [
0,
1.5,
-2.75
]
}
},
"parent": "appliedenergistics2:fluix/block"
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "appliedenergistics2:items/quartz_glass"
"all": "appliedenergistics2:blocks/quartz_glass"
}
}
@@ -1,3 +0,0 @@
{
"parent": "appliedenergistics2:block/quartz_pillar"
}
@@ -1,107 +1,7 @@
{
"display": {
"firstperson_righthand": {
"rotation": [
0,
315,
0
],
"scale": [
0.4,
0.4,
0.4
],
"translation": [
0,
0,
0
]
},
"fixed": {
"rotation": [
0,
180,
0
],
"scale": [
0.5,
0.5,
0.5
],
"translation": [
0,
0,
0
]
},
"ground": {
"rotation": [
0,
0,
0
],
"scale": [
0.25,
0.25,
0.25
],
"translation": [
0,
3,
0
]
},
"gui": {
"rotation": [
30,
45,
0
],
"scale": [
0.625,
0.625,
0.625
],
"translation": [
0,
0,
0
]
},
"head": {
"rotation": [
0,
180,
0
],
"scale": [
1,
1,
1
],
"translation": [
0,
0,
0
]
},
"thirdperson_righthand": {
"rotation": [
75,
315,
0
],
"scale": [
0.375,
0.375,
0.375
],
"translation": [
0,
2.5,
0
]
}
},
"parent": "builtin/entity"
"parent": "appliedenergistics2:item/sky_chest_stone",
"textures": {
"particle": "appliedenergistics2:models/skyblockchest",
"0": "appliedenergistics2:models/skyblockchest"
}
}
@@ -1,107 +1,50 @@
{
"display": {
"firstperson_righthand": {
"rotation": [
0,
315,
0
],
"scale": [
0.4,
0.4,
0.4
],
"translation": [
0,
0,
0
]
},
"fixed": {
"rotation": [
0,
180,
0
],
"scale": [
0.5,
0.5,
0.5
],
"translation": [
0,
0,
0
]
},
"ground": {
"rotation": [
0,
0,
0
],
"scale": [
0.25,
0.25,
0.25
],
"translation": [
0,
3,
0
]
},
"gui": {
"rotation": [
30,
45,
0
],
"scale": [
0.625,
0.625,
0.625
],
"translation": [
0,
0,
0
]
},
"head": {
"rotation": [
0,
180,
0
],
"scale": [
1,
1,
1
],
"translation": [
0,
0,
0
]
},
"thirdperson_righthand": {
"rotation": [
75,
315,
0
],
"scale": [
0.375,
0.375,
0.375
],
"translation": [
0,
2.5,
0
]
}
"parent": "block/orientable",
"textures": {
"particle": "appliedenergistics2:models/skychest",
"0": "appliedenergistics2:models/skychest"
},
"parent": "builtin/entity"
"elements": [
{
"name": "Base",
"from": [ 1.0, 0.0, 1.0 ],
"to": [ 15.0, 10.0, 15.0 ],
"shade": false,
"faces": {
"north": { "texture": "#0", "uv": [ 3.5, 8.25, 7, 10.75 ] },
"east": { "texture": "#0", "uv": [ 0.0, 8.25, 3.5, 10.75 ] },
"south": { "texture": "#0", "uv": [ 10.5, 8.25, 14, 10.75 ] },
"west": { "texture": "#0", "uv": [ 7, 8.25, 10.5, 10.75 ] },
"up": { "texture": "#0", "uv": [ 3.5, 0.0, 7, 3.5 ] },
"down": { "texture": "#0", "uv": [ 7, 0.0, 10.5, 3.5 ] }
}
},
{
"name": "Lid",
"from": [ 1.0, 10.0, 1.0 ],
"to": [ 15.0, 15.0, 15.0 ],
"shade": false,
"faces": {
"north": { "texture": "#0", "uv": [ 3.5, 3.5, 7, 4.75 ] },
"east": { "texture": "#0", "uv": [ 0.0, 3.5, 3.5, 4.75 ] },
"south": { "texture": "#0", "uv": [ 10.5, 3.5, 14, 4.75 ] },
"west": { "texture": "#0", "uv": [ 7, 3.5, 10.5, 4.75 ] },
"up": { "texture": "#0", "uv": [ 3.5, 0.0, 7, 3.5 ] },
"down": { "texture": "#0", "uv": [ 7, 0.0, 10.5, 3.5 ] }
}
},
{
"name": "Knob",
"from": [ 7.0, 6.0, 0.0 ],
"to": [ 9.0, 10.0, 1.0 ],
"shade": false,
"faces": {
"north": { "texture": "#0", "uv": [ 0.25, 0.25, 0.75, 1.25 ] },
"east": { "texture": "#0", "uv": [ 0, 0.25, 0.25, 1.25 ] },
"west": { "texture": "#0", "uv": [ 0.75, 0.25, 1.5, 1.25 ] },
"up": { "texture": "#0", "uv": [ 0.25, 0.0, 0.75, 0.25 ] },
"down": { "texture": "#0", "uv": [ 0.75, 0.0, 1.5, 0.25 ] }
}
}
]
}
@@ -1,3 +0,0 @@
{
"parent": "appliedenergistics2:tiny_tnt"
}