public class EntityPotion extends EntityThrowable
inGround, throwableShakeaddedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, 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| Constructor and Description |
|---|
EntityPotion(World worldIn) |
EntityPotion(World worldIn,
double p_i1791_2_,
double p_i1791_4_,
double p_i1791_6_,
int p_i1791_8_) |
EntityPotion(World worldIn,
double p_i1792_2_,
double p_i1792_4_,
double p_i1792_6_,
ItemStack p_i1792_8_) |
EntityPotion(World worldIn,
EntityLivingBase p_i1789_2_,
int p_i1789_3_) |
EntityPotion(World worldIn,
EntityLivingBase p_i1790_2_,
ItemStack p_i1790_3_) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
getGravityVelocity() |
protected float |
getInaccuracy() |
int |
getPotionDamage() |
protected float |
getVelocity() |
protected void |
onImpact(MovingObjectPosition p_70184_1_) |
void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
setPotionDamage(int potionId) |
void |
writeEntityToNBT(NBTTagCompound tagCompound) |
entityInit, getThrower, isInRangeToRenderDist, onUpdate, setThrowableHeading, setVelocityaddChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, canTriggerWalking, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180426_a, func_180427_aV, func_180433_a, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getFlag, getHorizontalFacing, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleHealthUpdate, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, replaceItemInInventory, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCommandStat, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic EntityPotion(World worldIn)
public EntityPotion(World worldIn, EntityLivingBase p_i1789_2_, int p_i1789_3_)
public EntityPotion(World worldIn, EntityLivingBase p_i1790_2_, ItemStack p_i1790_3_)
public EntityPotion(World worldIn, double p_i1791_2_, double p_i1791_4_, double p_i1791_6_, int p_i1791_8_)
protected float getGravityVelocity()
getGravityVelocity in class EntityThrowableprotected float getVelocity()
getVelocity in class EntityThrowableprotected float getInaccuracy()
getInaccuracy in class EntityThrowablepublic void setPotionDamage(int potionId)
public int getPotionDamage()
protected void onImpact(MovingObjectPosition p_70184_1_)
onImpact in class EntityThrowablepublic void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityThrowablepublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityThrowable