|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.Entity
net.minecraft.entity.EntityHanging
public abstract class EntityHanging
Field Summary | |
---|---|
int |
hangingDirection
|
int |
xPosition
|
int |
yPosition
|
int |
zPosition
|
Constructor Summary | |
---|---|
EntityHanging(World par1World)
|
|
EntityHanging(World par1World,
int par2,
int par3,
int par4,
int par5)
|
Method Summary | |
---|---|
void |
addVelocity(double par1,
double par3,
double par5)
Adds to the current velocity of the entity. |
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity. |
abstract void |
dropItemStack()
Drop the item currently on this item frame. |
abstract int |
func_82329_d()
|
abstract int |
func_82330_g()
|
boolean |
func_85031_j(Entity par1Entity)
|
void |
moveEntity(double par1,
double par3,
double par5)
Tries to moves the entity by the passed in displacement. |
void |
onUpdate()
Called to update the entity's position/logic. |
boolean |
onValidSurface()
checks to make sure painting can be placed there |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT. |
void |
setDirection(int par1)
|
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int hangingDirection
public int xPosition
public int yPosition
public int zPosition
Constructor Detail |
---|
public EntityHanging(World par1World)
public EntityHanging(World par1World, int par2, int par3, int par4, int par5)
Method Detail |
---|
public void setDirection(int par1)
public void onUpdate()
onUpdate
in class Entity
public boolean onValidSurface()
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public boolean func_85031_j(Entity par1Entity)
func_85031_j
in class Entity
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class Entity
public void moveEntity(double par1, double par3, double par5)
moveEntity
in class Entity
public void addVelocity(double par1, double par3, double par5)
addVelocity
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
public abstract int func_82329_d()
public abstract int func_82330_g()
public abstract void dropItemStack()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |