fix(P1+P2): swarm review — UX fixes + V1 dead code cleanup

P1 — UX visible:
- Add 4 missing translations (leather_mittens, ball_gag_3d, taser, debug_wand)
- Fix earplugs resistance bucket: "blindfold" → "earplug"
- Split mixin config: core (require=1) + compat MCA (require=0)
- Bump PROTOCOL_VERSION from "1" to "2"
- Add debug_wand item model (no texture — debug only)
- Fix 3 display_name inconsistencies (chain, vine_seed, shock_collar_auto)

P2 — Dead code cleanup:
- Delete IHas3DModelConfig + Model3DConfig (zero imports)
- Remove MovementStyleResolver.resolveV1Fallback() + V1Fallback record + V1 constants
- Remove AnimationTickHandler V1 fallback block + buildAnimationId()
- Document PlayerEquipment.equipInRegion() bypass as intentional (force-equip paths)
This commit is contained in:
NotEvil
2026-04-16 10:58:44 +02:00
parent d75b74f9f9
commit 371a138b71
16 changed files with 58 additions and 264 deletions

View File

@@ -78,6 +78,9 @@ description='''${mod_description}'''
[[mixins]]
config="tiedup.mixins.json"
[[mixins]]
config="tiedup-compat.mixins.json"
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
# stop your mod loading on the server for example.

View File

@@ -963,5 +963,10 @@
"command.tiedup.debt.set": "Set %1$s's total debt to %2$s emeralds.",
"command.tiedup.debt.added": "Added %1$s emeralds to %2$s's debt. Remaining: %3$s",
"command.tiedup.debt.removed": "Removed %1$s emeralds from %2$s's debt. Remaining: %3$s",
"command.tiedup.debt.removed_paid": "Removed %1$s emeralds from %2$s's debt. Remaining: %3$s (PAID OFF!)"
"command.tiedup.debt.removed_paid": "Removed %1$s emeralds from %2$s's debt. Remaining: %3$s (PAID OFF!)",
"item.tiedup.leather_mittens": "Leather Mittens",
"item.tiedup.ball_gag_3d": "Ball Gag",
"item.tiedup.taser": "Taser",
"item.tiedup.debug_wand": "Debug Wand"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "tiedup:item/debug_wand"
}
}

View File

@@ -1,6 +1,6 @@
{
"type": "tiedup:bondage_item",
"display_name": "Chains",
"display_name": "Chain",
"translation_key": "item.tiedup.chain",
"model": "tiedup:models/gltf/v2/binds/chain.glb",
"regions": [

View File

@@ -17,7 +17,7 @@
"components": {
"lockable": {},
"resistance": {
"id": "blindfold"
"id": "earplug"
}
}
}

View File

@@ -11,7 +11,7 @@
"body"
]
},
"display_name": "Auto Shock Collar",
"display_name": "Automatic Shock Collar",
"translation_key": "item.tiedup.shock_collar_auto",
"model": "tiedup:models/gltf/v2/collars/shock_collar_auto.glb",
"components": {

View File

@@ -1,6 +1,6 @@
{
"type": "tiedup:bondage_item",
"display_name": "Vine Bind",
"display_name": "Vine Seed",
"translation_key": "item.tiedup.vine_seed",
"model": "tiedup:models/gltf/v2/binds/vine_seed.glb",
"regions": [

View File

@@ -0,0 +1,22 @@
{
"required": false,
"minVersion": "0.8",
"package": "com.tiedup.remake.mixin",
"compatibilityLevel": "JAVA_17",
"refmap": "tiedup.refmap.json",
"mixins": [
"MixinMCAVillagerInteraction",
"MixinMCAVillagerLeash",
"MixinMCAOpenAIChatAI",
"MixinMCAMessenger"
],
"client": [
"client/MixinVillagerEntityBaseModelMCA",
"client/MixinVillagerEntityMCAAnimated",
"client/MixinMCASpeechManager",
"client/MixinMCAPlayerExtendedModel"
],
"injectors": {
"defaultRequire": 0
}
}

View File

@@ -6,22 +6,14 @@
"refmap": "tiedup.refmap.json",
"mixins": [
"MixinServerPlayer",
"MixinMCAVillagerInteraction",
"MixinMCAVillagerLeash",
"MixinMCAOpenAIChatAI",
"MixinMCAMessenger",
"MixinLivingEntityBodyRot"
],
"client": [
"client/MixinVillagerEntityBaseModelMCA",
"client/MixinVillagerEntityMCAAnimated",
"client/MixinMCASpeechManager",
"client/MixinMCAPlayerExtendedModel",
"client/MixinPlayerModel",
"client/MixinCamera",
"client/MixinLivingEntitySleeping"
],
"injectors": {
"defaultRequire": 0
"defaultRequire": 1
}
}