|
||||||||||
| 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.item.EntityBoat
public class EntityBoat
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
EntityBoat(World par1World)
|
|
EntityBoat(World par1World,
double par2,
double par4,
double par6)
|
|
| Method Summary | |
|---|---|
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. |
boolean |
canBePushed()
Returns true if this entity should push and be pushed by other entities when colliding. |
void |
func_70270_d(boolean par1)
|
AxisAlignedBB |
getBoundingBox()
returns the bounding box for this entity |
AxisAlignedBB |
getCollisionBox(Entity par1Entity)
Returns a boundingBox used to collide the entity with other entities and blocks. |
int |
getDamageTaken()
Gets the damage taken from the last hit. |
int |
getForwardDirection()
Gets the forward direction of the entity. |
double |
getMountedYOffset()
Returns the Y offset from the entity's position for any entity riding this one. |
float |
getShadowSize()
|
int |
getTimeSinceHit()
Gets the time since the last hit. |
boolean |
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
void |
onUpdate()
Called to update the entity's position/logic. |
void |
performHurtAnimation()
|
void |
setDamageTaken(int par1)
Sets the damage taken from the last hit. |
void |
setForwardDirection(int par1)
Sets the forward direction of the entity. |
void |
setPositionAndRotation2(double par1,
double par3,
double par5,
float par7,
float par8,
int par9)
|
void |
setTimeSinceHit(int par1)
Sets the time to count down from since the last time entity was hit. |
void |
setVelocity(double par1,
double par3,
double par5)
|
void |
updateRiderPosition()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntityBoat(World par1World)
public EntityBoat(World par1World,
double par2,
double par4,
double par6)
| Method Detail |
|---|
public AxisAlignedBB getCollisionBox(Entity par1Entity)
getCollisionBox in class Entitypublic AxisAlignedBB getBoundingBox()
getBoundingBox in class Entitypublic boolean canBePushed()
canBePushed in class Entitypublic double getMountedYOffset()
getMountedYOffset in class Entity
public boolean attackEntityFrom(DamageSource par1DamageSource,
int par2)
attackEntityFrom in class Entitypublic void performHurtAnimation()
performHurtAnimation in class Entitypublic boolean canBeCollidedWith()
canBeCollidedWith in class Entity
public void setPositionAndRotation2(double par1,
double par3,
double par5,
float par7,
float par8,
int par9)
setPositionAndRotation2 in class Entity
public void setVelocity(double par1,
double par3,
double par5)
setVelocity in class Entitypublic void onUpdate()
onUpdate in class Entitypublic void updateRiderPosition()
updateRiderPosition in class Entitypublic boolean interact(EntityPlayer par1EntityPlayer)
interact in class Entitypublic void setDamageTaken(int par1)
public float getShadowSize()
getShadowSize in class Entitypublic int getDamageTaken()
public void setTimeSinceHit(int par1)
public int getTimeSinceHit()
public void setForwardDirection(int par1)
public int getForwardDirection()
public void func_70270_d(boolean par1)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||