Package net.minecraft.tileentity
Class MobSpawnerBaseLogic
- java.lang.Object
-
- net.minecraft.tileentity.MobSpawnerBaseLogic
-
public abstract class MobSpawnerBaseLogic extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MobSpawnerBaseLogic.WeightedRandomMinecart
-
Constructor Summary
Constructors Constructor Description MobSpawnerBaseLogic()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Entity
func_180612_a(World worldIn)
abstract void
func_98267_a(int var1)
double
getMobRotation()
double
getPrevMobRotation()
abstract BlockPos
getSpawnerPosition()
abstract World
getSpawnerWorld()
void
readFromNBT(NBTTagCompound nbt)
boolean
setDelayToMin(int delay)
+ Sets the delay to minDelay if parameter given is 1, else return false.void
setEntityName(java.lang.String name)
void
setRandomEntity(MobSpawnerBaseLogic.WeightedRandomMinecart parWeightedRandomMinecart)
void
updateSpawner()
void
writeToNBT(NBTTagCompound nbt)
-
-
-
Method Detail
-
setEntityName
public void setEntityName(java.lang.String name)
-
updateSpawner
public void updateSpawner()
-
readFromNBT
public void readFromNBT(NBTTagCompound nbt)
-
writeToNBT
public void writeToNBT(NBTTagCompound nbt)
-
setDelayToMin
public boolean setDelayToMin(int delay)
+ Sets the delay to minDelay if parameter given is 1, else return false.
-
setRandomEntity
public void setRandomEntity(MobSpawnerBaseLogic.WeightedRandomMinecart parWeightedRandomMinecart)
-
func_98267_a
public abstract void func_98267_a(int var1)
-
getSpawnerWorld
public abstract World getSpawnerWorld()
-
getSpawnerPosition
public abstract BlockPos getSpawnerPosition()
-
getMobRotation
public double getMobRotation()
-
getPrevMobRotation
public double getPrevMobRotation()
-
-