mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 07:55:53 +00:00
Fixed NPE is B3D loader caused by the missing vertex normal; updated the example chest model - it's now has 2 meshes; Updated ModelAnimationDebug - it now uses the new chest model, renders the base with the static world renderer, and only the lid with the TESR.
This commit is contained in:
1 parent
918d59d6a6
commit
9815d729b5
5 files changed
+49
-15
No files matched your search
+21
-2
@@ -6,13 +6,20 @@
|
||||
},
|
||||
"model": "forgedebugmodelloaderregistry:chest.b3d",
|
||||
"custom": {
|
||||
"mesh": ["Cube.001"]
|
||||
"mesh": ["Base", "Lid"]
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"normal": [{}],
|
||||
"inventory": [{
|
||||
"transform": "forge:default-block"
|
||||
"transform": {
|
||||
"rotation": { "y": 180 },
|
||||
"thirdperson": {
|
||||
"rotation": [ { "z": 170 }, { "y": -45 }, { "z": 20 } ],
|
||||
"translation": [ 0, 0.09375, -0.171875 ],
|
||||
"scale": 0.375
|
||||
}
|
||||
}
|
||||
}],
|
||||
"facing": {
|
||||
"down": { "transform": { "rotation": { "x": 90 } } },
|
||||
@@ -21,6 +28,18 @@
|
||||
"south": { "transform": "identity" },
|
||||
"west": { "transform": { "rotation": { "y": 90 } } },
|
||||
"east": { "transform": { "rotation": { "y": 270 } } }
|
||||
},
|
||||
"static": {
|
||||
"true": {
|
||||
"custom": {
|
||||
"mesh": ["Base"]
|
||||
}
|
||||
},
|
||||
"false": {
|
||||
"custom": {
|
||||
"mesh": ["Lid"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -6,7 +6,10 @@
|
||||
"#chest": "entity/chest/normal"
|
||||
},
|
||||
"model": "forgedebugmodelloaderregistry:chest.b3d",
|
||||
"transform": "forge:default-block"
|
||||
"transform": "forge:default-block",
|
||||
"custom": {
|
||||
"mesh": ["Base", "Lid"]
|
||||
}
|
||||
},
|
||||
"variants": {
|
||||
"normal": [{}],
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user