net.minecraft.world.entity.item

public class ItemEntity

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

atx
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.entity.ItemEntity
net.minecraft.entity.item.ItemEntity
net.minecraft.server.v1_14_R1.EntityItem

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
c
DATA_ITEM
field_7199
STACK
field_184533_c
ITEM
private int
d
age
field_7204
age
field_70292_b
age
private int
e
pickupDelay
field_7202
pickupDelay
field_145804_b
pickupDelay
private int
f
health
field_7201
health
field_70291_e
private UUID
g
thrower
field_7200
thrower
field_145801_f
thrower
private UUID
ar
owner
field_7205
owner
field_145802_g
owner
public final float
b
bobOffs
field_7203
hoverHeight
field_70290_d

Constructor summary

ModifierConstructor
public (EntityType<? extends ItemEntity> arg0, Level arg1)
public (Level world, double x, double y, double z)
public (Level world, double x, double y, double z, ItemStack stack)

Method summary

Modifier and TypeMethod
protected boolean
ap()
makeStepSound()
method_5658()
canClimb()
func_70041_e_()
playStepSound()
protected void
u_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
v()
setUnderwaterMovement()
method_6974()
applyBuoyancy()
func_203043_v()
private void
w()
mergeWithNeighbours()
method_6973()
tryMerge()
func_85054_d()
mergeNearby()
private boolean
z()
isMergable()
method_20397()
canMerge()
func_213857_z()
private void
a(atx arg0)
merge(ItemEntity arg0)
method_6972(class_1542 arg0)
tryMerge(ItemEntity other)
func_213860_a(ItemEntity arg0)
private static void
a(atx arg0, bcj arg1, atx arg2, bcj arg3)
merge(ItemEntity arg0, ItemStack arg1, ItemEntity arg2, ItemStack arg3)
method_18006(class_1542 arg0, class_1799 arg1, class_1542 arg2, class_1799 arg3)
merge(ItemEntity targetEntity, ItemStack targetStack, ItemEntity sourceEntity, ItemStack sourceStack)
func_213858_a(ItemEntity arg0, ItemStack arg1, ItemEntity arg2, ItemStack arg3)
public void
f()
setShortLifeTime()
method_6980()
setCreativeDespawnTime()
func_70288_d()
protected void
h(int arg0)
burn(int arg0)
method_5714(int arg0)
burn(int arg0)
func_70081_e(int arg0)
burn(int arg0)
public boolean
a(ahx arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
func_70097_a(DamageSource arg0, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
b(id arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(id arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
b(awg arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
public Component
O()
getName()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public boolean
bs()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Entity
a(byn arg0)
changeDimension(DimensionType arg0)
method_5731(class_2874 arg0)
changeDimension(DimensionType arg0)
func_212321_a(DimensionType arg0)
public ItemStack
i()
getItem()
method_6983()
getStack()
func_92059_d()
getItemStack()
public void
b(bcj arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
setStack(ItemStack stack)
func_92058_a(ItemStack arg0)
setItemStack(ItemStack arg0)
public UUID
k()
getOwner()
method_6986()
getOwner()
func_200215_l()
getOwner()
public void
b(UUID arg0)
setOwner(UUID arg0)
method_6984(UUID arg0)
setOwner(UUID uuid)
func_200217_b(UUID arg0)
setOwner(UUID arg0)
public UUID
l()
getThrower()
method_6978()
getThrower()
func_200214_m()
getThrower()
public void
c(UUID arg0)
setThrower(UUID arg0)
method_6981(UUID arg0)
setThrower(UUID uuid)
func_200216_c(UUID arg0)
setThrower(UUID arg0)
public void
n()
setDefaultPickUpDelay()
method_6988()
setToDefaultPickupDelay()
func_174869_p()
defaultPickupDelay()
public void
o()
setNoPickUpDelay()
method_6975()
resetPickupDelay()
func_174868_q()
public void
p()
setNeverPickUp()
method_6989()
setPickupDelayInfinite()
func_174871_r()
public void
a(int arg0)
setPickUpDelay(int arg0)
method_6982(int arg0)
setPickupDelay(int pickupDelay)
func_174867_a(int arg0)
setPickupDelay(int arg0)
public boolean
q()
hasPickUpDelay()
method_6977()
cannotPickup()
func_174874_s()
public void
s()
setExtendedLifetime()
method_6976()
setCovetedItem()
func_174873_u()
public void
u()
makeFakeItem()
method_6987()
setDespawnImmediately()
func_174870_v()
public Packet<?>
N()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public int
m()
getAge()
method_6985()
getAge()
func_174872_o()