Class Firestorm
java.lang.Object
io.github.addoncommunity.galactifun.api.aliens.Alien<org.bukkit.entity.Blaze>
io.github.addoncommunity.galactifun.base.aliens.Firestorm
- All Implemented Interfaces:
org.bukkit.event.Listener
public final class Firestorm
extends Alien<org.bukkit.entity.Blaze>
implements org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanSpawnInLightLevel(int lightLevel) This method returns whether the alien can spawn in the given light level.voidonDamage(org.bukkit.event.entity.EntityDamageEvent e) voidonShoot(org.bukkit.event.entity.ProjectileLaunchEvent e) Methods inherited from class Alien
alienManager, attemptSpawn, clazz, getSpawnHeightOffset, hashCode, id, isRegistered, maxHealth, name, onAttack, onCastSpell, onDeath, onEntityTick, onHit, onInteract, onSpawn, onTarget, onTick, onUniqueTick, register, spawn, spawnChance
-
Constructor Details
-
Firestorm
-
-
Method Details
-
onShoot
-
onDamage
-
canSpawnInLightLevel
protected boolean canSpawnInLightLevel(int lightLevel) Description copied from class:AlienThis method returns whether the alien can spawn in the given light level. By default uses theZombielight level conditions- Overrides:
canSpawnInLightLevelin classAlien<org.bukkit.entity.Blaze>- Parameters:
lightLevel- the light level of the block the alien is attempting to spawn on- Returns:
trueif the alien can spawn in this light level,falseotherwise
-