YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.projectile.EntityThrowable Class Referenceabstract
Inheritance diagram for net.minecraft.entity.projectile.EntityThrowable:
net.minecraft.entity.Entity net.minecraft.entity.IProjectile net.minecraft.entity.item.EntityEnderPearl net.minecraft.entity.item.EntityExpBottle net.minecraft.entity.projectile.EntityEgg net.minecraft.entity.projectile.EntityPotion net.minecraft.entity.projectile.EntitySnowball

Public Member Functions

 EntityThrowable (World par1World)
 
boolean isInRangeToRenderDist (double par1)
 
 EntityThrowable (World par1World, EntityLiving par2EntityLiving)
 
 EntityThrowable (World par1World, double par2, double par4, double par6)
 
void setThrowableHeading (double par1, double par3, double par5, float par7, float par8)
 
void setVelocity (double par1, double par3, double par5)
 
void onUpdate ()
 
void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
float getShadowSize ()
 
EntityLiving getThrower ()
 
- Public Member Functions inherited from net.minecraft.entity.Entity
 Entity (World par1World)
 
DataWatcher getDataWatcher ()
 
boolean equals (Object par1Obj)
 
int hashCode ()
 
void setDead ()
 
void setPosition (double par1, double par3, double par5)
 
void setAngles (float par1, float par2)
 
void onUpdate ()
 
void onEntityUpdate ()
 
int getMaxInPortalTime ()
 
void setFire (int par1)
 
void extinguish ()
 
boolean isOffsetPositionInLiquid (double par1, double par3, double par5)
 
void moveEntity (double par1, double par3, double par5)
 
void playSound (String par1Str, float par2, float par3)
 
AxisAlignedBB getBoundingBox ()
 
final boolean isImmuneToFire ()
 
boolean isWet ()
 
boolean isInWater ()
 
boolean handleWaterMovement ()
 
boolean isInsideOfMaterial (Material par1Material)
 
float getEyeHeight ()
 
boolean handleLavaMovement ()
 
void moveFlying (float par1, float par2, float par3)
 
int getBrightnessForRender (float par1)
 
float getBrightness (float par1)
 
void setWorld (World par1World)
 
void setPositionAndRotation (double par1, double par3, double par5, float par7, float par8)
 
void setLocationAndAngles (double par1, double par3, double par5, float par7, float par8)
 
float getDistanceToEntity (Entity par1Entity)
 
double getDistanceSq (double par1, double par3, double par5)
 
double getDistance (double par1, double par3, double par5)
 
double getDistanceSqToEntity (Entity par1Entity)
 
void onCollideWithPlayer (EntityPlayer par1EntityPlayer)
 
void applyEntityCollision (Entity par1Entity)
 
void addVelocity (double par1, double par3, double par5)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
boolean canBeCollidedWith ()
 
boolean canBePushed ()
 
void addToPlayerScore (Entity par1Entity, int par2)
 
boolean addNotRiddenEntityID (NBTTagCompound par1NBTTagCompound)
 
boolean isInRangeToRenderVec3D (Vec3 par1Vec3)
 
boolean isInRangeToRenderDist (double par1)
 
String getTexture ()
 
boolean addEntityID (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
float getShadowSize ()
 
EntityItem dropItem (int par1, int par2)
 
EntityItem dropItemWithOffset (int par1, int par2, float par3)
 
EntityItem entityDropItem (ItemStack par1ItemStack, float par2)
 
boolean isEntityAlive ()
 
boolean isEntityInsideOpaqueBlock ()
 
boolean interact (EntityPlayer par1EntityPlayer)
 
AxisAlignedBB getCollisionBox (Entity par1Entity)
 
void updateRidden ()
 
void updateRiderPosition ()
 
double getYOffset ()
 
double getMountedYOffset ()
 
void mountEntity (Entity par1Entity)
 
void unmountEntity (Entity par1Entity)
 
void setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9)
 
float getCollisionBorderSize ()
 
Vec3 getLookVec ()
 
void setInPortal ()
 
int getPortalCooldown ()
 
void setVelocity (double par1, double par3, double par5)
 
void handleHealthUpdate (byte par1)
 
void performHurtAnimation ()
 
void updateCloak ()
 
ItemStack[] getLastActiveItems ()
 
void setCurrentItemOrArmor (int par1, ItemStack par2ItemStack)
 
boolean isBurning ()
 
boolean isRiding ()
 
boolean isSneaking ()
 
void setSneaking (boolean par1)
 
boolean isSprinting ()
 
void setSprinting (boolean par1)
 
boolean isInvisible ()
 
boolean func_98034_c (EntityPlayer par1EntityPlayer)
 
void setInvisible (boolean par1)
 
boolean isEating ()
 
void setEating (boolean par1)
 
int getAir ()
 
void setAir (int par1)
 
void onStruckByLightning (EntityLightningBolt par1EntityLightningBolt)
 
void onKillEntity (EntityLiving par1EntityLiving)
 
void setInWeb ()
 
String getEntityName ()
 
Entity[] getParts ()
 
boolean isEntityEqual (Entity par1Entity)
 
float getRotationYawHead ()
 
void setRotationYawHead (float par1)
 
boolean canAttackWithItem ()
 
boolean func_85031_j (Entity par1Entity)
 
String toString ()
 
boolean isEntityInvulnerable ()
 
void func_82149_j (Entity par1Entity)
 
void copyDataFrom (Entity par1Entity, boolean par2)
 
void travelToDimension (int par1)
 
float func_82146_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, Block par6Block)
 
boolean func_96091_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, int par6, float par7)
 
int func_82143_as ()
 
int getTeleportDirection ()
 
boolean doesEntityNotTriggerPressurePlate ()
 
void func_85029_a (CrashReportCategory par1CrashReportCategory)
 
boolean canRenderOnFire ()
 
boolean func_96092_aw ()
 
String getTranslatedEntityName ()
 
NBTTagCompound getEntityData ()
 
boolean shouldRiderSit ()
 
ItemStack getPickedResult (MovingObjectPosition target)
 
UUID getPersistentID ()
 
final void resetEntityId ()
 
boolean shouldRenderInPass (int pass)
 
boolean isCreatureType (EnumCreatureType type, boolean forSpawnCount)
 
String registerExtendedProperties (String identifier, IExtendedEntityProperties properties)
 
IExtendedEntityProperties getExtendedProperties (String identifier)
 

Public Attributes

int throwableShake = 0
 
- Public Attributes inherited from net.minecraft.entity.Entity
int entityId
 
double renderDistanceWeight
 
boolean preventEntitySpawning
 
Entity riddenByEntity
 
Entity ridingEntity
 
boolean field_98038_p
 
World worldObj
 
double prevPosX
 
double prevPosY
 
double prevPosZ
 
double posX
 
double posY
 
double posZ
 
double motionX
 
double motionY
 
double motionZ
 
float rotationYaw
 
float rotationPitch
 
float prevRotationYaw
 
float prevRotationPitch
 
final AxisAlignedBB boundingBox
 
boolean onGround
 
boolean isCollidedHorizontally
 
boolean isCollidedVertically
 
boolean isCollided
 
boolean velocityChanged
 
boolean field_70135_K
 
boolean isDead
 
float yOffset
 
float width
 
float height
 
float prevDistanceWalkedModified
 
float distanceWalkedModified
 
float distanceWalkedOnStepModified
 
float fallDistance
 
double lastTickPosX
 
double lastTickPosY
 
double lastTickPosZ
 
float ySize
 
float stepHeight
 
boolean noClip
 
float entityCollisionReduction
 
int ticksExisted
 
int fireResistance
 
int hurtResistantTime
 
String skinUrl
 
String cloakUrl
 
boolean addedToChunk
 
int chunkCoordX
 
int chunkCoordY
 
int chunkCoordZ
 
int serverPosX
 
int serverPosY
 
int serverPosZ
 
boolean ignoreFrustumCheck
 
boolean isAirBorne
 
int timeUntilPortal
 
int dimension
 
EnumEntitySize myEntitySize
 
boolean captureDrops = false
 
ArrayList< EntityItemcapturedDrops = new ArrayList<EntityItem>()
 

Protected Member Functions

void entityInit ()
 
float func_70182_d ()
 
float func_70183_g ()
 
float getGravityVelocity ()
 
abstract void onImpact (MovingObjectPosition movingobjectposition)
 
- Protected Member Functions inherited from net.minecraft.entity.Entity
void preparePlayerToSpawn ()
 
void setSize (float par1, float par2)
 
void setRotation (float par1, float par2)
 
void setOnFireFromLava ()
 
void kill ()
 
void doBlockCollisions ()
 
void playStepSound (int par1, int par2, int par3, int par4)
 
boolean canTriggerWalking ()
 
void updateFallState (double par1, boolean par3)
 
void dealFireDamage (int par1)
 
void fall (float par1)
 
void setBeenAttacked ()
 
final String getEntityString ()
 
NBTTagList newDoubleNBTList (double...par1ArrayOfDouble)
 
NBTTagList newFloatNBTList (float...par1ArrayOfFloat)
 
boolean getFlag (int par1)
 
void setFlag (int par1, boolean par2)
 
boolean pushOutOfBlocks (double par1, double par3, double par5)
 

Protected Attributes

boolean inGround = false
 
- Protected Attributes inherited from net.minecraft.entity.Entity
boolean isInWeb
 
Random rand
 
boolean inWater
 
boolean isImmuneToFire
 
DataWatcher dataWatcher
 
boolean inPortal
 
int timeInPortal
 
int teleportDirection
 

Constructor & Destructor Documentation

net.minecraft.entity.projectile.EntityThrowable.EntityThrowable ( World  par1World)
net.minecraft.entity.projectile.EntityThrowable.EntityThrowable ( World  par1World,
EntityLiving  par2EntityLiving 
)
net.minecraft.entity.projectile.EntityThrowable.EntityThrowable ( World  par1World,
double  par2,
double  par4,
double  par6 
)

Member Function Documentation

void net.minecraft.entity.projectile.EntityThrowable.entityInit ( )
protectedvirtual
float net.minecraft.entity.projectile.EntityThrowable.func_70182_d ( )
protected
float net.minecraft.entity.projectile.EntityThrowable.func_70183_g ( )
protected
float net.minecraft.entity.projectile.EntityThrowable.getGravityVelocity ( )
protected

Gets the amount of gravity to apply to the thrown entity with each tick.

float net.minecraft.entity.projectile.EntityThrowable.getShadowSize ( )
EntityLiving net.minecraft.entity.projectile.EntityThrowable.getThrower ( )
boolean net.minecraft.entity.projectile.EntityThrowable.isInRangeToRenderDist ( double  par1)

Checks if the entity is in range to render by using the past in distance and comparing it to its average edge length * 64 * renderDistanceWeight Args: distance

abstract void net.minecraft.entity.projectile.EntityThrowable.onImpact ( MovingObjectPosition  movingobjectposition)
protectedpure virtual
void net.minecraft.entity.projectile.EntityThrowable.onUpdate ( )

Called to update the entity's position/logic.

void net.minecraft.entity.projectile.EntityThrowable.readEntityFromNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

(abstract) Protected helper method to read subclass entity data from NBT.

Implements net.minecraft.entity.Entity.

void net.minecraft.entity.projectile.EntityThrowable.setThrowableHeading ( double  par1,
double  par3,
double  par5,
float  par7,
float  par8 
)

Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction.

Implements net.minecraft.entity.IProjectile.

void net.minecraft.entity.projectile.EntityThrowable.setVelocity ( double  par1,
double  par3,
double  par5 
)

Sets the velocity to the args. Args: x, y, z

void net.minecraft.entity.projectile.EntityThrowable.writeEntityToNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

(abstract) Protected helper method to write subclass entity data to NBT.

Implements net.minecraft.entity.Entity.

Member Data Documentation

boolean net.minecraft.entity.projectile.EntityThrowable.inGround = false
protected
int net.minecraft.entity.projectile.EntityThrowable.throwableShake = 0

The documentation for this class was generated from the following file: