Class FIRE_RESISTANCE
java.lang.Object
net.pottercraft.ollivanders2.effect.O2Effect
net.pottercraft.ollivanders2.effect.PotionEffectSuper
net.pottercraft.ollivanders2.effect.FIRE_RESISTANCE
Fire Resistance effect that grants immunity to fire damage.
Applies the Minecraft fire resistance potion effect, making the player immune to fire and lava damage. This effect can be temporary or permanent depending on spell duration.
-
Field Summary
Fields inherited from class net.pottercraft.ollivanders2.effect.O2Effect
affectedPlayerText, duration, effectType, informousText, kill, legilimensText, p, permanent, targetID -
Constructor Summary
ConstructorsConstructorDescriptionFIRE_RESISTANCE(@NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull UUID pid) Constructor for Fire Resistance effect. -
Method Summary
Methods inherited from class net.pottercraft.ollivanders2.effect.PotionEffectSuper
checkEffect, getPotionEffectType, getStrength, setPermanent, setStrengthMethods inherited from class net.pottercraft.ollivanders2.effect.O2Effect
age, getAffectedPlayerText, getInformousText, getLegilimensText, getMaxDuration, getMinDuration, getRemainingDuration, getTargetID, isKilled, isPermanent, kill
-
Constructor Details
-
FIRE_RESISTANCE
public FIRE_RESISTANCE(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid) Constructor for Fire Resistance effect.- Parameters:
plugin- the Ollivanders2 pluginduration- the duration in ticksisPermanent- whether the effect is permanentpid- the player UUID
-
-
Method Details