If the Infinity Ham is tagged into a Curios slot such that it is equippable, it will no longer be useable as the equip behavior when right-clicked takes effect instead of the eating behavior.
Expected Behavior:
The Infinity Ham can be eaten while defined as a Curios item.
Steps to Reproduce:
Create a datapack and tag relics:infinity_ham into an available Curios slot.
Attempt to eat an Infinity Ham, but it will instead be equipped into the defined slot.
It looks like this is a result of the base RelicItem returning true for ICurioItem#canEquipFromUse but not overridden to be false for this particular item that has a separate use behavior. I'm not sure if this is the only one as I only tested one other item, the Shadow Glaive, which does not share this problem.
Versions:
Observed Behavior:
If the Infinity Ham is tagged into a Curios slot such that it is equippable, it will no longer be useable as the equip behavior when right-clicked takes effect instead of the eating behavior.
Expected Behavior:
The Infinity Ham can be eaten while defined as a Curios item.
Steps to Reproduce:
relics:infinity_ham
into an available Curios slot.It looks like this is a result of the base
RelicItem
returningtrue
forICurioItem#canEquipFromUse
but not overridden to befalse
for this particular item that has a separate use behavior. I'm not sure if this is the only one as I only tested one other item, the Shadow Glaive, which does not share this problem.