public class EntityPotion extends EntityThrowable
Entity.EnumEntitySize
inGround, 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 |
---|
EntityPotion(World p_i1788_1_) |
EntityPotion(World p_i1791_1_,
double p_i1791_2_,
double p_i1791_4_,
double p_i1791_6_,
int p_i1791_8_) |
EntityPotion(World p_i1792_1_,
double p_i1792_2_,
double p_i1792_4_,
double p_i1792_6_,
ItemStack p_i1792_8_) |
EntityPotion(World p_i1789_1_,
EntityLivingBase p_i1789_2_,
int p_i1789_3_) |
EntityPotion(World p_i1790_1_,
EntityLivingBase p_i1790_2_,
ItemStack p_i1790_3_) |
Modifier and Type | Method and Description |
---|---|
protected float |
func_70182_d() |
protected float |
func_70183_g() |
protected float |
getGravityVelocity() |
int |
getPotionDamage() |
protected void |
onImpact(MovingObjectPosition p_70184_1_) |
void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setPotionDamage(int p_82340_1_) |
void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
entityInit, getShadowSize, getThrower, isInRangeToRenderDist, onUpdate, setThrowableHeading, setVelocity
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 EntityPotion(World p_i1788_1_)
public EntityPotion(World p_i1789_1_, EntityLivingBase p_i1789_2_, int p_i1789_3_)
public EntityPotion(World p_i1790_1_, EntityLivingBase p_i1790_2_, ItemStack p_i1790_3_)
public EntityPotion(World p_i1791_1_, double p_i1791_2_, double p_i1791_4_, double p_i1791_6_, int p_i1791_8_)
protected float getGravityVelocity()
getGravityVelocity
in class EntityThrowable
protected float func_70182_d()
func_70182_d
in class EntityThrowable
protected float func_70183_g()
func_70183_g
in class EntityThrowable
public void setPotionDamage(int p_82340_1_)
public int getPotionDamage()
protected void onImpact(MovingObjectPosition p_70184_1_)
onImpact
in class EntityThrowable
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class EntityThrowable
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class EntityThrowable