Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class EntityThrowable

    java.lang.Object
      net.minecraft.src.Entity
          net.minecraft.src.EntityThrowable

All Implemented Interfaces:
  IProjectile

Direct Known Subclasses:
  EntityEgg, EntityEnderPearl, EntityExpBottle, EntityPotion, EntitySnowball

    public abstract class EntityThrowable

extends Entity
implements IProjectile

Field Summary
`int` | `throwableShake`

Fields inherited from class net.minecraft.src.Entity
`addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dimension, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_82151_R, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize`

Constructor Summary
`EntityThrowable(World par1World)`
`EntityThrowable(World par1World, double par2, double par4, double par6)`
`EntityThrowable(World par1World, EntityLiving par2EntityLiving)`

Method Summary
`float` | `getShadowSize()`
`boolean` | `isInRangeToRenderDist(double par1)`
`void` | `onUpdate()` Called to update the entity's position/logic.
`void` | `readEntityFromNBT(NBTTagCompound par1NBTTagCompound)` (abstract) Protected helper method to read subclass entity data from NBT.
`void` | `setThrowableHeading(double par1, double par3, double par5, float par7, float par8)` Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction.
`void` | `setVelocity(double par1, double par3, double par5)`
`void` | `writeEntityToNBT(NBTTagCompound par1NBTTagCompound)` (abstract) Protected helper method to write subclass entity data to NBT.

Methods inherited from class net.minecraft.src.Entity
`addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_70062_b, func_70079_am, func_82141_a, func_82142_c, func_82143_as, func_82144_au, func_82145_z, func_82146_a, func_82147_ab, func_82148_at, func_82149_j, func_82150_aj, generatePersistentID, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getEyeHeight, getLastActiveItems, getLookVec, getMountedYOffset, getParts, getPersistentID, getPickedResult, getTexture, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveEntity, moveFlying, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, readFromNBT, setAir, setAngles, setDead, setEating, setFire, setHeadRotationYaw, setInPortal, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setPositionAndRotation2, setSneaking, setSprinting, setWorld, shouldRiderSit, toString, travelToTheEnd, unmountEntity, updateCloak, updateRidden, updateRiderPosition, writeToNBT`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### throwableShake

    public int throwableShake

Constructor Detail

### EntityThrowable

    public EntityThrowable(World par1World)

### EntityThrowable

    public EntityThrowable(World par1World,
                           EntityLiving par2EntityLiving)

### EntityThrowable

    public EntityThrowable(World par1World,
                           double par2,
                           double par4,
                           double par6)

Method Detail

### isInRangeToRenderDist

    public boolean isInRangeToRenderDist(double par1)

  Overrides:
    `isInRangeToRenderDist` in class `Entity`

### setThrowableHeading

    public void setThrowableHeading(double par1,
                                    double par3,
                                    double par5,
                                    float par7,
                                    float par8)

  Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction.

  Specified by:
    `setThrowableHeading` in interface `IProjectile`

### setVelocity

    public void setVelocity(double par1,
                            double par3,
                            double par5)

  Overrides:
    `setVelocity` in class `Entity`

### onUpdate

    public void onUpdate()

  Called to update the entity's position/logic.

  Overrides:
    `onUpdate` in class `Entity`

### writeEntityToNBT

    public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)

  (abstract) Protected helper method to write subclass entity data to NBT.

### readEntityFromNBT

    public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)

  (abstract) Protected helper method to read subclass entity data from NBT.

### getShadowSize

    public float getShadowSize()

  Overrides:
    `getShadowSize` in class `Entity`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD