mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-23 17:09:19 +00:00
修复低版本模型生成重复问题
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"gui_light": "front",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, 60, 0],
|
||||
@@ -89,6 +90,19 @@
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, 90, -25],
|
||||
"translation": [-2.5, 7.5, 4.75]
|
||||
},
|
||||
"ground": {
|
||||
"rotation": [0, 0, 45],
|
||||
"translation": [-2, 2, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 0, -45],
|
||||
"translation": [5, 5, 0],
|
||||
"scale": [1.25, 1.25, 1.25]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [0, 6, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,6 +71,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"gui_light": "front",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [0, 90, 180],
|
||||
@@ -91,6 +92,19 @@
|
||||
"rotation": [0, 90, -25],
|
||||
"translation": [0.75, -5, -0.75],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"ground": {
|
||||
"rotation": [0, 0, 45],
|
||||
"translation": [-2, 2, 0],
|
||||
"scale": [0.5, 0.5, 0.5]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 0, -45],
|
||||
"translation": [5, 5, 0],
|
||||
"scale": [1.25, 1.25, 1.25]
|
||||
},
|
||||
"fixed": {
|
||||
"translation": [0, 6, 0]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1085,6 +1085,8 @@ public abstract class AbstractPackManager implements PackManager {
|
||||
if (originalItemModel == null) {
|
||||
plugin.logger().warn("Failed to load item model for [" + key + "] (legacy)");
|
||||
continue;
|
||||
} else {
|
||||
originalItemModel = originalItemModel.deepCopy();
|
||||
}
|
||||
JsonArray overrides;
|
||||
if (originalItemModel.has("overrides")) {
|
||||
|
||||
Reference in New Issue
Block a user