From ecb0f8a4be1a50e12f38e44eaea3a6258a79e077 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Thu, 24 Mar 2016 13:47:58 -0500 Subject: [PATCH] Fix bow models --- .../core/handler/ClientMethodHandles.java | 19 +++--- .../client/core/handler/RenderLexicon.java | 6 +- .../botania/common/item/ItemCraftingHalo.java | 1 + .../equipment/tool/bow/ItemLivingwoodBow.java | 16 ++++- .../botania/models/item/crystalBow.json | 66 ++++++++++++++++--- .../models/item/crystalBow_pulling_1.json | 26 +++++--- .../models/item/crystalBow_pulling_2.json | 26 +++++--- .../models/item/crystalBow_pulling_3.json | 26 +++++--- .../models/item/crystalBow_pulling_4.json | 26 +++++--- .../models/item/crystalBow_pulling_5.json | 26 +++++--- .../botania/models/item/livingwoodBow.json | 52 ++++++++++++--- .../models/item/livingwoodBow_pulling_1.json | 26 +++++--- .../models/item/livingwoodBow_pulling_2.json | 26 +++++--- .../models/item/livingwoodBow_pulling_3.json | 26 +++++--- 14 files changed, 271 insertions(+), 97 deletions(-) diff --git a/src/main/java/vazkii/botania/client/core/handler/ClientMethodHandles.java b/src/main/java/vazkii/botania/client/core/handler/ClientMethodHandles.java index a17739293..0d9cd4357 100644 --- a/src/main/java/vazkii/botania/client/core/handler/ClientMethodHandles.java +++ b/src/main/java/vazkii/botania/client/core/handler/ClientMethodHandles.java @@ -19,8 +19,8 @@ public final class ClientMethodHandles { renderPosX_getter, renderPosY_getter, renderPosZ_getter, // RenderManager farPlaneDistance_getter, hurtCameraEffect, setupViewBobbing, getFOVModifier, - enableLightmap, disableLightmap, // EntityRenderer - prevEquippedProgress_getter, equippedProgress_getter; // ItemRenderer + enableLightmap, disableLightmap; // EntityRenderer + //prevEquippedProgress_getter, equippedProgress_getter; // ItemRenderer static { try { @@ -60,15 +60,16 @@ public final class ClientMethodHandles { m.setAccessible(true); getFOVModifier = MethodHandles.publicLookup().unreflect(m); - f = ReflectionHelper.findField(ItemRenderer.class, LibObfuscation.PREV_EQUIPPED_PROGRESS); - f.setAccessible(true); - prevEquippedProgress_getter = MethodHandles.publicLookup().unreflectGetter(f); - - f = ReflectionHelper.findField(ItemRenderer.class, LibObfuscation.EQUIPPED_PROGRESS); - f.setAccessible(true); - equippedProgress_getter = MethodHandles.publicLookup().unreflectGetter(f); +// f = ReflectionHelper.findField(ItemRenderer.class, LibObfuscation.PREV_EQUIPPED_PROGRESS); +// f.setAccessible(true); +// prevEquippedProgress_getter = MethodHandles.publicLookup().unreflectGetter(f); +// +// f = ReflectionHelper.findField(ItemRenderer.class, LibObfuscation.EQUIPPED_PROGRESS); +// f.setAccessible(true); +// equippedProgress_getter = MethodHandles.publicLookup().unreflectGetter(f); } catch (IllegalAccessException e) { FMLLog.severe("[Botania]: Couldn't initialize client methodhandles! Things will be broken!"); + e.printStackTrace(); throw Throwables.propagate(e); } } diff --git a/src/main/java/vazkii/botania/client/core/handler/RenderLexicon.java b/src/main/java/vazkii/botania/client/core/handler/RenderLexicon.java index 375108bcf..44bdf3b38 100644 --- a/src/main/java/vazkii/botania/client/core/handler/RenderLexicon.java +++ b/src/main/java/vazkii/botania/client/core/handler/RenderLexicon.java @@ -36,7 +36,7 @@ public class RenderLexicon { @SubscribeEvent public void renderItem(RenderHandEvent evt) { Minecraft mc = Minecraft.getMinecraft(); - if(!ConfigHandler.lexicon3dModel || mc.gameSettings.thirdPersonView != 0 || !PlayerHelper.hasHeldItem(mc.thePlayer, ModItems.lexicon)) + if(true || !ConfigHandler.lexicon3dModel || mc.gameSettings.thirdPersonView != 0 || !PlayerHelper.hasHeldItem(mc.thePlayer, ModItems.lexicon)) return; evt.setCanceled(true); @@ -102,8 +102,8 @@ public class RenderLexicon { private void renderItemInFirstPerson() throws Throwable { // Cherry picked from ItemRenderer.renderItemInFirstPerson - float prevEquippedProgress = ((float) ClientMethodHandles.prevEquippedProgress_getter.invokeExact(Minecraft.getMinecraft().getItemRenderer())); - float equippedProgress = ((float) ClientMethodHandles.equippedProgress_getter.invokeExact(Minecraft.getMinecraft().getItemRenderer())); + float prevEquippedProgress = 0;//((float) ClientMethodHandles.prevEquippedProgress_getter.invokeExact(Minecraft.getMinecraft().getItemRenderer())); + float equippedProgress = 0;//((float) ClientMethodHandles.equippedProgress_getter.invokeExact(Minecraft.getMinecraft().getItemRenderer())); float f = 1.0F - (prevEquippedProgress + (equippedProgress - prevEquippedProgress) * ClientTickHandler.partialTicks); EntityPlayerSP player = Minecraft.getMinecraft().thePlayer; float f1 = player.getSwingProgress(ClientTickHandler.partialTicks); diff --git a/src/main/java/vazkii/botania/common/item/ItemCraftingHalo.java b/src/main/java/vazkii/botania/common/item/ItemCraftingHalo.java index 15e00cd63..dec001766 100644 --- a/src/main/java/vazkii/botania/common/item/ItemCraftingHalo.java +++ b/src/main/java/vazkii/botania/common/item/ItemCraftingHalo.java @@ -408,6 +408,7 @@ public class ItemCraftingHalo extends ItemMod implements ICraftAchievement { renderPosY = (double) ClientMethodHandles.renderPosY_getter.invokeExact(Minecraft.getMinecraft().getRenderManager()); renderPosZ = (double) ClientMethodHandles.renderPosZ_getter.invokeExact(Minecraft.getMinecraft().getRenderManager()); } catch (Throwable t) { + t.printStackTrace(); return; } diff --git a/src/main/java/vazkii/botania/common/item/equipment/tool/bow/ItemLivingwoodBow.java b/src/main/java/vazkii/botania/common/item/equipment/tool/bow/ItemLivingwoodBow.java index 1b722a0c3..8597e6094 100644 --- a/src/main/java/vazkii/botania/common/item/equipment/tool/bow/ItemLivingwoodBow.java +++ b/src/main/java/vazkii/botania/common/item/equipment/tool/bow/ItemLivingwoodBow.java @@ -18,6 +18,7 @@ import net.minecraft.entity.projectile.EntityArrow; import net.minecraft.init.Enchantments; import net.minecraft.init.Items; import net.minecraft.init.SoundEvents; +import net.minecraft.item.IItemPropertyGetter; import net.minecraft.item.Item; import net.minecraft.item.ItemArrow; import net.minecraft.item.ItemBow; @@ -57,7 +58,20 @@ public class ItemLivingwoodBow extends ItemBow implements IManaUsingItem { setUnlocalizedName(name); setMaxDamage(500); setFull3D(); - addPropertyOverride(new ResourceLocation("minecraft:pull"), (stack, worldIn, entityIn) -> (stack.getMaxItemUseDuration() - entityIn.getItemInUseCount()) * chargeVelocityMultiplier() / 20.0F); + addPropertyOverride(new ResourceLocation("minecraft:pull"), new IItemPropertyGetter() { + @Override + public float apply(ItemStack stack, World worldIn, EntityLivingBase entityIn) { + if (entityIn == null) + { + return 0.0F; + } + else + { + ItemStack itemstack = entityIn.getActiveItemStack(); + return itemstack != null && itemstack.getItem() instanceof ItemLivingwoodBow ? (float)(stack.getMaxItemUseDuration() - entityIn.getItemInUseCount()) * chargeVelocityMultiplier() / 20.0F : 0.0F; + } + } + }); } @Override diff --git a/src/main/resources/assets/botania/models/item/crystalBow.json b/src/main/resources/assets/botania/models/item/crystalBow.json index 5a74c461d..42a50a9a6 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow.json +++ b/src/main/resources/assets/botania/models/item/crystalBow.json @@ -4,15 +4,61 @@ "layer0": "botania:items/crystalBow0" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } - } -} \ No newline at end of file + }, + "overrides": [ + { + "predicate": { + "minecraft:pulling": 1 + }, + "model": "botania:item/crystalBow_pulling_1" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.35 + }, + "model": "botania:item/crystalBow_pulling_2" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.65 + }, + "model": "botania:item/crystalBow_pulling_3" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.8 + }, + "model": "botania:item/crystalBow_pulling_4" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.9 + }, + "model": "botania:item/crystalBow_pulling_5" + } + ] +} diff --git a/src/main/resources/assets/botania/models/item/crystalBow_pulling_1.json b/src/main/resources/assets/botania/models/item/crystalBow_pulling_1.json index 49eb6a52d..3cad87cf2 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow_pulling_1.json +++ b/src/main/resources/assets/botania/models/item/crystalBow_pulling_1.json @@ -4,15 +4,25 @@ "layer0": "botania:items/crystalBow1" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/crystalBow_pulling_2.json b/src/main/resources/assets/botania/models/item/crystalBow_pulling_2.json index b9d9be952..205e705b4 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow_pulling_2.json +++ b/src/main/resources/assets/botania/models/item/crystalBow_pulling_2.json @@ -4,15 +4,25 @@ "layer0": "botania:items/crystalBow2" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/crystalBow_pulling_3.json b/src/main/resources/assets/botania/models/item/crystalBow_pulling_3.json index d3bd453a3..835460709 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow_pulling_3.json +++ b/src/main/resources/assets/botania/models/item/crystalBow_pulling_3.json @@ -4,15 +4,25 @@ "layer0": "botania:items/crystalBow3" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/crystalBow_pulling_4.json b/src/main/resources/assets/botania/models/item/crystalBow_pulling_4.json index f147d6408..6430d9d58 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow_pulling_4.json +++ b/src/main/resources/assets/botania/models/item/crystalBow_pulling_4.json @@ -4,15 +4,25 @@ "layer0": "botania:items/crystalBow4" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/crystalBow_pulling_5.json b/src/main/resources/assets/botania/models/item/crystalBow_pulling_5.json index 6e987537e..ed9d6503b 100644 --- a/src/main/resources/assets/botania/models/item/crystalBow_pulling_5.json +++ b/src/main/resources/assets/botania/models/item/crystalBow_pulling_5.json @@ -4,15 +4,25 @@ "layer0": "botania:items/crystalBow5" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/livingwoodBow.json b/src/main/resources/assets/botania/models/item/livingwoodBow.json index 0dff3ae2f..179a3ab2b 100644 --- a/src/main/resources/assets/botania/models/item/livingwoodBow.json +++ b/src/main/resources/assets/botania/models/item/livingwoodBow.json @@ -4,15 +4,47 @@ "layer0": "botania:items/livingwoodBow0" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } - } -} \ No newline at end of file + }, + "overrides": [ + { + "predicate": { + "minecraft:pulling": 1 + }, + "model": "botania:item/livingwoodBow_pulling_1" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.65 + }, + "model": "botania:item/livingwoodBow_pulling_2" + }, + { + "predicate": { + "minecraft:pulling": 1, + "minecraft:pull": 0.9 + }, + "model": "botania:item/livingwoodBow_pulling_3" + } + ] +} diff --git a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_1.json b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_1.json index 413983fac..6d29694b9 100644 --- a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_1.json +++ b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_1.json @@ -4,15 +4,25 @@ "layer0": "botania:items/livingwoodBow1" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_2.json b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_2.json index 96960440e..c1baf4768 100644 --- a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_2.json +++ b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_2.json @@ -4,15 +4,25 @@ "layer0": "botania:items/livingwoodBow2" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file diff --git a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_3.json b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_3.json index 28768bf44..162be4377 100644 --- a/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_3.json +++ b/src/main/resources/assets/botania/models/item/livingwoodBow_pulling_3.json @@ -4,15 +4,25 @@ "layer0": "botania:items/livingwoodBow3" }, "display": { - "thirdperson": { - "rotation": [ 5, 80, -45 ], - "translation": [ 0.75, 0, 0.25 ], - "scale": [ 1, 1, 1 ] + "thirdperson_righthand": { + "rotation": [ -80, 260, -40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] }, - "firstperson": { - "rotation": [ 0, -135, 25 ], - "translation": [ 0, 4, 2 ], - "scale": [ 1.7, 1.7, 1.7 ] + "thirdperson_lefthand": { + "rotation": [ -80, -280, 40 ], + "translation": [ -1, -2, 2.5 ], + "scale": [ 0.9, 0.9, 0.9 ] + }, + "firstperson_righthand": { + "rotation": [ 0, -90, 25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 90, -25 ], + "translation": [ 1.13, 3.2, 1.13], + "scale": [ 0.68, 0.68, 0.68 ] } } } \ No newline at end of file