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, writeToNBTpublic 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 Entityprotected void entityInit()
entityInit in class Entitypublic AxisAlignedBB getCollisionBox(Entity entity)
getCollisionBox in class Entitypublic AxisAlignedBB getBoundingBox()
getBoundingBox in class Entitypublic boolean canBePushed()
canBePushed in class Entitypublic double getMountedYOffset()
getMountedYOffset in class Entitypublic boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom in class Entitypublic void performHurtAnimation()
performHurtAnimation in class Entitypublic boolean canBeCollidedWith()
canBeCollidedWith in class Entitypublic void setPositionAndRotation2(double d,
double d1,
double d2,
float f,
float f1,
int i)
setPositionAndRotation2 in class Entitypublic void setVelocity(double d,
double d1,
double d2)
setVelocity in class Entitypublic void updateRiderPosition()
updateRiderPosition in class Entityprotected void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entityprotected void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic float getShadowSize()
getShadowSize in class Entitypublic boolean interact(EntityPlayer entityplayer)