public abstract class EntityThrowable extends Entity implements IProjectile
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
protected boolean |
inGround |
int |
throwableShake |
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 |
---|
EntityThrowable(World p_i1776_1_) |
EntityThrowable(World p_i1778_1_,
double p_i1778_2_,
double p_i1778_4_,
double p_i1778_6_) |
EntityThrowable(World p_i1777_1_,
EntityLivingBase p_i1777_2_) |
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 p_70112_1_) |
protected abstract void |
onImpact(MovingObjectPosition p_70184_1_) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setThrowableHeading(double p_70186_1_,
double p_70186_3_,
double p_70186_5_,
float p_70186_7_,
float p_70186_8_) |
void |
setVelocity(double p_70016_1_,
double p_70016_3_,
double p_70016_5_) |
void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canRenderOnFire, 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, getEntityId, getEntityString, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, 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, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityThrowable(World p_i1776_1_)
public EntityThrowable(World p_i1777_1_, EntityLivingBase p_i1777_2_)
public EntityThrowable(World p_i1778_1_, double p_i1778_2_, double p_i1778_4_, double p_i1778_6_)
protected void entityInit()
entityInit
in class Entity
public boolean isInRangeToRenderDist(double p_70112_1_)
isInRangeToRenderDist
in class Entity
protected float func_70182_d()
protected float func_70183_g()
public void setThrowableHeading(double p_70186_1_, double p_70186_3_, double p_70186_5_, float p_70186_7_, float p_70186_8_)
setThrowableHeading
in interface IProjectile
public void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_)
setVelocity
in class Entity
protected float getGravityVelocity()
protected abstract void onImpact(MovingObjectPosition p_70184_1_)
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public EntityLivingBase getThrower()