ItemBase.CanReceiveAttachment
base class · 1514 subclasses · runs per event · vanilla source
Whether a given item may be attached to this one.
11 drop the chain
Override without super(): vanilla's code here, and every earlier-loaded mod's, never runs. Vanilla's attachment rules and earlier mods' vetoes on this item are skipped. With two of these on one server, only the one that loads later has its version run.
4 call super() on some paths
The chain continues unless the mod returns early; whether that matters depends on the condition.
2 keep the chain
Always calls super(): these stack with each other and with vanilla.
Each mod's latest analyzed version, counted once by its weakest override of this method. Dropping the chain is often the point of a mod; this shows where mods collide, not who is wrong. Compose your stack to check the mods you run.