Class MobSpawnerBaseLogic

java.lang.Object
net.minecraft.src.MobSpawnerBaseLogic

public abstract class MobSpawnerBaseLogic extends Object
  • Field Details

    • spawnDelay

      public int spawnDelay
      The delay to spawn.
    • field_98287_c

      public double field_98287_c
    • field_98284_d

      public double field_98284_d
  • Constructor Details

    • MobSpawnerBaseLogic

      public MobSpawnerBaseLogic()
  • Method Details

    • getEntityNameToSpawn

      public String getEntityNameToSpawn()
      Gets the entity name that should be spawned.
    • setMobID

      public void setMobID(String par1Str)
    • canRun

      public boolean canRun()
      Returns true if there's a player close enough to this mob spawner to activate it.
    • updateSpawner

      public void updateSpawner()
    • func_98265_a

      public Entity func_98265_a(Entity par1Entity)
    • readFromNBT

      public void readFromNBT(NBTTagCompound par1NBTTagCompound)
    • writeToNBT

      public void writeToNBT(NBTTagCompound par1NBTTagCompound)
    • func_98281_h

      public Entity func_98281_h()
    • setDelayToMin

      public boolean setDelayToMin(int par1)
      Sets the delay to minDelay if parameter given is 1, else return false.
    • getRandomMinecart

      public WeightedRandomMinecart getRandomMinecart()
    • setRandomMinecart

      public void setRandomMinecart(WeightedRandomMinecart par1WeightedRandomMinecart)
    • hasReachedSpawnCap

      public boolean hasReachedSpawnCap()
    • func_98267_a

      public abstract void func_98267_a(int var1)
    • getSpawnerWorld

      public abstract World getSpawnerWorld()
    • getSpawnerX

      public abstract int getSpawnerX()
    • getSpawnerY

      public abstract int getSpawnerY()
    • getSpawnerZ

      public abstract int getSpawnerZ()
    • onDecay

      public void onDecay()