public class EntityItem extends Entity
Modifier and Type | Field and Description |
---|---|
float |
hoverStart |
int |
lifespan
The maximum age of this EntityItem.
|
addedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, 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
Constructor and Description |
---|
EntityItem(World worldIn) |
EntityItem(World worldIn,
double x,
double y,
double z) |
EntityItem(World worldIn,
double x,
double y,
double z,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource source,
float amount) |
boolean |
canAttackWithItem() |
boolean |
cannotPickup() |
protected boolean |
canTriggerWalking() |
protected void |
dealFireDamage(int amount) |
protected void |
entityInit() |
void |
func_174870_v() |
int |
getAge() |
ItemStack |
getEntityItem() |
java.lang.String |
getName() |
java.lang.String |
getOwner() |
java.lang.String |
getThrower() |
boolean |
handleWaterMovement() |
void |
onCollideWithPlayer(EntityPlayer entityIn) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
setAgeToCreativeDespawnTime() |
void |
setDefaultPickupDelay() |
void |
setEntityItemStack(ItemStack stack) |
void |
setInfinitePickupDelay() |
void |
setNoDespawn() |
void |
setNoPickupDelay() |
void |
setOwner(java.lang.String owner) |
void |
setPickupDelay(int ticks) |
void |
setThrower(java.lang.String thrower) |
void |
travelToDimension(int dimensionId) |
void |
writeEntityToNBT(NBTTagCompound tagCompound) |
addChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180426_a, func_180427_aV, func_180433_a, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getEyeHeight, getFlag, getHorizontalFacing, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleHealthUpdate, hasCustomName, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, replaceItemInInventory, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCommandStat, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public float hoverStart
public int lifespan
public EntityItem(World worldIn, double x, double y, double z)
public EntityItem(World worldIn)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public void setAgeToCreativeDespawnTime()
public boolean handleWaterMovement()
handleWaterMovement
in class Entity
protected void dealFireDamage(int amount)
dealFireDamage
in class Entity
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class Entity
public void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT
in class Entity
public void onCollideWithPlayer(EntityPlayer entityIn)
onCollideWithPlayer
in class Entity
public java.lang.String getName()
getName
in interface ICommandSender
getName
in class Entity
public boolean canAttackWithItem()
canAttackWithItem
in class Entity
public void travelToDimension(int dimensionId)
travelToDimension
in class Entity
public ItemStack getEntityItem()
public void setEntityItemStack(ItemStack stack)
public java.lang.String getOwner()
public void setOwner(java.lang.String owner)
public java.lang.String getThrower()
public void setThrower(java.lang.String thrower)
public int getAge()
public void setDefaultPickupDelay()
public void setNoPickupDelay()
public void setInfinitePickupDelay()
public void setPickupDelay(int ticks)
public boolean cannotPickup()
public void setNoDespawn()
public void func_174870_v()