YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.tileentity.MobSpawnerBaseLogic Class Referenceabstract

Inherited by net.minecraft.entity.ai.EntityMinecartMobSpawnerLogic, and net.minecraft.tileentity.TileEntityMobSpawnerLogic.

Public Member Functions

String getEntityNameToSpawn ()
 
void setMobID (String par1Str)
 
boolean canRun ()
 
void updateSpawner ()
 
Entity func_98265_a (Entity par1Entity)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
boolean setDelayToMin (int par1)
 
Entity func_98281_h ()
 
WeightedRandomMinecart getRandomMinecart ()
 
void setRandomMinecart (WeightedRandomMinecart par1WeightedRandomMinecart)
 
abstract void func_98267_a (int i)
 
abstract World getSpawnerWorld ()
 
abstract int getSpawnerX ()
 
abstract int getSpawnerY ()
 
abstract int getSpawnerZ ()
 

Public Attributes

int spawnDelay = 20
 
double field_98287_c
 
double field_98284_d = 0.0D
 

Member Function Documentation

boolean net.minecraft.tileentity.MobSpawnerBaseLogic.canRun ( )

Returns true if there's a player close enough to this mob spawner to activate it.

Entity net.minecraft.tileentity.MobSpawnerBaseLogic.func_98265_a ( Entity  par1Entity)
abstract void net.minecraft.tileentity.MobSpawnerBaseLogic.func_98267_a ( int  i)
pure virtual
Entity net.minecraft.tileentity.MobSpawnerBaseLogic.func_98281_h ( )
String net.minecraft.tileentity.MobSpawnerBaseLogic.getEntityNameToSpawn ( )

Gets the entity name that should be spawned.

WeightedRandomMinecart net.minecraft.tileentity.MobSpawnerBaseLogic.getRandomMinecart ( )
abstract World net.minecraft.tileentity.MobSpawnerBaseLogic.getSpawnerWorld ( )
pure virtual
abstract int net.minecraft.tileentity.MobSpawnerBaseLogic.getSpawnerX ( )
pure virtual
abstract int net.minecraft.tileentity.MobSpawnerBaseLogic.getSpawnerY ( )
pure virtual
abstract int net.minecraft.tileentity.MobSpawnerBaseLogic.getSpawnerZ ( )
pure virtual
void net.minecraft.tileentity.MobSpawnerBaseLogic.readFromNBT ( NBTTagCompound  par1NBTTagCompound)
boolean net.minecraft.tileentity.MobSpawnerBaseLogic.setDelayToMin ( int  par1)

Sets the delay to minDelay if parameter given is 1, else return false.

void net.minecraft.tileentity.MobSpawnerBaseLogic.setMobID ( String  par1Str)
void net.minecraft.tileentity.MobSpawnerBaseLogic.setRandomMinecart ( WeightedRandomMinecart  par1WeightedRandomMinecart)
void net.minecraft.tileentity.MobSpawnerBaseLogic.updateSpawner ( )
void net.minecraft.tileentity.MobSpawnerBaseLogic.writeToNBT ( NBTTagCompound  par1NBTTagCompound)

Member Data Documentation

double net.minecraft.tileentity.MobSpawnerBaseLogic.field_98284_d = 0.0D
double net.minecraft.tileentity.MobSpawnerBaseLogic.field_98287_c
int net.minecraft.tileentity.MobSpawnerBaseLogic.spawnDelay = 20

The delay to spawn.


The documentation for this class was generated from the following file: