public class EntityItem extends Entity
| Modifier and Type | Field and Description |
|---|---|
int |
age |
int |
delayBeforeCanPickup |
float |
field_804_d |
ItemStack |
item |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityItem(World world) |
EntityItem(World world,
double d,
double d1,
double d2,
ItemStack itemstack) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attackEntityFrom(Entity entity,
int i) |
protected boolean |
canTriggerWalking() |
protected void |
dealFireDamage(int i) |
protected void |
entityInit() |
boolean |
handleWaterMovement() |
void |
onCollideWithPlayer(EntityPlayer entityplayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, dropItem, dropItemWithOffset, entityDropItem, equals, fall, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getEntityTexture, getEyeHeight, getLookVec, getMountedYOffset, getShadowSize, getYOffset, handleHealthUpdate, handleLavaMovement, hashCode, interact, isBurning, isEntityAlive, isEntityInsideOpaqueBlock, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setVelocity, setWorld, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeToNBTpublic ItemStack item
public int age
public int delayBeforeCanPickup
public float field_804_d
public EntityItem(World world)
protected boolean canTriggerWalking()
canTriggerWalking in class Entityprotected void entityInit()
entityInit in class Entitypublic boolean handleWaterMovement()
handleWaterMovement in class Entityprotected void dealFireDamage(int i)
dealFireDamage in class Entitypublic boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom in class Entitypublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic void onCollideWithPlayer(EntityPlayer entityplayer)
onCollideWithPlayer in class Entity