Expand description
Replacement logic for Event$ AddCounter.
Mirrors Java ReplaceAddCounter.java in forge/game/replacement/.
Functions§
- can_
replace - Mirrors Java
ReplaceAddCounter.canReplace(). - execute
- Mirrors Java
ReplacementHandler.executeReplacement()for AddCounter. - has_
any_ in_ counter_ map - Check if the effect has a
ValidCounterType$that matches the given counter type. - mode_
check - Check if this effect’s event type matches the given event for AddCounter purposes.