YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.item.EntityItemFrame Class Reference
Inheritance diagram for net.minecraft.entity.item.EntityItemFrame:
net.minecraft.entity.EntityHanging net.minecraft.entity.Entity

Public Member Functions

 EntityItemFrame (World par1World)
 
 EntityItemFrame (World par1World, int par2, int par3, int par4, int par5)
 
int func_82329_d ()
 
int func_82330_g ()
 
boolean isInRangeToRenderDist (double par1)
 
void dropItemStack ()
 
ItemStack getDisplayedItem ()
 
void setDisplayedItem (ItemStack par1ItemStack)
 
int getRotation ()
 
void setItemRotation (int par1)
 
void writeEntityToNBT (NBTTagCompound par1NBTTagCompound)
 
void readEntityFromNBT (NBTTagCompound par1NBTTagCompound)
 
boolean interact (EntityPlayer par1EntityPlayer)
 
- Public Member Functions inherited from net.minecraft.entity.EntityHanging
 EntityHanging (World par1World)
 
 EntityHanging (World par1World, int par2, int par3, int par4, int par5)
 
void setDirection (int par1)
 
void onUpdate ()
 
boolean onValidSurface ()
 
boolean canBeCollidedWith ()
 
boolean func_85031_j (Entity par1Entity)
 
boolean attackEntityFrom (DamageSource par1DamageSource, int par2)
 
void moveEntity (double par1, double par3, double par5)
 
void addVelocity (double par1, double par3, double par5)
 
- 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)
 

Protected Member Functions

void entityInit ()
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.entity.EntityHanging
int hangingDirection
 
int xPosition
 
int yPosition
 
int zPosition
 
- 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.item.EntityItemFrame.EntityItemFrame ( World  par1World)
net.minecraft.entity.item.EntityItemFrame.EntityItemFrame ( World  par1World,
int  par2,
int  par3,
int  par4,
int  par5 
)

Member Function Documentation

void net.minecraft.entity.item.EntityItemFrame.dropItemStack ( )
virtual

Drop the item currently on this item frame.

Implements net.minecraft.entity.EntityHanging.

void net.minecraft.entity.item.EntityItemFrame.entityInit ( )
protectedvirtual
int net.minecraft.entity.item.EntityItemFrame.func_82329_d ( )
virtual
int net.minecraft.entity.item.EntityItemFrame.func_82330_g ( )
virtual
ItemStack net.minecraft.entity.item.EntityItemFrame.getDisplayedItem ( )
int net.minecraft.entity.item.EntityItemFrame.getRotation ( )

Return the rotation of the item currently on this frame.

boolean net.minecraft.entity.item.EntityItemFrame.interact ( EntityPlayer  par1EntityPlayer)

Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.

boolean net.minecraft.entity.item.EntityItemFrame.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

void net.minecraft.entity.item.EntityItemFrame.readEntityFromNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

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

Reimplemented from net.minecraft.entity.EntityHanging.

void net.minecraft.entity.item.EntityItemFrame.setDisplayedItem ( ItemStack  par1ItemStack)
void net.minecraft.entity.item.EntityItemFrame.setItemRotation ( int  par1)
void net.minecraft.entity.item.EntityItemFrame.writeEntityToNBT ( NBTTagCompound  par1NBTTagCompound)
virtual

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

Reimplemented from net.minecraft.entity.EntityHanging.


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