public abstract class MobSpawnerBaseLogic extends Object
Modifier and Type | Field and Description |
---|---|
double |
field_98284_d |
double |
field_98287_c |
int |
spawnDelay
The delay to spawn.
|
Constructor and Description |
---|
MobSpawnerBaseLogic() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRun()
Returns true if there's a player close enough to this mob spawner to activate it.
|
Entity |
func_98265_a(Entity par1Entity) |
abstract void |
func_98267_a(int i) |
Entity |
func_98281_h() |
String |
getEntityNameToSpawn()
Gets the entity name that should be spawned.
|
WeightedRandomMinecart |
getRandomMinecart() |
abstract World |
getSpawnerWorld() |
abstract int |
getSpawnerX() |
abstract int |
getSpawnerY() |
abstract int |
getSpawnerZ() |
void |
readFromNBT(NBTTagCompound par1NBTTagCompound) |
boolean |
setDelayToMin(int par1)
Sets the delay to minDelay if parameter given is 1, else return false.
|
void |
setMobID(String par1Str) |
void |
setRandomMinecart(WeightedRandomMinecart par1WeightedRandomMinecart) |
void |
updateSpawner() |
void |
writeToNBT(NBTTagCompound par1NBTTagCompound) |
public int spawnDelay
public double field_98287_c
public double field_98284_d
public String getEntityNameToSpawn()
public void setMobID(String par1Str)
public boolean canRun()
public void updateSpawner()
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
public boolean setDelayToMin(int par1)
public Entity func_98281_h()
public WeightedRandomMinecart getRandomMinecart()
public void setRandomMinecart(WeightedRandomMinecart par1WeightedRandomMinecart)
public abstract void func_98267_a(int i)
public abstract World getSpawnerWorld()
public abstract int getSpawnerX()
public abstract int getSpawnerY()
public abstract int getSpawnerZ()