public abstract class EntityThrowable extends Entity implements IProjectile
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
protected boolean |
inGround |
int |
throwableShake |
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, 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 |
---|
EntityThrowable(World par1World) |
EntityThrowable(World par1World,
double par2,
double par4,
double par6) |
EntityThrowable(World par1World,
EntityLivingBase par2EntityLivingBase) |
Modifier and Type | Method and Description |
---|---|
protected void |
entityInit() |
protected float |
func_70182_d() |
protected float |
func_70183_g() |
protected float |
getGravityVelocity() |
float |
getShadowSize() |
EntityLivingBase |
getThrower() |
boolean |
isInRangeToRenderDist(double par1) |
protected abstract void |
onImpact(MovingObjectPosition var1) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setThrowableHeading(double par1,
double par3,
double par5,
float par7,
float par8) |
void |
setVelocity(double par1,
double par3,
double par5) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, canTriggerWalking, 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, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityThrowable(World par1World)
public EntityThrowable(World par1World, EntityLivingBase par2EntityLivingBase)
public EntityThrowable(World par1World, double par2, double par4, double par6)
protected void entityInit()
entityInit
in class Entity
public boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist
in class Entity
protected float func_70182_d()
protected float func_70183_g()
public void setThrowableHeading(double par1, double par3, double par5, float par7, float par8)
setThrowableHeading
in interface IProjectile
public void setVelocity(double par1, double par3, double par5)
setVelocity
in class Entity
protected float getGravityVelocity()
protected abstract void onImpact(MovingObjectPosition var1)
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public EntityLivingBase getThrower()