skin loader

This commit is contained in:
2025-07-26 16:04:58 +02:00
parent 20c25908d9
commit ccf9b6d9bc
5 changed files with 20 additions and 252 deletions

View File

@@ -1,149 +0,0 @@
{
"format_version": "1.8.0",
"animations": {
"Crouching": {
"loop": "hold_on_last_frame",
"bones": {
"Head": {
"rotation": [-7.5, 0, 0],
"position": [0, -4.2, 0]
},
"Body": {
"rotation": [20, 0, 0],
"position": [0, -3.2, 0]
},
"RightArm": {
"rotation": [40, 0, 0],
"position": [0, -3.2, 1]
},
"LeftArm": {
"rotation": [40, 0, 0],
"position": [0, -3.2, 1]
},
"RightLeg": {
"rotation": [-25, 0, 0],
"position": [0, 0, 4]
},
"LeftLeg": {
"rotation": [-10, 0, 0],
"position": [0, 0, 3]
}
}
},
"Standing": {
"loop": "hold_on_last_frame",
"bones": {
"Head": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
},
"Body": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
},
"RightArm": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
},
"LeftArm": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
},
"RightLeg": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
},
"LeftLeg": {
"rotation": [0, 0, 0],
"position": [0, 0, 0]
}
}
},
"Sitting": {
"loop": "hold_on_last_frame",
"bones": {
"Head": {
"rotation": [0, 0, -2.5],
"position": [0, -10.5, 0]
},
"Body": {
"position": [0, -10.5, 0]
},
"RightArm": {
"rotation": [-35, 0, 0],
"position": [0, -10.5, 0]
},
"LeftArm": {
"rotation": [-35, 0, 0],
"position": [0, -10.5, 0]
},
"RightLeg": {
"rotation": [-90, 15, 0],
"position": [0, -10, 0]
},
"LeftLeg": {
"rotation": [-90, -10.5, 0],
"position": [0, -10, 0]
}
}
},
"Chilling": {
"loop": "hold_on_last_frame",
"bones": {
"Head": {
"rotation": [-2.5, 0, 2.5],
"position": [0, -12.5, 2]
},
"Body": {
"rotation": [-20, 0, 0],
"position": [0, -12.25, 3]
},
"RightArm": {
"rotation": [17.5, 0, 0],
"position": [0, -12.5, 2]
},
"LeftArm": {
"rotation": [20, 0, 0],
"position": [0, -12.5, 2]
},
"RightLeg": {
"rotation": [-90, 15, -5],
"position": [0, -10, 0]
},
"LeftLeg": {
"rotation": [-90, -10.5, 5],
"position": [0, -10, 0.75]
}
}
},
"Rest": {
"loop": "hold_on_last_frame",
"bones": {
"Head": {
"rotation": [5, 0, 5],
"position": [0, -12, 0]
},
"Body": {
"rotation": [0, 0, 2.5],
"position": [0, -12, 0]
},
"RightArm": {
"rotation": [-75, -30, 0],
"position": [-1, -11, 0]
},
"LeftArm": {
"rotation": [-52.5, -5, 0],
"position": [0, -12, 0]
},
"RightLeg": {
"rotation": [-32.5, -20, 0],
"position": [-3, -2, -2]
},
"LeftLeg": {
"rotation": [-90, 40, 0],
"position": [6.75, -10, 0]
}
}
}
}
}

View File

@@ -1,94 +0,0 @@
{
"comment1": "These client side filters and adjustments affect all watut animations in the same way",
"comment2": "filters support @ for mod id, and * at the start or end of the match for partial matches",
"comment3": "in adjustments section, you can specify 'DISABLED' to outright disable any animation on that hand and axis, or use degrees to adjust by a certain amount",
"comment4": "matchingHandX and matchingHandY are probably all you need, for watuts animations, X is the main up/down, and Y is left/right, Z is available but usually not needed",
"comment5": "matchingHand is for adjusting the hand that actually has the item, otherHand is for adjusting the other hand if matchingHand matched something",
"comment6": "using otherHand along with matchingHand is useful for disabling or adjusting movement when using items that change both hands, like gun mods or 2 handed weapons",
"comment7": "you can make a rule only active if a specfic mod is installed by using 'only_if_mod_installed' with a mod id, see its use below for an example",
"comment8": "matching priority order is first to last, so in this file, highest to lowest, higher overrides lower if both match",
"comment9": "use '/watut reloadJSON' (forge builds only) to reload this config in game to see your changes instantly",
"held_item_arm_adjustments": [
{
"comment1": "example1",
"filters": [
"themodid:someitem"
],
"adjustment": {
"matchingHandX": "-90",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED"
}
},
{
"comment1": "example2",
"filters": [
"themodid:ingot_*"
],
"adjustment": {
"matchingHandX": "45"
}
},
{
"comment1": "example3",
"filters": [
"*_wacky_tornado_item_*"
],
"adjustment": {
"matchingHandX": "DISABLED",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED",
"otherHandX": "DISABLED",
"otherHandY": "DISABLED",
"otherHandZ": "DISABLED"
}
},
{
"filters": [
"artifacts:umbrella"
],
"adjustment": {
"matchingHandX": "DISABLED",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED"
}
},
{
"filters": [
"tacz:modern_kinetic_gun"
],
"adjustment": {
"matchingHandX": "DISABLED",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED",
"otherHandX": "-90",
"otherHandY": "60"
}
},
{
"only_if_mod_installed": "notenoughanimations",
"filters": [
"minecraft:compass", "minecraft:recovery_compass", "minecraft:torch", "minecraft:soul_torch"
],
"adjustment": {
"matchingHandX": "DISABLED",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED"
}
},
{
"only_if_mod_installed": "notenoughanimations",
"filters": [
"minecraft:filled_map"
],
"adjustment": {
"matchingHandX": "DISABLED",
"matchingHandY": "DISABLED",
"matchingHandZ": "DISABLED",
"otherHandX": "DISABLED",
"otherHandY": "DISABLED",
"otherHandZ": "DISABLED"
}
}
]
}