public class DragonFightManager
extends java.lang.Object
Constructor and Description |
---|
DragonFightManager(WorldServer worldIn,
NBTTagCompound compound) |
Modifier and Type | Method and Description |
---|---|
void |
dragonUpdate(EntityDragon dragonIn) |
NBTTagCompound |
getCompound() |
int |
getNumAliveCrystals() |
boolean |
hasPreviouslyKilledDragon() |
void |
onCrystalDestroyed(EntityEnderCrystal crystal,
DamageSource dmgSrc) |
void |
processDragonDeath(EntityDragon dragon) |
void |
resetSpikeCrystals() |
void |
respawnDragon() |
protected void |
setRespawnState(DragonSpawnManager state) |
void |
tick() |
public DragonFightManager(WorldServer worldIn, NBTTagCompound compound)
public NBTTagCompound getCompound()
public void tick()
protected void setRespawnState(DragonSpawnManager state)
public void processDragonDeath(EntityDragon dragon)
public void dragonUpdate(EntityDragon dragonIn)
public int getNumAliveCrystals()
public void onCrystalDestroyed(EntityEnderCrystal crystal, DamageSource dmgSrc)
public boolean hasPreviouslyKilledDragon()
public void respawnDragon()
public void resetSpikeCrystals()