public class EntityItemFrame extends EntityHanging
hangingDirection, xPosition, yPosition, zPositionaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_98038_p, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityItemFrame(World par1World) |
EntityItemFrame(World par1World,
int par2,
int par3,
int par4,
int par5) |
| Modifier and Type | Method and Description |
|---|---|
void |
dropItemStack()
Drop the item currently on this item frame.
|
int |
func_82329_d() |
int |
func_82330_g() |
ItemStack |
getDisplayedItem() |
int |
getRotation()
Return the rotation of the item currently on this frame.
|
boolean |
interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.
|
boolean |
isInRangeToRenderDist(double par1) |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
setDisplayedItem(ItemStack par1ItemStack) |
void |
setItemRotation(int par1) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
addVelocity, attackEntityFrom, canBeCollidedWith, func_85031_j, moveEntity, onUpdate, onValidSurface, setDirectionaddEntityID, addNotRiddenEntityID, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_82143_as, func_82146_a, func_82149_j, func_85029_a, func_96091_a, func_96092_aw, func_98034_c, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getExtendedProperties, getEyeHeight, getLastActiveItems, getLookVec, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getTeleportDirection, getTexture, getTranslatedEntityName, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveFlying, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setCurrentItemOrArmor, setDead, setEating, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotationYawHead, setSneaking, setSprinting, setVelocity, setWorld, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, unmountEntity, updateCloak, updateRidden, updateRiderPosition, writeToNBTpublic EntityItemFrame(World par1World)
public EntityItemFrame(World par1World, int par2, int par3, int par4, int par5)
public int func_82329_d()
func_82329_d in class EntityHangingpublic int func_82330_g()
func_82330_g in class EntityHangingpublic boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist in class Entitypublic void dropItemStack()
dropItemStack in class EntityHangingpublic ItemStack getDisplayedItem()
public void setDisplayedItem(ItemStack par1ItemStack)
public int getRotation()
public void setItemRotation(int par1)
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityHangingpublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityHangingpublic boolean interact(EntityPlayer par1EntityPlayer)