Package net.minecraft.world.entity.item
Class ItemEntity
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.item.ItemEntity
-
public class ItemEntity extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description int
age
int
delayBeforeCanPickup
float
field_804_d
ItemStack
item
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Constructor Summary
Constructors Constructor Description ItemEntity(World var1)
ItemEntity(World var1, double var2, double var4, double var6, ItemStack var8)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attackEntityFrom(DamageSource var1, int var2)
boolean
canAttackWithItem()
protected boolean
canTriggerWalking()
protected void
dealFireDamage(int var1)
protected void
entityInit()
void
func_48316_k()
java.lang.String
getUsername()
boolean
handleWaterMovement()
void
onCollideWithPlayer(Player var1)
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getShadowSize, getTexture, getYOffset, handleHealthUpdate, handleLavaMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
item
public ItemStack item
-
age
public int age
-
delayBeforeCanPickup
public int delayBeforeCanPickup
-
field_804_d
public float field_804_d
-
-
Method Detail
-
canTriggerWalking
protected boolean canTriggerWalking()
- Overrides:
canTriggerWalking
in classEntity
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
func_48316_k
public void func_48316_k()
-
handleWaterMovement
public boolean handleWaterMovement()
- Overrides:
handleWaterMovement
in classEntity
-
dealFireDamage
protected void dealFireDamage(int var1)
- Overrides:
dealFireDamage
in classEntity
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classEntity
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Specified by:
writeEntityToNBT
in classEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Specified by:
readEntityFromNBT
in classEntity
-
onCollideWithPlayer
public void onCollideWithPlayer(Player var1)
- Overrides:
onCollideWithPlayer
in classEntity
-
getUsername
public java.lang.String getUsername()
- Overrides:
getUsername
in classEntity
-
canAttackWithItem
public boolean canAttackWithItem()
- Overrides:
canAttackWithItem
in classEntity
-
-