public class EntityBoat extends Entity
Entity.EnumEntitySize
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityBoat(World p_i1704_1_) |
EntityBoat(World p_i1705_1_,
double p_i1705_2_,
double p_i1705_4_,
double p_i1705_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource p_70097_1_,
float p_70097_2_) |
boolean |
canBeCollidedWith() |
boolean |
canBePushed() |
protected boolean |
canTriggerWalking() |
protected void |
entityInit() |
AxisAlignedBB |
getBoundingBox() |
AxisAlignedBB |
getCollisionBox(Entity p_70114_1_) |
float |
getDamageTaken() |
int |
getForwardDirection() |
double |
getMountedYOffset() |
float |
getShadowSize() |
int |
getTimeSinceHit() |
boolean |
interactFirst(EntityPlayer p_130002_1_) |
void |
onUpdate() |
void |
performHurtAnimation() |
protected void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setDamageTaken(float p_70266_1_) |
void |
setForwardDirection(int p_70269_1_) |
void |
setIsBoatEmpty(boolean p_70270_1_) |
void |
setPositionAndRotation2(double p_70056_1_,
double p_70056_3_,
double p_70056_5_,
float p_70056_7_,
float p_70056_8_,
int p_70056_9_) |
void |
setTimeSinceHit(int p_70265_1_) |
void |
setVelocity(double p_70016_1_,
double p_70016_3_,
double p_70016_5_) |
protected void |
updateFallState(double p_70064_1_,
boolean p_70064_3_) |
void |
updateRiderPosition() |
protected void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityId, getEntityString, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getParts, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, playSound, preparePlayerToSpawn, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldSetPosAfterLoading, toString, travelToDimension, updateRidden, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityBoat(World p_i1704_1_)
public EntityBoat(World p_i1705_1_, double p_i1705_2_, double p_i1705_4_, double p_i1705_6_)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public AxisAlignedBB getCollisionBox(Entity p_70114_1_)
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(DamageSource p_70097_1_, float p_70097_2_)
attackEntityFrom
in class Entity
public void performHurtAnimation()
performHurtAnimation
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public void setPositionAndRotation2(double p_70056_1_, double p_70056_3_, double p_70056_5_, float p_70056_7_, float p_70056_8_, int p_70056_9_)
setPositionAndRotation2
in class Entity
public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_)
setVelocity
in class Entity
public void updateRiderPosition()
updateRiderPosition
in class Entity
protected void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class Entity
protected void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public boolean interactFirst(EntityPlayer p_130002_1_)
interactFirst
in class Entity
protected void updateFallState(double p_70064_1_, boolean p_70064_3_)
updateFallState
in class Entity
public void setDamageTaken(float p_70266_1_)
public float getDamageTaken()
public void setTimeSinceHit(int p_70265_1_)
public int getTimeSinceHit()
public void setForwardDirection(int p_70269_1_)
public int getForwardDirection()
public void setIsBoatEmpty(boolean p_70270_1_)