diff --git a/src/main/java/com/atsuishio/superbwarfare/client/model/item/Mk14ItemModel.java b/src/main/java/com/atsuishio/superbwarfare/client/model/item/Mk14ItemModel.java index 9d0e0fa98..456f90e38 100644 --- a/src/main/java/com/atsuishio/superbwarfare/client/model/item/Mk14ItemModel.java +++ b/src/main/java/com/atsuishio/superbwarfare/client/model/item/Mk14ItemModel.java @@ -38,6 +38,16 @@ public class Mk14ItemModel extends CustomGunModel { return Mod.loc("textures/item/mk_14.png"); } + @Override + public ResourceLocation getLODModelResource(Mk14Item animatable) { + return Mod.loc("geo/lod/mk_14.geo.json"); + } + + @Override + public ResourceLocation getLODTextureResource(Mk14Item animatable) { + return Mod.loc("textures/item/lod/mk_14.png"); + } + @Override public void setCustomAnimations(Mk14Item animatable, long instanceId, AnimationState animationState) { Player player = Minecraft.getInstance().player; diff --git a/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/Mk14ItemRenderer.java b/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/Mk14ItemRenderer.java index 4b4b1e895..88517cfcc 100644 --- a/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/Mk14ItemRenderer.java +++ b/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/Mk14ItemRenderer.java @@ -40,37 +40,50 @@ public class Mk14ItemRenderer extends CustomGunRenderer { var player = mc.player; if (player == null) return; ItemStack itemStack = player.getMainHandItem(); + + boolean needHide = name.equals("qiaojia"); + if (itemStack.getItem() instanceof GunItem && GeoItem.getId(itemStack) == this.getInstanceId(animatable)) { - if (this.renderPerspective == ItemDisplayContext.FIRST_PERSON_RIGHT_HAND) { - if (name.equals("qiaojia")) { + if (this.renderPerspective == ItemDisplayContext.FIRST_PERSON_RIGHT_HAND || this.renderPerspective == ItemDisplayContext.THIRD_PERSON_RIGHT_HAND) { + + if (needHide) { bone.setHidden(GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 0); } - if (GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 2 - && (name.equals("hidden"))) { - bone.setHidden(ClientEventHandler.zoomPos > 0.7 && ClientEventHandler.zoom); + + AnimationHelper.handleShootFlare(name, stack, itemStack, bone, buffer, packedLightIn, 0, 0, 1.475, 0.33); + ItemModelHelper.handleGunAttachments(bone, itemStack, name); + + if (this.renderPerspective == ItemDisplayContext.FIRST_PERSON_RIGHT_HAND) { + if (GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 2 + && (name.equals("hidden"))) { + bone.setHidden(ClientEventHandler.zoomPos > 0.7 && ClientEventHandler.zoom); + } + if (GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 3 + && (name.equals("jing") || name.equals("yugu") || name.equals("qiangguan") || name.equals("Barrel"))) { + bone.setHidden(ClientEventHandler.zoomPos > 0.7 && ClientEventHandler.zoom); + } + + int scopeType = GunData.from(itemStack).attachment.get(AttachmentType.SCOPE); + + switch (scopeType) { + case 1 -> + AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.25, 30, 0.8f, 255, 0, 0, 255, "eotech", false); + case 2 -> + AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.313, 9, 1, 255, 0, 0, 255, "acog", true); + case 3 -> + AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.29, 45, (float) ClientEventHandler.customZoom, 255, 0, 0, 255, "lpvo", true); + } } - if (GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 3 - && (name.equals("jing") || name.equals("yugu") || name.equals("qiangguan") || name.equals("Barrel"))) { - bone.setHidden(ClientEventHandler.zoomPos > 0.7 && ClientEventHandler.zoom); + + } else { + ItemModelHelper.hideAllAttachments(bone, name); + if (needHide) { + bone.setHidden(true); } } - - int scopeType = GunData.from(itemStack).attachment.get(AttachmentType.SCOPE); - - switch (scopeType) { - case 1 -> - AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.25, 30, 0.8f, 255, 0, 0, 255, "eotech", false); - case 2 -> - AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.313, 9, 1, 255, 0, 0, 255, "acog", true); - case 3 -> - AnimationHelper.handleZoomCrossHair(currentBuffer, renderType, name, stack, bone, buffer, 0, 0.29, 45, (float) ClientEventHandler.customZoom, 255, 0, 0, 255, "lpvo", true); - } - - AnimationHelper.handleShootFlare(name, stack, itemStack, bone, buffer, packedLightIn, 0, 0, 1.475, 0.33); - ItemModelHelper.handleGunAttachments(bone, itemStack, name); } else { ItemModelHelper.hideAllAttachments(bone, name); - if (name.equals("qiaojia")) { + if (needHide) { bone.setHidden(true); } } diff --git a/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/SvdItemRenderer.java b/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/SvdItemRenderer.java index 00c5540c5..6e0a3f2ac 100644 --- a/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/SvdItemRenderer.java +++ b/src/main/java/com/atsuishio/superbwarfare/client/renderer/gun/SvdItemRenderer.java @@ -45,7 +45,7 @@ public class SvdItemRenderer extends CustomGunRenderer { if (itemStack.getItem() instanceof GunItem && GeoItem.getId(itemStack) == this.getInstanceId(animatable)) { if (this.renderPerspective == ItemDisplayContext.FIRST_PERSON_RIGHT_HAND || this.renderPerspective == ItemDisplayContext.THIRD_PERSON_RIGHT_HAND) { - if (name.equals("mount")) { + if (needHide) { bone.setHidden(GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 0 || GunData.from(itemStack).attachment.get(AttachmentType.SCOPE) == 2); } diff --git a/src/main/resources/assets/superbwarfare/geo/lod/mk_14.geo.json b/src/main/resources/assets/superbwarfare/geo/lod/mk_14.geo.json new file mode 100644 index 000000000..c1bdba40d --- /dev/null +++ b/src/main/resources/assets/superbwarfare/geo/lod/mk_14.geo.json @@ -0,0 +1,416 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.mk_14", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "group4", + "pivot": [0, 0, 0], + "cubes": [ + { + "origin": [-0.904, 0.755, -16.3], + "size": [1.808, 2.712, 11.3], + "uv": { + "north": {"uv": [22, 14], "uv_size": [2, 2]}, + "east": {"uv": [4, 0], "uv_size": [10, 2]}, + "south": {"uv": [2, 26], "uv_size": [2, 2]}, + "west": {"uv": [4, 2], "uv_size": [10, 2]}, + "up": {"uv": [4, 4], "uv_size": [2, 10]}, + "down": {"uv": [6, 14], "uv_size": [2, -10]} + } + }, + { + "origin": [-1.017, 0.4725, -12.0625], + "size": [2.034, 1.582, 17.2325], + "uv": { + "north": {"uv": [29, 1], "uv_size": [2, 1]}, + "east": {"uv": [14, 0], "uv_size": [15, 1]}, + "south": {"uv": [29, 6], "uv_size": [2, 1]}, + "west": {"uv": [14, 1], "uv_size": [15, 1]}, + "up": {"uv": [0, 0], "uv_size": [2, 15]}, + "down": {"uv": [2, 15], "uv_size": [2, -15]} + } + }, + { + "origin": [-1.017, 0.4725, 11.385], + "size": [2.034, 1.8645, 5.085], + "uv": { + "north": {"uv": [26, 2], "uv_size": [2, 2]}, + "east": {"uv": [17, 10], "uv_size": [5, 2]}, + "south": {"uv": [26, 10], "uv_size": [2, 2]}, + "west": {"uv": [17, 12], "uv_size": [5, 2]}, + "up": {"uv": [12, 18], "uv_size": [2, 5]}, + "down": {"uv": [14, 23], "uv_size": [2, -5]} + } + }, + { + "origin": [-1.017, 2.6195, 7.995], + "size": [2.034, 0.2825, 5.085], + "uv": { + "north": {"uv": [29, 7], "uv_size": [2, 1]}, + "east": {"uv": [25, 21], "uv_size": [5, 1]}, + "south": {"uv": [13, 29], "uv_size": [2, 1]}, + "west": {"uv": [25, 22], "uv_size": [5, 1]}, + "up": {"uv": [16, 18], "uv_size": [2, 5]}, + "down": {"uv": [18, 23], "uv_size": [2, -5]} + } + }, + { + "origin": [-0.7345, 2.337, 11.6675], + "size": [1.469, 0.2825, 1.4125], + "uv": { + "north": {"uv": [26, 30], "uv_size": [1, 1]}, + "east": {"uv": [30, 26], "uv_size": [1, 1]}, + "south": {"uv": [27, 30], "uv_size": [1, 1]}, + "west": {"uv": [28, 30], "uv_size": [1, 1]}, + "up": {"uv": [29, 30], "uv_size": [1, 1]}, + "down": {"uv": [30, 31], "uv_size": [1, -1]} + } + }, + { + "origin": [-1.017, -2.9175, 14.6055], + "size": [2.034, 3.39, 1.8645], + "uv": { + "north": {"uv": [16, 23], "uv_size": [2, 3]}, + "east": {"uv": [18, 23], "uv_size": [2, 3]}, + "south": {"uv": [24, 2], "uv_size": [2, 3]}, + "west": {"uv": [6, 24], "uv_size": [2, 3]}, + "up": {"uv": [26, 12], "uv_size": [2, 2]}, + "down": {"uv": [26, 16], "uv_size": [2, -2]} + } + }, + { + "origin": [-1.017, -2.62526, 14.21021], + "size": [2.034, 3.955, 1.8645], + "pivot": [0, -1.77776, 15.14246], + "rotation": [22.5, 0, 0], + "uv": { + "north": {"uv": [6, 20], "uv_size": [2, 4]}, + "east": {"uv": [20, 20], "uv_size": [2, 4]}, + "south": {"uv": [0, 21], "uv_size": [2, 4]}, + "west": {"uv": [22, 2], "uv_size": [2, 4]}, + "up": {"uv": [16, 26], "uv_size": [2, 2]}, + "down": {"uv": [18, 28], "uv_size": [2, -2]} + } + }, + { + "origin": [-1.13, -5.49621, 2.68628], + "size": [2.034, 4.1245, 1.695], + "pivot": [-0.113, -2.86896, -1.69247], + "rotation": [22.5, 0, 0], + "uv": { + "north": {"uv": [22, 10], "uv_size": [2, 4]}, + "east": {"uv": [22, 20], "uv_size": [2, 4]}, + "south": {"uv": [12, 23], "uv_size": [2, 4]}, + "west": {"uv": [14, 23], "uv_size": [2, 4]}, + "up": {"uv": [26, 23], "uv_size": [2, 2]}, + "down": {"uv": [26, 27], "uv_size": [2, -2]} + } + }, + { + "origin": [-1.13, -5.77871, 2.40378], + "size": [2.034, 0.2825, 1.9775], + "pivot": [-0.113, -2.86896, -1.69247], + "rotation": [22.5, 0, 0], + "uv": { + "north": {"uv": [26, 29], "uv_size": [2, 1]}, + "east": {"uv": [29, 27], "uv_size": [2, 1]}, + "south": {"uv": [29, 28], "uv_size": [2, 1]}, + "west": {"uv": [29, 29], "uv_size": [2, 1]}, + "up": {"uv": [6, 27], "uv_size": [2, 2]}, + "down": {"uv": [27, 8], "uv_size": [2, -2]} + } + }, + { + "origin": [-0.904, 2.0545, -0.1975], + "size": [1.808, 1.695, 2.5425], + "uv": { + "north": {"uv": [12, 27], "uv_size": [2, 2]}, + "east": {"uv": [14, 27], "uv_size": [2, 2]}, + "south": {"uv": [26, 27], "uv_size": [2, 2]}, + "west": {"uv": [2, 28], "uv_size": [2, 2]}, + "up": {"uv": [28, 2], "uv_size": [2, 2]}, + "down": {"uv": [28, 10], "uv_size": [2, -2]} + } + }, + { + "origin": [-0.904, 2.73954, 1.52828], + "size": [1.808, 0.8475, 1.13], + "pivot": [0, 2.88079, 2.09328], + "rotation": [22.5, 0, 0], + "uv": { + "north": {"uv": [1, 30], "uv_size": [2, 1]}, + "east": {"uv": [0, 31], "uv_size": [1, 1]}, + "south": {"uv": [30, 2], "uv_size": [2, 1]}, + "west": {"uv": [1, 31], "uv_size": [1, 1]}, + "up": {"uv": [3, 30], "uv_size": [2, 1]}, + "down": {"uv": [30, 4], "uv_size": [2, -1]} + } + }, + { + "origin": [-0.904, 1.17682, 2.03084], + "size": [1.808, 1.13, 1.695], + "pivot": [0, 1.74182, 4.14959], + "rotation": [-22.5, 0, 0], + "uv": { + "north": {"uv": [30, 4], "uv_size": [2, 1]}, + "east": {"uv": [30, 5], "uv_size": [2, 1]}, + "south": {"uv": [30, 8], "uv_size": [2, 1]}, + "west": {"uv": [30, 9], "uv_size": [2, 1]}, + "up": {"uv": [28, 10], "uv_size": [2, 2]}, + "down": {"uv": [28, 14], "uv_size": [2, -2]} + } + }, + { + "origin": [-0.904, 1.29598, 3.6918], + "size": [1.808, 1.13, 0.565], + "uv": { + "north": {"uv": [30, 10], "uv_size": [2, 1]}, + "east": {"uv": [31, 1], "uv_size": [1, 1]}, + "south": {"uv": [30, 11], "uv_size": [2, 1]}, + "west": {"uv": [2, 31], "uv_size": [1, 1]}, + "up": {"uv": [30, 12], "uv_size": [2, 1]}, + "down": {"uv": [13, 31], "uv_size": [2, -1]} + } + }, + { + "origin": [-0.904, 0.32852, 3.15398], + "size": [1.808, 0.565, 0.565], + "pivot": [0, 0.32852, 5.55523], + "rotation": [-45, 0, 0], + "uv": { + "north": {"uv": [30, 13], "uv_size": [2, 1]}, + "east": {"uv": [3, 31], "uv_size": [1, 1]}, + "south": {"uv": [30, 16], "uv_size": [2, 1]}, + "west": {"uv": [4, 31], "uv_size": [1, 1]}, + "up": {"uv": [30, 17], "uv_size": [2, 1]}, + "down": {"uv": [30, 19], "uv_size": [2, -1]} + } + }, + { + "origin": [-0.6215, 0.19, 1.78], + "size": [1.243, 1.8645, 5.085], + "uv": { + "north": {"uv": [15, 29], "uv_size": [1, 2]}, + "east": {"uv": [17, 14], "uv_size": [5, 2]}, + "south": {"uv": [5, 30], "uv_size": [1, 2]}, + "west": {"uv": [19, 16], "uv_size": [5, 2]}, + "up": {"uv": [1, 25], "uv_size": [1, 5]}, + "down": {"uv": [25, 28], "uv_size": [1, -5]} + } + }, + { + "origin": [0.565, 0.755, 1.78], + "size": [0.678, 0.678, 12.1475], + "uv": { + "north": {"uv": [31, 6], "uv_size": [1, 1]}, + "east": {"uv": [16, 6], "uv_size": [11, 1]}, + "south": {"uv": [31, 7], "uv_size": [1, 1]}, + "west": {"uv": [16, 7], "uv_size": [11, 1]}, + "up": {"uv": [2, 15], "uv_size": [1, 11]}, + "down": {"uv": [3, 26], "uv_size": [1, -11]} + } + }, + { + "origin": [-1.243, 0.755, 1.78], + "size": [0.678, 0.678, 12.1475], + "uv": { + "north": {"uv": [13, 31], "uv_size": [1, 1]}, + "east": {"uv": [8, 16], "uv_size": [11, 1]}, + "south": {"uv": [14, 31], "uv_size": [1, 1]}, + "west": {"uv": [8, 17], "uv_size": [11, 1]}, + "up": {"uv": [8, 18], "uv_size": [1, 11]}, + "down": {"uv": [9, 29], "uv_size": [1, -11]} + } + }, + { + "origin": [-0.904, 0.19, -5], + "size": [1.808, 2.9945, 6.78], + "uv": { + "north": {"uv": [24, 10], "uv_size": [2, 3]}, + "east": {"uv": [8, 4], "uv_size": [6, 3]}, + "south": {"uv": [24, 13], "uv_size": [2, 3]}, + "west": {"uv": [8, 7], "uv_size": [6, 3]}, + "up": {"uv": [14, 2], "uv_size": [2, 6]}, + "down": {"uv": [4, 20], "uv_size": [2, -6]} + } + }, + { + "origin": [-1.7515, 2.337, -5], + "size": [0.8475, 0.565, 0.2825], + "uv": { + "north": {"uv": [15, 31], "uv_size": [1, 1]}, + "east": {"uv": [31, 15], "uv_size": [1, 1]}, + "south": {"uv": [19, 31], "uv_size": [1, 1]}, + "west": {"uv": [20, 31], "uv_size": [1, 1]}, + "up": {"uv": [31, 20], "uv_size": [1, 1]}, + "down": {"uv": [21, 32], "uv_size": [1, -1]} + } + }, + { + "origin": [-0.6215, 0.19, -5], + "size": [1.243, 3.277, 6.78], + "uv": { + "north": {"uv": [19, 28], "uv_size": [1, 3]}, + "east": {"uv": [8, 10], "uv_size": [6, 3]}, + "south": {"uv": [25, 28], "uv_size": [1, 3]}, + "west": {"uv": [8, 13], "uv_size": [6, 3]}, + "up": {"uv": [20, 24], "uv_size": [1, 6]}, + "down": {"uv": [24, 26], "uv_size": [1, -6]} + } + }, + { + "origin": [-0.6215, -4.0475, -4.7175], + "size": [1.243, 4.972, 3.39], + "uv": { + "north": {"uv": [24, 26], "uv_size": [1, 4]}, + "east": {"uv": [14, 8], "uv_size": [3, 4]}, + "south": {"uv": [16, 28], "uv_size": [1, 4]}, + "west": {"uv": [14, 12], "uv_size": [3, 4]}, + "up": {"uv": [28, 27], "uv_size": [1, 3]}, + "down": {"uv": [6, 32], "uv_size": [1, -3]} + } + }, + { + "origin": [-0.904, 1.37332, -5.75363], + "size": [1.808, 0.7345, 1.58466], + "pivot": [0, 2.87057, -7.55898], + "rotation": [-22.5, 0, 0], + "uv": { + "north": {"uv": [30, 19], "uv_size": [2, 1]}, + "east": {"uv": [22, 31], "uv_size": [1, 1]}, + "south": {"uv": [20, 30], "uv_size": [2, 1]}, + "west": {"uv": [23, 31], "uv_size": [1, 1]}, + "up": {"uv": [30, 21], "uv_size": [2, 1]}, + "down": {"uv": [22, 31], "uv_size": [2, -1]} + } + }, + { + "origin": [-0.6215, 3.467, -16.3], + "size": [1.243, 0.2825, 11.3], + "uv": { + "north": {"uv": [31, 24], "uv_size": [1, 1]}, + "east": {"uv": [20, 18], "uv_size": [10, 1]}, + "south": {"uv": [25, 31], "uv_size": [1, 1]}, + "west": {"uv": [20, 19], "uv_size": [10, 1]}, + "up": {"uv": [4, 20], "uv_size": [1, 10]}, + "down": {"uv": [5, 30], "uv_size": [1, -10]} + } + }, + { + "origin": [-0.6215, 4.032, -5.2825], + "size": [1.243, 0.2825, 7.0625], + "uv": { + "north": {"uv": [31, 25], "uv_size": [1, 1]}, + "east": {"uv": [24, 5], "uv_size": [6, 1]}, + "south": {"uv": [26, 31], "uv_size": [1, 1]}, + "west": {"uv": [24, 16], "uv_size": [6, 1]}, + "up": {"uv": [21, 24], "uv_size": [1, 6]}, + "down": {"uv": [22, 30], "uv_size": [1, -6]} + } + }, + { + "origin": [-0.7345, 4.032, -4.3785], + "size": [1.469, 0.5085, 4.9155], + "uv": { + "north": {"uv": [31, 26], "uv_size": [1, 1]}, + "east": {"uv": [26, 4], "uv_size": [4, 1]}, + "south": {"uv": [27, 31], "uv_size": [1, 1]}, + "west": {"uv": [28, 14], "uv_size": [4, 1]}, + "up": {"uv": [17, 28], "uv_size": [1, 4]}, + "down": {"uv": [18, 32], "uv_size": [1, -4]} + } + }, + { + "origin": [-0.6215, 4.032, -3.5875], + "size": [1.243, 0.7345, 3.277], + "uv": { + "north": {"uv": [31, 27], "uv_size": [1, 1]}, + "east": {"uv": [28, 15], "uv_size": [3, 1]}, + "south": {"uv": [28, 31], "uv_size": [1, 1]}, + "west": {"uv": [29, 0], "uv_size": [3, 1]}, + "up": {"uv": [7, 29], "uv_size": [1, 3]}, + "down": {"uv": [8, 32], "uv_size": [1, -3]} + } + }, + { + "origin": [-0.904, 4.7665, -9.8025], + "size": [1.808, 1.808, 10.9045], + "uv": { + "north": {"uv": [28, 23], "uv_size": [2, 2]}, + "east": {"uv": [16, 2], "uv_size": [6, 2]}, + "south": {"uv": [28, 25], "uv_size": [2, 2]}, + "west": {"uv": [16, 4], "uv_size": [6, 2]}, + "up": {"uv": [6, 14], "uv_size": [2, 6]}, + "down": {"uv": [0, 21], "uv_size": [2, -6]} + } + }, + { + "origin": [-0.6215, 3.467, 0.085], + "size": [1.243, 0.565, 1.695], + "uv": { + "north": {"uv": [31, 28], "uv_size": [1, 1]}, + "east": {"uv": [30, 22], "uv_size": [2, 1]}, + "south": {"uv": [29, 31], "uv_size": [1, 1]}, + "west": {"uv": [30, 23], "uv_size": [2, 1]}, + "up": {"uv": [24, 30], "uv_size": [1, 2]}, + "down": {"uv": [30, 26], "uv_size": [1, -2]} + } + } + ] + }, + { + "name": "group6", + "parent": "group4", + "pivot": [0, 8.1, -5], + "cubes": [ + { + "origin": [-0.452, 2.111, -28.73], + "size": [0.904, 0.904, 12.43], + "uv": { + "north": {"uv": [31, 29], "uv_size": [1, 1]}, + "east": {"uv": [17, 8], "uv_size": [11, 1]}, + "south": {"uv": [30, 31], "uv_size": [1, 1]}, + "west": {"uv": [17, 9], "uv_size": [11, 1]}, + "up": {"uv": [10, 18], "uv_size": [1, 11]}, + "down": {"uv": [11, 29], "uv_size": [1, -11]} + } + }, + { + "origin": [-0.452, 0.981, -23.3625], + "size": [0.904, 0.904, 7.0625], + "uv": { + "north": {"uv": [31, 30], "uv_size": [1, 1]}, + "east": {"uv": [24, 17], "uv_size": [6, 1]}, + "south": {"uv": [31, 31], "uv_size": [1, 1]}, + "west": {"uv": [25, 20], "uv_size": [6, 1]}, + "up": {"uv": [23, 24], "uv_size": [1, 6]}, + "down": {"uv": [0, 31], "uv_size": [1, -6]} + } + }, + { + "origin": [-0.6215, 0.8115, -22.7975], + "size": [1.243, 3.616, 1.13], + "uv": { + "north": {"uv": [9, 29], "uv_size": [1, 3]}, + "east": {"uv": [10, 29], "uv_size": [1, 3]}, + "south": {"uv": [11, 29], "uv_size": [1, 3]}, + "west": {"uv": [12, 29], "uv_size": [1, 3]}, + "up": {"uv": [0, 32], "uv_size": [1, 1]}, + "down": {"uv": [32, 1], "uv_size": [1, -1]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/superbwarfare/models/displaysettings/mk_14.item.json b/src/main/resources/assets/superbwarfare/models/displaysettings/mk_14.item.json index bb9b6f505..1a864fd22 100644 --- a/src/main/resources/assets/superbwarfare/models/displaysettings/mk_14.item.json +++ b/src/main/resources/assets/superbwarfare/models/displaysettings/mk_14.item.json @@ -6,30 +6,6 @@ 128 ], "display": { - "thirdperson_righthand": { - "translation": [ - 0, - 0.5, - 0.75 - ], - "scale": [ - 0.55, - 0.55, - 0.55 - ] - }, - "thirdperson_lefthand": { - "translation": [ - -0.5, - 0, - -3.25 - ], - "scale": [ - 0.55, - 0.55, - 0.55 - ] - }, "firstperson_righthand": { "translation": [ -6.25, @@ -49,51 +25,60 @@ 0 ] }, + "thirdperson_righthand": { + "translation": [ + -0.75, + -0.25, + 0.25 + ], + "scale": [ + 0.65, + 0.65, + 0.65 + ] + }, + "thirdperson_lefthand": { + "scale": [ + 0, + 0, + 0 + ] + }, "ground": { "translation": [ 0, - -1.25, + 0.75, + 3.75 + ], + "scale": [ + 0.7, + 0.7, + 0.7 + ] + }, + "head": { + "translation": [ + 0, + 6.25, + 3.25 + ] + }, + "fixed": { + "rotation": [ + 0, + -90, 0 ], + "translation": [ + -5, + -1.5, + -0.25 + ], "scale": [ 1.5, 1.5, 1.5 ] - }, - "gui": { - "rotation": [ - 30, - -145, - 0 - ], - "translation": [ - -2, - 0, - 0 - ], - "scale": [ - 2.25, - 2.25, - 2.25 - ] - }, - "fixed": { - "rotation": [ - 0, - 90, - 0 - ], - "translation": [ - -1, - 1, - -2 - ], - "scale": [ - 1.1, - 1.1, - 1.1 - ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/superbwarfare/models/lod/mk_14.json b/src/main/resources/assets/superbwarfare/models/lod/mk_14.json deleted file mode 100644 index a19afb310..000000000 --- a/src/main/resources/assets/superbwarfare/models/lod/mk_14.json +++ /dev/null @@ -1,477 +0,0 @@ -{ - "credit": "Made with Blockbench", - "texture_size": [64, 64], - "textures": { - "0": "superbwarfare:item/lod/mk_14", - "particle": "superbwarfare:item/lod/mk_14" - }, - "elements": [ - { - "from": [7.2, 1.5, -2], - "to": [8.8, 3.9, 8], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [5.5, 3.5, 6, 4], "texture": "#0"}, - "east": {"uv": [1, 0, 3.5, 0.5], "texture": "#0"}, - "south": {"uv": [0.5, 6.5, 1, 7], "texture": "#0"}, - "west": {"uv": [1, 0.5, 3.5, 1], "texture": "#0"}, - "up": {"uv": [1.5, 3.5, 1, 1], "texture": "#0"}, - "down": {"uv": [2, 1, 1.5, 3.5], "texture": "#0"} - } - }, - { - "from": [7.1, 1.25, 1.75], - "to": [8.9, 2.65, 17], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.25, 0.25, 7.75, 0.5], "texture": "#0"}, - "east": {"uv": [3.5, 0, 7.25, 0.25], "texture": "#0"}, - "south": {"uv": [7.25, 1.5, 7.75, 1.75], "texture": "#0"}, - "west": {"uv": [3.5, 0.25, 7.25, 0.5], "texture": "#0"}, - "up": {"uv": [0.5, 3.75, 0, 0], "texture": "#0"}, - "down": {"uv": [1, 0, 0.5, 3.75], "texture": "#0"} - } - }, - { - "from": [7.1, 1.25, 22.5], - "to": [8.9, 2.9, 27], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [6.5, 0.5, 7, 1], "texture": "#0"}, - "east": {"uv": [4.25, 2.5, 5.5, 3], "texture": "#0"}, - "south": {"uv": [6.5, 2.5, 7, 3], "texture": "#0"}, - "west": {"uv": [4.25, 3, 5.5, 3.5], "texture": "#0"}, - "up": {"uv": [3.5, 5.75, 3, 4.5], "texture": "#0"}, - "down": {"uv": [4, 4.5, 3.5, 5.75], "texture": "#0"} - } - }, - { - "from": [7.1, 3.15, 19.5], - "to": [8.9, 3.4, 24], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.25, 1.75, 7.75, 2], "texture": "#0"}, - "east": {"uv": [6.25, 5.25, 7.5, 5.5], "texture": "#0"}, - "south": {"uv": [3.25, 7.25, 3.75, 7.5], "texture": "#0"}, - "west": {"uv": [6.25, 5.5, 7.5, 5.75], "texture": "#0"}, - "up": {"uv": [4.5, 5.75, 4, 4.5], "texture": "#0"}, - "down": {"uv": [5, 4.5, 4.5, 5.75], "texture": "#0"} - } - }, - { - "from": [7.35, 2.9, 22.75], - "to": [8.65, 3.15, 24], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [6.5, 7.5, 6.75, 7.75], "texture": "#0"}, - "east": {"uv": [7.5, 6.5, 7.75, 6.75], "texture": "#0"}, - "south": {"uv": [6.75, 7.5, 7, 7.75], "texture": "#0"}, - "west": {"uv": [7, 7.5, 7.25, 7.75], "texture": "#0"}, - "up": {"uv": [7.5, 7.75, 7.25, 7.5], "texture": "#0"}, - "down": {"uv": [7.75, 7.5, 7.5, 7.75], "texture": "#0"} - } - }, - { - "from": [7.1, -1.75, 25.35], - "to": [8.9, 1.25, 27], - "rotation": {"angle": 0, "axis": "x", "origin": [8, -1, 26.175]}, - "faces": { - "north": {"uv": [4, 5.75, 4.5, 6.5], "texture": "#0"}, - "east": {"uv": [4.5, 5.75, 5, 6.5], "texture": "#0"}, - "south": {"uv": [6, 0.5, 6.5, 1.25], "texture": "#0"}, - "west": {"uv": [1.5, 6, 2, 6.75], "texture": "#0"}, - "up": {"uv": [7, 3.5, 6.5, 3], "texture": "#0"}, - "down": {"uv": [7, 3.5, 6.5, 4], "texture": "#0"} - } - }, - { - "from": [7.1, -1.49138, 25.00019], - "to": [8.9, 2.00862, 26.65019], - "rotation": {"angle": -22.5, "axis": "x", "origin": [8, -0.74138, 25.82519]}, - "faces": { - "north": {"uv": [1.5, 5, 2, 6], "texture": "#0"}, - "east": {"uv": [5, 5, 5.5, 6], "texture": "#0"}, - "south": {"uv": [0, 5.25, 0.5, 6.25], "texture": "#0"}, - "west": {"uv": [5.5, 0.5, 6, 1.5], "texture": "#0"}, - "up": {"uv": [4.5, 7, 4, 6.5], "texture": "#0"}, - "down": {"uv": [5, 6.5, 4.5, 7], "texture": "#0"} - } - }, - { - "from": [7.2, -4.03204, 14.80202], - "to": [9, -0.38204, 16.30202], - "rotation": {"angle": -22.5, "axis": "x", "origin": [8.1, -1.70704, 10.92702]}, - "faces": { - "north": {"uv": [5.5, 2.5, 6, 3.5], "texture": "#0"}, - "east": {"uv": [5.5, 5, 6, 6], "texture": "#0"}, - "south": {"uv": [3, 5.75, 3.5, 6.75], "texture": "#0"}, - "west": {"uv": [3.5, 5.75, 4, 6.75], "texture": "#0"}, - "up": {"uv": [7, 6.25, 6.5, 5.75], "texture": "#0"}, - "down": {"uv": [7, 6.25, 6.5, 6.75], "texture": "#0"} - } - }, - { - "from": [7.2, -4.28204, 14.55202], - "to": [9, -4.03204, 16.30202], - "rotation": {"angle": -22.5, "axis": "x", "origin": [8.1, -1.70704, 10.92702]}, - "faces": { - "north": {"uv": [6.5, 7.25, 7, 7.5], "texture": "#0"}, - "east": {"uv": [7.25, 6.75, 7.75, 7], "texture": "#0"}, - "south": {"uv": [7.25, 7, 7.75, 7.25], "texture": "#0"}, - "west": {"uv": [7.25, 7.25, 7.75, 7.5], "texture": "#0"}, - "up": {"uv": [2, 7.25, 1.5, 6.75], "texture": "#0"}, - "down": {"uv": [7.25, 1.5, 6.75, 2], "texture": "#0"} - } - }, - { - "from": [7.2, 2.65, 12.25], - "to": [8.8, 4.15, 14.5], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [3, 6.75, 3.5, 7.25], "texture": "#0"}, - "east": {"uv": [3.5, 6.75, 4, 7.25], "texture": "#0"}, - "south": {"uv": [6.5, 6.75, 7, 7.25], "texture": "#0"}, - "west": {"uv": [0.5, 7, 1, 7.5], "texture": "#0"}, - "up": {"uv": [7.5, 1, 7, 0.5], "texture": "#0"}, - "down": {"uv": [7.5, 2, 7, 2.5], "texture": "#0"} - } - }, - { - "from": [7.2, 3.25623, 13.77724], - "to": [8.8, 4.00623, 14.77724], - "rotation": {"angle": -22.5, "axis": "x", "origin": [8, 3.38123, 14.27724]}, - "faces": { - "north": {"uv": [0.25, 7.5, 0.75, 7.75], "texture": "#0"}, - "east": {"uv": [0, 7.75, 0.25, 8], "texture": "#0"}, - "south": {"uv": [7.5, 0.5, 8, 0.75], "texture": "#0"}, - "west": {"uv": [0.25, 7.75, 0.5, 8], "texture": "#0"}, - "up": {"uv": [1.25, 7.75, 0.75, 7.5], "texture": "#0"}, - "down": {"uv": [8, 0.75, 7.5, 1], "texture": "#0"} - } - }, - { - "from": [7.2, 1.87329, 14.22198], - "to": [8.8, 2.87329, 15.72198], - "rotation": {"angle": 22.5, "axis": "x", "origin": [8, 2.37329, 16.09698]}, - "faces": { - "north": {"uv": [7.5, 1, 8, 1.25], "texture": "#0"}, - "east": {"uv": [7.5, 1.25, 8, 1.5], "texture": "#0"}, - "south": {"uv": [7.5, 2, 8, 2.25], "texture": "#0"}, - "west": {"uv": [7.5, 2.25, 8, 2.5], "texture": "#0"}, - "up": {"uv": [7.5, 3, 7, 2.5], "texture": "#0"}, - "down": {"uv": [7.5, 3, 7, 3.5], "texture": "#0"} - } - }, - { - "from": [7.2, 1.97874, 15.69186], - "to": [8.8, 2.97874, 16.19186], - "rotation": {"angle": 0, "axis": "x", "origin": [8, 2.47874, 17.81686]}, - "faces": { - "north": {"uv": [7.5, 2.5, 8, 2.75], "texture": "#0"}, - "east": {"uv": [7.75, 0.25, 8, 0.5], "texture": "#0"}, - "south": {"uv": [7.5, 2.75, 8, 3], "texture": "#0"}, - "west": {"uv": [0.5, 7.75, 0.75, 8], "texture": "#0"}, - "up": {"uv": [8, 3.25, 7.5, 3], "texture": "#0"}, - "down": {"uv": [3.75, 7.5, 3.25, 7.75], "texture": "#0"} - } - }, - { - "from": [7.2, 1.12258, 15.21591], - "to": [8.8, 1.62258, 15.71591], - "rotation": {"angle": 45, "axis": "x", "origin": [8, 1.12258, 17.34091]}, - "faces": { - "north": {"uv": [7.5, 3.25, 8, 3.5], "texture": "#0"}, - "east": {"uv": [0.75, 7.75, 1, 8], "texture": "#0"}, - "south": {"uv": [7.5, 4, 8, 4.25], "texture": "#0"}, - "west": {"uv": [1, 7.75, 1.25, 8], "texture": "#0"}, - "up": {"uv": [8, 4.5, 7.5, 4.25], "texture": "#0"}, - "down": {"uv": [8, 4.5, 7.5, 4.75], "texture": "#0"} - } - }, - { - "from": [7.45, 1, 14], - "to": [8.55, 2.65, 18.5], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"}, - "east": {"uv": [4.25, 3.5, 5.5, 4], "texture": "#0"}, - "south": {"uv": [1.25, 7.5, 1.5, 8], "texture": "#0"}, - "west": {"uv": [4.75, 4, 6, 4.5], "texture": "#0"}, - "up": {"uv": [0.5, 7.5, 0.25, 6.25], "texture": "#0"}, - "down": {"uv": [6.5, 5.75, 6.25, 7], "texture": "#0"} - } - }, - { - "from": [6.9, 1.5, 14], - "to": [7.5, 2.1, 24.75], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 1.5, 8, 1.75], "texture": "#0"}, - "east": {"uv": [4, 1.5, 6.75, 1.75], "texture": "#0"}, - "south": {"uv": [7.75, 1.75, 8, 2], "texture": "#0"}, - "west": {"uv": [4, 1.75, 6.75, 2], "texture": "#0"}, - "up": {"uv": [0.75, 6.5, 0.5, 3.75], "texture": "#0"}, - "down": {"uv": [1, 3.75, 0.75, 6.5], "texture": "#0"} - } - }, - { - "from": [8.5, 1.5, 14], - "to": [9.1, 2.1, 24.75], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [3.25, 7.75, 3.5, 8], "texture": "#0"}, - "east": {"uv": [2, 4, 4.75, 4.25], "texture": "#0"}, - "south": {"uv": [3.5, 7.75, 3.75, 8], "texture": "#0"}, - "west": {"uv": [2, 4.25, 4.75, 4.5], "texture": "#0"}, - "up": {"uv": [2.25, 7.25, 2, 4.5], "texture": "#0"}, - "down": {"uv": [2.5, 4.5, 2.25, 7.25], "texture": "#0"} - } - }, - { - "from": [7.2, 1, 8], - "to": [8.8, 3.65, 14], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [6, 2.5, 6.5, 3.25], "texture": "#0"}, - "east": {"uv": [2, 1, 3.5, 1.75], "texture": "#0"}, - "south": {"uv": [6, 3.25, 6.5, 4], "texture": "#0"}, - "west": {"uv": [2, 1.75, 3.5, 2.5], "texture": "#0"}, - "up": {"uv": [4, 2, 3.5, 0.5], "texture": "#0"}, - "down": {"uv": [1.5, 3.5, 1, 5], "texture": "#0"} - } - }, - { - "from": [8.8, 2.9, 8], - "to": [9.55, 3.4, 8.25], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [3.75, 7.75, 4, 8], "texture": "#0"}, - "east": {"uv": [7.75, 3.75, 8, 4], "texture": "#0"}, - "south": {"uv": [4.75, 7.75, 5, 8], "texture": "#0"}, - "west": {"uv": [5, 7.75, 5.25, 8], "texture": "#0"}, - "up": {"uv": [8, 5.25, 7.75, 5], "texture": "#0"}, - "down": {"uv": [5.5, 7.75, 5.25, 8], "texture": "#0"} - } - }, - { - "from": [7.45, 1, 8], - "to": [8.55, 3.9, 14], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [4.75, 7, 5, 7.75], "texture": "#0"}, - "east": {"uv": [2, 2.5, 3.5, 3.25], "texture": "#0"}, - "south": {"uv": [6.25, 7, 6.5, 7.75], "texture": "#0"}, - "west": {"uv": [2, 3.25, 3.5, 4], "texture": "#0"}, - "up": {"uv": [5.25, 7.5, 5, 6], "texture": "#0"}, - "down": {"uv": [6.25, 5, 6, 6.5], "texture": "#0"} - } - }, - { - "from": [7.45, -2.75, 8.25], - "to": [8.55, 1.65, 11.25], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [6, 6.5, 6.25, 7.5], "texture": "#0"}, - "east": {"uv": [3.5, 2, 4.25, 3], "texture": "#0"}, - "south": {"uv": [4, 7, 4.25, 8], "texture": "#0"}, - "west": {"uv": [3.5, 3, 4.25, 4], "texture": "#0"}, - "up": {"uv": [7.25, 7.5, 7, 6.75], "texture": "#0"}, - "down": {"uv": [1.75, 7.25, 1.5, 8], "texture": "#0"} - } - }, - { - "from": [7.2, 2.04719, 7.33307], - "to": [8.8, 2.69719, 8.73542], - "rotation": {"angle": 22.5, "axis": "x", "origin": [8, 3.37219, 5.73542]}, - "faces": { - "north": {"uv": [7.5, 4.75, 8, 5], "texture": "#0"}, - "east": {"uv": [5.5, 7.75, 5.75, 8], "texture": "#0"}, - "south": {"uv": [5, 7.5, 5.5, 7.75], "texture": "#0"}, - "west": {"uv": [5.75, 7.75, 6, 8], "texture": "#0"}, - "up": {"uv": [8, 5.5, 7.5, 5.25], "texture": "#0"}, - "down": {"uv": [6, 7.5, 5.5, 7.75], "texture": "#0"} - } - }, - { - "from": [7.45, 3.9, -2], - "to": [8.55, 4.15, 8], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 6, 8, 6.25], "texture": "#0"}, - "east": {"uv": [5, 4.5, 7.5, 4.75], "texture": "#0"}, - "south": {"uv": [6.25, 7.75, 6.5, 8], "texture": "#0"}, - "west": {"uv": [5, 4.75, 7.5, 5], "texture": "#0"}, - "up": {"uv": [1.25, 7.5, 1, 5], "texture": "#0"}, - "down": {"uv": [1.5, 5, 1.25, 7.5], "texture": "#0"} - } - }, - { - "from": [7.45, 4.4, 7.75], - "to": [8.55, 4.65, 14], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 6.25, 8, 6.5], "texture": "#0"}, - "east": {"uv": [6, 1.25, 7.5, 1.5], "texture": "#0"}, - "south": {"uv": [6.5, 7.75, 6.75, 8], "texture": "#0"}, - "west": {"uv": [6, 4, 7.5, 4.25], "texture": "#0"}, - "up": {"uv": [5.5, 7.5, 5.25, 6], "texture": "#0"}, - "down": {"uv": [5.75, 6, 5.5, 7.5], "texture": "#0"} - } - }, - { - "from": [7.35, 4.4, 8.55], - "to": [8.65, 4.85, 12.9], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 6.5, 8, 6.75], "texture": "#0"}, - "east": {"uv": [6.5, 1, 7.5, 1.25], "texture": "#0"}, - "south": {"uv": [6.75, 7.75, 7, 8], "texture": "#0"}, - "west": {"uv": [7, 3.5, 8, 3.75], "texture": "#0"}, - "up": {"uv": [4.5, 8, 4.25, 7], "texture": "#0"}, - "down": {"uv": [4.75, 7, 4.5, 8], "texture": "#0"} - } - }, - { - "from": [7.45, 4.4, 9.25], - "to": [8.55, 5.05, 12.15], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 6.75, 8, 7], "texture": "#0"}, - "east": {"uv": [7, 3.75, 7.75, 4], "texture": "#0"}, - "south": {"uv": [7, 7.75, 7.25, 8], "texture": "#0"}, - "west": {"uv": [7.25, 0, 8, 0.25], "texture": "#0"}, - "up": {"uv": [2, 8, 1.75, 7.25], "texture": "#0"}, - "down": {"uv": [2.25, 7.25, 2, 8], "texture": "#0"} - } - }, - { - "from": [7.2, 5.05, 3.75], - "to": [8.8, 6.65, 13.4], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7, 5.75, 7.5, 6.25], "texture": "#0"}, - "east": {"uv": [4, 0.5, 5.5, 1], "texture": "#0"}, - "south": {"uv": [7, 6.25, 7.5, 6.75], "texture": "#0"}, - "west": {"uv": [4, 1, 5.5, 1.5], "texture": "#0"}, - "up": {"uv": [2, 5, 1.5, 3.5], "texture": "#0"}, - "down": {"uv": [0.5, 3.75, 0, 5.25], "texture": "#0"} - } - }, - { - "from": [7.45, 3.9, 12.5], - "to": [8.55, 4.4, 14], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 7, 8, 7.25], "texture": "#0"}, - "east": {"uv": [7.5, 5.5, 8, 5.75], "texture": "#0"}, - "south": {"uv": [7.25, 7.75, 7.5, 8], "texture": "#0"}, - "west": {"uv": [7.5, 5.75, 8, 6], "texture": "#0"}, - "up": {"uv": [6.25, 8, 6, 7.5], "texture": "#0"}, - "down": {"uv": [7.75, 6, 7.5, 6.5], "texture": "#0"} - } - }, - { - "from": [7.6, 2.7, -13], - "to": [8.4, 3.5, -2], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 7.25, 8, 7.5], "texture": "#0"}, - "east": {"uv": [4.25, 2, 7, 2.25], "texture": "#0"}, - "south": {"uv": [7.5, 7.75, 7.75, 8], "texture": "#0"}, - "west": {"uv": [4.25, 2.25, 7, 2.5], "texture": "#0"}, - "up": {"uv": [2.75, 7.25, 2.5, 4.5], "texture": "#0"}, - "down": {"uv": [3, 4.5, 2.75, 7.25], "texture": "#0"} - } - }, - { - "from": [7.6, 1.7, -8.25], - "to": [8.4, 2.5, -2], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [7.75, 7.5, 8, 7.75], "texture": "#0"}, - "east": {"uv": [6, 4.25, 7.5, 4.5], "texture": "#0"}, - "south": {"uv": [7.75, 7.75, 8, 8], "texture": "#0"}, - "west": {"uv": [6.25, 5, 7.75, 5.25], "texture": "#0"}, - "up": {"uv": [6, 7.5, 5.75, 6], "texture": "#0"}, - "down": {"uv": [0.25, 6.25, 0, 7.75], "texture": "#0"} - } - }, - { - "from": [7.45, 1.55, -7.75], - "to": [8.55, 4.75, -6.75], - "rotation": {"angle": 0, "axis": "y", "origin": [8, 1, 9]}, - "faces": { - "north": {"uv": [2.25, 7.25, 2.5, 8], "texture": "#0"}, - "east": {"uv": [2.5, 7.25, 2.75, 8], "texture": "#0"}, - "south": {"uv": [2.75, 7.25, 3, 8], "texture": "#0"}, - "west": {"uv": [3, 7.25, 3.25, 8], "texture": "#0"}, - "up": {"uv": [0.25, 8.25, 0, 8], "texture": "#0"}, - "down": {"uv": [8.25, 0, 8, 0.25], "texture": "#0"} - } - } - ], - "display": { - "thirdperson_righthand": { - "translation": [-1.25, 4.5, -3.25], - "scale": [0.7, 0.7, 0.7] - }, - "thirdperson_lefthand": { - "scale": [0, 0, 0] - }, - "ground": { - "translation": [0, 5.25, 0], - "scale": [0.7, 0.7, 0.7] - }, - "head": { - "translation": [0, 13.25, -3.25] - }, - "fixed": { - "rotation": [0, 90, 0], - "translation": [-1, 6.5, -0.25], - "scale": [1.1, 1.1, 1.1] - } - }, - "groups": [ - { - "name": "group", - "origin": [8, 8, 8], - "color": 0, - "children": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - { - "name": "group", - "origin": [8, 8, 8], - "color": 0, - "children": [28, 29, 30] - } - ] - } - ] -} \ No newline at end of file