Class ShieldSpell
java.lang.Object
net.pottercraft.ollivanders2.stationaryspell.O2StationarySpell
net.pottercraft.ollivanders2.stationaryspell.ShieldSpell
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConcealmentShieldSpell,MUFFLIATO,PROTEGO_HORRIBILIS,PROTEGO_MAXIMA,PROTEGO_TOTALUM
Super class for all shield spells
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionShieldSpell(@NotNull Ollivanders2 plugin) Simple constructor used for deserializing saved stationary spells at server start.ShieldSpell(@NotNull Ollivanders2 plugin, @NotNull UUID pid, @NotNull org.bukkit.Location location) Simple constructor used for deserializing saved stationary spells at server start. -
Method Summary
Methods inherited from class net.pottercraft.ollivanders2.stationaryspell.O2StationarySpell
age, age, ageByPercent, checkSpellDeserialization, decreaseRadius, flair, getBlock, getCasterID, getDuration, getLivingEntitiesInsideSpellRadius, getLocation, getMaxDuration, getMaxRadius, getMinDuration, getMinRadius, getPlayersInsideSpellRadius, getRadius, getSpellType, increaseDuration, increaseRadius, isActive, isKilled, isLocationInside, isPermanent, kill, setActive, upkeep
-
Constructor Details
-
ShieldSpell
Simple constructor used for deserializing saved stationary spells at server start. Do not use to cast spell.- Parameters:
plugin- a callback to the MC plugin
-
ShieldSpell
public ShieldSpell(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull UUID pid, @NotNull @NotNull org.bukkit.Location location) Simple constructor used for deserializing saved stationary spells at server start. Do not use to cast spell.- Parameters:
plugin- a callback to the MC pluginpid- the player who cast the spelllocation- the center location of the spell
-