net.minecraft.world.entity.item

public class ItemEntity

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

awb
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.entity.ItemEntity
net.minecraft.entity.item.ItemEntity
net.minecraft.server.v1_15_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
ao
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
at()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
u()
setUnderwaterMovement()
method_6974()
applyBuoyancy()
func_203043_v()
private void
v()
mergeWithNeighbours()
method_6973()
tryMerge()
func_85054_d()
mergeNearby()
private boolean
w()
isMergable()
method_20397()
canMerge()
func_213857_z()
private void
a(awb arg0)
tryToMerge(ItemEntity arg0)
method_6972(class_1542 arg0)
tryMerge(ItemEntity other)
func_226530_a_(ItemEntity arg0)
public static boolean
a(ben arg0, ben arg1)
areMergable(ItemStack arg0, ItemStack arg1)
method_24017(class_1799 arg0, class_1799 arg1)
canMerge(ItemStack stack1, ItemStack stack2)
func_226532_a_(ItemStack arg0, ItemStack arg1)
public static ItemStack
a(ben arg0, ben arg1, int arg2)
merge(ItemStack arg0, ItemStack arg1, int arg2)
method_24018(class_1799 arg0, class_1799 arg1, int arg2)
merge(ItemStack stack1, ItemStack stack2, int maxCount)
func_226533_a_(ItemStack arg0, ItemStack arg1, int arg2)
private static void
a(awb arg0, ben arg1, ben arg2)
merge(ItemEntity arg0, ItemStack arg1, ItemStack arg2)
method_24016(class_1542 arg0, class_1799 arg1, class_1799 arg2)
merge(ItemEntity targetEntity, ItemStack stack1, ItemStack stack2)
func_226531_a_(ItemEntity arg0, ItemStack arg1, ItemStack arg2)
private static void
a(awb arg0, ben arg1, awb arg2, ben 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)
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(ajz 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(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
b(ayj arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
public Component
M()
getName()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public boolean
bA()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Entity
a(cbi arg0)
changeDimension(DimensionType arg0)
method_5731(class_2874 arg0)
changeDimension(DimensionType arg0)
func_212321_a(DimensionType arg0)
public ItemStack
f()
getItem()
method_6983()
getStack()
func_92059_d()
getItemStack()
public void
b(ben arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
setStack(ItemStack stack)
func_92058_a(ItemStack arg0)
setItemStack(ItemStack arg0)
public UUID
i()
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
k()
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
m()
setDefaultPickUpDelay()
method_6988()
setToDefaultPickupDelay()
func_174869_p()
defaultPickupDelay()
public void
n()
setNoPickUpDelay()
method_6975()
resetPickupDelay()
func_174868_q()
public void
o()
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
p()
hasPickUpDelay()
method_6977()
cannotPickup()
func_174874_s()
public void
r()
setExtendedLifetime()
method_6976()
setCovetedItem()
func_174873_u()
public void
s()
makeFakeItem()
method_6987()
setDespawnImmediately()
func_174870_v()
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public int
l()
getAge()
method_6985()
getAge()
func_174872_o()