Currently provides one interface for status effects: UnclearableStatusEffect.
UnclearableStatusEffect
Package: org.carpentry.citrine.api.effect
org.carpentry.citrine.api.effect
UnclearableStatusEffect marks a status effect as unclearable through methods such as drinking milk or using /effect clear.
/effect clear
To implement it, simply have your custom StatusEffect class implement the interface:
StatusEffect
public class UnclearableEffect extends StatusEffect implements UnclearableStatusEffect { protected UnclearableEffect(StatusEffectCategory category, int color) { super(category, color); } }
No additional methods are required.
There was an error while loading. Please reload this page.