`ICurioItem#getEquipSound` is never called
Aizistral opened this issue ยท 0 comments
Versions:
- Curios: 1.18.1-5.0.6.0
- Forge/Fabric: 1.18.1-39.0.64
Observed Behavior:
The ICurioItem#getEquipSound
method does not seem to be used at all, as default onEquipFromUse
implementation redirects the call to playRightClickEquipSound
, which in turns redirects to ICurio#playRightClickEquipSound
on defaultInstance
, which pulls the equip sound by invoking its own getEquipSound
method, which always returns generic armor equip sound.
Expected Behavior:
Overriding ICurioItem#getEquipSound
can actually be useful in some way.
Steps to Reproduce:
- Override
ICurioItem#getEquipSound
in your accessory class which implementsICurioItem
; - Return some custom sound of your choice;
- Load into the game and try to right-click-equip your accessory;
- Hear the default equip sound instead of your custom one;
- Contemplate the futility of your efforts.
Crash Log: none