net.minecraft.world.entity.item

public class ItemEntity

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

bbg
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.entity.ItemEntity
net.minecraft.entity.item.ItemEntity
net.minecraft.server.v1_16_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
an
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)
private (ItemEntity arg0)

Method summary

Modifier and TypeMethod
protected boolean
ax()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
u()
setUnderwaterMovement()
method_6974()
applyBuoyancy()
func_203043_v()
private void
v()
setUnderLavaMovement()
method_24348()
method_24348()
func_234274_v_()
private void
x()
mergeWithNeighbours()
method_6973()
tryMerge()
func_85054_d()
mergeNearby()
private boolean
z()
isMergable()
method_20397()
canMerge()
func_213857_z()
private void
a(bbg arg0)
tryToMerge(ItemEntity arg0)
method_6972(class_1542 arg0)
tryMerge(ItemEntity other)
func_226530_a_(ItemEntity arg0)
public static boolean
a(bki arg0, bki 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(bki arg0, bki 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(bbg arg0, bki arg1, bki 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(bbg arg0, bki arg1, bbg arg2, bki 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 boolean
az()
fireImmune()
method_5753()
isFireImmune()
func_230279_az_()
isFireProof()
public boolean
a(anw 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(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
a_(bec arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
public Component
P()
getName()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public boolean
bH()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Entity
a(zd arg0)
changeDimension(ServerLevel arg0)
method_5731(class_3218 arg0)
changeDimension(ServerWorld arg0)
func_241206_a_(ServerWorld arg0)
public ItemStack
g()
getItem()
method_6983()
getStack()
func_92059_d()
getItemStack()
public void
b(bki arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
setStack(ItemStack stack)
func_92058_a(ItemStack arg0)
setItemStack(ItemStack arg0)
public void
a(tq<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
func_184206_a(DataParameter<?> arg0)
public UUID
h()
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
i()
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<?>
O()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public int
k()
getAge()
method_6985()
getAge()
func_174872_o()
public float
a(float arg0)
getSpin(float arg0)
method_27314(float arg0)
method_27314(float arg0)
func_234272_a_(float arg0)
public ItemEntity
t()
copy()
method_29271()
method_29271()
func_234273_t_()