public abstract class MobSpawnerBaseLogic
extends java.lang.Object
Constructor and Description |
---|
MobSpawnerBaseLogic() |
Modifier and Type | Method and Description |
---|---|
abstract void |
broadcastEvent(int id) |
Entity |
getCachedEntity() |
double |
getMobRotation() |
double |
getPrevMobRotation() |
abstract BlockPos |
getSpawnerPosition() |
abstract World |
getSpawnerWorld() |
void |
readFromNBT(NBTTagCompound nbt) |
boolean |
setDelayToMin(int delay) |
void |
setEntityId(ResourceLocation id) |
void |
setNextSpawnData(WeightedSpawnerEntity p_184993_1_) |
void |
updateSpawner() |
NBTTagCompound |
writeToNBT(NBTTagCompound p_189530_1_) |
public void setEntityId(@Nullable ResourceLocation id)
public void updateSpawner()
public void readFromNBT(NBTTagCompound nbt)
public NBTTagCompound writeToNBT(NBTTagCompound p_189530_1_)
public boolean setDelayToMin(int delay)
public Entity getCachedEntity()
public void setNextSpawnData(WeightedSpawnerEntity p_184993_1_)
public abstract void broadcastEvent(int id)
public abstract World getSpawnerWorld()
public abstract BlockPos getSpawnerPosition()
public double getMobRotation()
public double getPrevMobRotation()