Class Boat
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.vehicle.Boat
-
public class Boat extends Entity
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attackEntityFrom(DamageSource var1, int var2)
boolean
canBeCollidedWith()
boolean
canBePushed()
protected boolean
canTriggerWalking()
protected void
entityInit()
AxisAlignedBB
getBoundingBox()
AxisAlignedBB
getCollisionBox(Entity var1)
int
getDamageTaken()
int
getForwardDirection()
double
getMountedYOffset()
@net.minecraft.modding.api.Side.Client float
getShadowSize()
int
getTimeSinceHit()
boolean
interact(Player var1)
void
onUpdate()
void
performHurtAnimation()
protected void
readEntityFromNBT(NBTTagCompound nbttagcompound)
void
setDamageTaken(int var1)
void
setForwardDirection(int var1)
void
setPositionAndRotation2(double var1, double var3, double var5, float var7, float var8, int var9)
void
setTimeSinceHit(int var1)
void
setVelocity(double var1, double var3, double var5)
void
updateRiderPosition()
protected void
writeEntityToNBT(NBTTagCompound nbttagcompound)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getParts, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setSprinting, setWorld, toString, updateFallState, updateRidden, writeToNBT
-
-
-
-
Method Detail
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalking
in classEntity
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
getCollisionBox
public AxisAlignedBB getCollisionBox(Entity var1)
- Overrides:
getCollisionBox
in classEntity
-
getBoundingBox
public AxisAlignedBB getBoundingBox()
- Overrides:
getBoundingBox
in classEntity
-
canBePushed
public boolean canBePushed()
- Overrides:
canBePushed
in classEntity
-
getMountedYOffset
public double getMountedYOffset()
- Overrides:
getMountedYOffset
in classEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classEntity
-
performHurtAnimation
@Client public void performHurtAnimation()
- Overrides:
performHurtAnimation
in classEntity
-
canBeCollidedWith
public boolean canBeCollidedWith()
- Overrides:
canBeCollidedWith
in classEntity
-
setPositionAndRotation2
@Client public void setPositionAndRotation2(double var1, double var3, double var5, float var7, float var8, int var9)
- Overrides:
setPositionAndRotation2
in classEntity
-
setVelocity
@Client public void setVelocity(double var1, double var3, double var5)
- Overrides:
setVelocity
in classEntity
-
updateRiderPosition
public void updateRiderPosition()
- Overrides:
updateRiderPosition
in classEntity
-
writeEntityToNBT
protected void writeEntityToNBT(NBTTagCompound nbttagcompound)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
protected void readEntityFromNBT(NBTTagCompound nbttagcompound)
- Specified by:
readEntityFromNBT
in classEntity
-
getShadowSize
@Client public @net.minecraft.modding.api.Side.Client float getShadowSize()
- Overrides:
getShadowSize
in classEntity
-
setDamageTaken
public void setDamageTaken(int var1)
-
getDamageTaken
public int getDamageTaken()
-
setTimeSinceHit
public void setTimeSinceHit(int var1)
-
getTimeSinceHit
public int getTimeSinceHit()
-
setForwardDirection
public void setForwardDirection(int var1)
-
getForwardDirection
public int getForwardDirection()
-
-