public class EntityBoat extends Entity
Modifier and Type | Field and Description |
---|---|
int |
boatCurrentDamage |
int |
boatRockDirection |
int |
boatTimeSinceHit |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityBoat(World world) |
EntityBoat(World world,
double d,
double d1,
double d2) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(Entity entity,
int i) |
boolean |
canBeCollidedWith() |
boolean |
canBePushed() |
protected boolean |
canTriggerWalking() |
protected void |
entityInit() |
AxisAlignedBB |
getBoundingBox() |
AxisAlignedBB |
getCollisionBox(Entity entity) |
double |
getMountedYOffset() |
float |
getShadowSize() |
boolean |
interact(EntityPlayer entityplayer) |
void |
onUpdate() |
void |
performHurtAnimation() |
protected void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i) |
void |
setVelocity(double d,
double d1,
double d2) |
void |
updateRiderPosition() |
protected void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, fall, func_346_d, getCollisionBorderSize, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getEntityTexture, getEyeHeight, getLookVec, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isEntityAlive, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setWorld, updateCloak, updateFallState, updateRidden, writeToNBT
public int boatCurrentDamage
public int boatTimeSinceHit
public int boatRockDirection
public EntityBoat(World world)
public EntityBoat(World world, double d, double d1, double d2)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public AxisAlignedBB getCollisionBox(Entity entity)
getCollisionBox
in class Entity
public AxisAlignedBB getBoundingBox()
getBoundingBox
in class Entity
public boolean canBePushed()
canBePushed
in class Entity
public double getMountedYOffset()
getMountedYOffset
in class Entity
public boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom
in class Entity
public void performHurtAnimation()
performHurtAnimation
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public void setPositionAndRotation2(double d, double d1, double d2, float f, float f1, int i)
setPositionAndRotation2
in class Entity
public void setVelocity(double d, double d1, double d2)
setVelocity
in class Entity
public void updateRiderPosition()
updateRiderPosition
in class Entity
protected void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT
in class Entity
protected void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public boolean interact(EntityPlayer entityplayer)