public class EntityPotion extends EntityThrowable
Entity.EnumEntitySizeinGround, throwableShakeaddedToChunk, 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 |
|---|
EntityPotion(World par1World) |
EntityPotion(World par1World,
double par2,
double par4,
double par6,
int par8) |
EntityPotion(World par1World,
double par2,
double par4,
double par6,
ItemStack par8ItemStack) |
EntityPotion(World par1World,
EntityLivingBase par2EntityLivingBase,
int par3) |
EntityPotion(World par1World,
EntityLivingBase par2EntityLivingBase,
ItemStack par3ItemStack) |
| 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 par1MovingObjectPosition) |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setPotionDamage(int par1) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
entityInit, getShadowSize, getThrower, isInRangeToRenderDist, onUpdate, setThrowableHeading, setVelocityaddEntityCrashInfo, 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, writeToNBTOptionalpublic EntityPotion(World par1World)
public EntityPotion(World par1World, EntityLivingBase par2EntityLivingBase, int par3)
public EntityPotion(World par1World, EntityLivingBase par2EntityLivingBase, ItemStack par3ItemStack)
public EntityPotion(World par1World, double par2, double par4, double par6, int par8)
protected float getGravityVelocity()
getGravityVelocity in class EntityThrowableprotected float func_70182_d()
func_70182_d in class EntityThrowableprotected float func_70183_g()
func_70183_g in class EntityThrowablepublic void setPotionDamage(int par1)
public int getPotionDamage()
protected void onImpact(MovingObjectPosition par1MovingObjectPosition)
onImpact in class EntityThrowablepublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityThrowablepublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityThrowable