
[Bug] (forge 1.20.1) Weapons becomes "Broken" upon first use
AndyNoob opened this issue · 0 comments
What happened? Describe in detail down below and include the mod version as well.
Essentially is what the title says. Attached is a demonstration in a "clean" modpack.
Forge: 47.3.0 (the recommended)
Modlist:
- Cloth Config v10 API [11.1.136]
- Data Attributes: Directors Cut [2.0.2+1.20.1-fabric]
- Fabric Language Kotlin [1.12.3+kotlin.2.0.21]
- Forgified Fabric API [0.92.2+1.11.8+1.20.1 ]
- PlayerEX: Directors Cut [4.0.0+1.20.1-beta.11]
- RangedWeaponAPI [1.1.4+1.20.1]
- Sinytra Connector [e8hSZ4vp]
- oωo [0.11.2+1.20]
Screen.Recording.2024-11-06.at.8.11.01.PM.mov
What mod loaders is this problem occuring on?
Forge
What do you think this bug is related to?
- Visual
- Feature Related
- Crash
- Mod Conflict
- Others
Relevant logs
Anything else?
I installed the mods through Prism Launcher's download mod feature (and all the mods are on what it determined "latest"), which seems to not give a crap about mod dependencies if the mod loader isn't the same as the instance, so maybe I missed a dependency?
Also, I decided to dig into the source code and discovered that the mixin target that adds the broken tag targets the invocation of the ItemStack#getItem
method, which on forge gets invoked twice:
Once before the item actually gets damaged to do their own damage amount modification.
By submitting this issue, I have confirmed I have followed all instructions and all my mods are up-to-date.
- Yes