public class EntityItem extends Entity
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
int |
age |
int |
delayBeforeCanPickup |
float |
hoverStart |
int |
lifespan
The maximum age of this EntityItem.
|
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityItem(World par1World) |
EntityItem(World par1World,
double par2,
double par4,
double par6) |
EntityItem(World par1World,
double par2,
double par4,
double par6,
ItemStack par8ItemStack) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2) |
boolean |
canAttackWithItem() |
protected boolean |
canTriggerWalking() |
boolean |
combineItems(EntityItem par1EntityItem) |
protected void |
dealFireDamage(int par1) |
protected void |
entityInit() |
void |
func_145797_a(java.lang.String p_145797_1_) |
java.lang.String |
func_145798_i() |
void |
func_145799_b(java.lang.String p_145799_1_) |
java.lang.String |
func_145800_j() |
java.lang.String |
getCommandSenderName() |
ItemStack |
getEntityItem() |
boolean |
handleWaterMovement() |
void |
onCollideWithPlayer(EntityPlayer par1EntityPlayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setAgeToCreativeDespawnTime() |
void |
setEntityItemStack(ItemStack par1ItemStack) |
void |
travelToDimension(int par1) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public int age
public int delayBeforeCanPickup
public float hoverStart
public int lifespan
public EntityItem(World par1World, double par2, double par4, double par6)
public EntityItem(World par1World, double par2, double par4, double par6, ItemStack par8ItemStack)
public EntityItem(World par1World)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public boolean combineItems(EntityItem par1EntityItem)
public void setAgeToCreativeDespawnTime()
public boolean handleWaterMovement()
handleWaterMovement
in class Entity
protected void dealFireDamage(int par1)
dealFireDamage
in class Entity
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public void onCollideWithPlayer(EntityPlayer par1EntityPlayer)
onCollideWithPlayer
in class Entity
public java.lang.String getCommandSenderName()
getCommandSenderName
in class Entity
public boolean canAttackWithItem()
canAttackWithItem
in class Entity
public void travelToDimension(int par1)
travelToDimension
in class Entity
public ItemStack getEntityItem()
public void setEntityItemStack(ItemStack par1ItemStack)
public java.lang.String func_145798_i()
public void func_145797_a(java.lang.String p_145797_1_)
public java.lang.String func_145800_j()
public void func_145799_b(java.lang.String p_145799_1_)