net.minecraft.world.entity.item

public class ItemEntity

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bhc
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.unmapped.C_uqpzijng
net.minecraft.entity.ItemEntity
net.minecraft.src.C_976_
net.minecraft.world.entity.item.EntityItem

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
c
DATA_ITEM
field_7199
f_rpzokhnb
STACK
f_31984_
private static final int
d
LIFETIME
field_30456
f_zvxmijjk
DESPAWN_AGE
f_149659_
private static final int
e
INFINITE_PICKUP_DELAY
field_30457
f_davsxlkm
CANNOT_PICK_UP_DELAY
f_149660_
private static final int
f
INFINITE_LIFETIME
field_30458
f_zdcrlbeo
NEVER_DESPAWN_AGE
f_149661_
private int
ao
age
field_7204
f_putrlmep
itemAge
f_31985_
private int
ap
pickupDelay
field_7202
f_cejzztdx
pickupDelay
f_31986_
private int
aq
health
field_7201
f_zenwugbc
health
f_31987_
private UUID
ar
thrower
field_7200
f_laqmyrmj
thrower
f_31988_
private UUID
as
owner
field_7205
f_zxccayfv
owner
f_31982_
public final float
b
bobOffs
field_7203
f_wmbwxvah
uniqueOffset
f_31983_

Constructor summary

ModifierConstructor
public (EntityType<? extends ItemEntity> p_31992_, Level arg1)
public (Level world, double x, double y, double z, ItemStack stack)
public (Level world, double x, double y, double z, ItemStack stack, double velocityX, double velocityY, double velocityZ)
private (ItemEntity entity)

Method summary

Modifier and TypeMethod
public boolean
aJ()
occludesVibrations()
method_33189()
m_dlbtwwww()
occludeVibrationSignals()
m_142050_()
protected Entity$MovementEmission
aI()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
m_142319_()
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
initDatawatcher()
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
tick()
private void
w()
setUnderwaterMovement()
method_6974()
m_vdexsggf()
applyWaterBuoyancy()
m_32067_()
private void
x()
setUnderLavaMovement()
method_24348()
m_wzgnltnw()
applyLavaBuoyancy()
m_32068_()
private void
z()
mergeWithNeighbours()
method_6973()
m_taxbqlwn()
tryMerge()
m_32069_()
mergeNearby()
private boolean
A()
isMergable()
method_20397()
m_bszkpdhu()
canMerge()
m_32070_()
private void
a(bhc arg0)
tryToMerge(ItemEntity arg0)
method_6972(class_1542 arg0)
m_rattaupd(C_uqpzijng arg0)
tryMerge(ItemEntity other)
m_32015_(C_976_ arg0)
public static boolean
a(bqp arg0, bqp arg1)
areMergable(ItemStack arg0, ItemStack arg1)
method_24017(class_1799 arg0, class_1799 arg1)
m_risyxkjh(C_sddaxwyk arg0, C_sddaxwyk arg1)
canMerge(ItemStack stack1, ItemStack stack2)
m_32026_(C_1391_ p_32027_, C_1391_ p_32028_)
public static ItemStack
a(bqp arg0, bqp arg1, int arg2)
merge(ItemStack arg0, ItemStack arg1, int arg2)
method_24018(class_1799 arg0, class_1799 arg1, int arg2)
m_nazwtnki(C_sddaxwyk arg0, C_sddaxwyk arg1, int arg2)
merge(ItemStack stack1, ItemStack stack2, int maxCount)
m_32029_(C_1391_ p_32030_, C_1391_ p_32031_, int p_32032_)
private static void
a(bhc arg0, bqp arg1, bqp arg2)
merge(ItemEntity arg0, ItemStack arg1, ItemStack arg2)
method_24016(class_1542 arg0, class_1799 arg1, class_1799 arg2)
m_qxprjusq(C_uqpzijng arg0, C_sddaxwyk arg1, C_sddaxwyk arg2)
merge(ItemEntity targetEntity, ItemStack stack1, ItemStack stack2)
m_32022_(C_976_ p_32023_, C_1391_ p_32024_, C_1391_ p_32025_)
private static void
a(bhc arg0, bqp arg1, bhc arg2, bqp arg3)
merge(ItemEntity arg0, ItemStack arg1, ItemEntity arg2, ItemStack arg3)
method_18006(class_1542 arg0, class_1799 arg1, class_1542 arg2, class_1799 arg3)
m_jgggxcxl(C_uqpzijng arg0, C_sddaxwyk arg1, C_uqpzijng arg2, C_sddaxwyk arg3)
merge(ItemEntity targetEntity, ItemStack targetStack, ItemEntity sourceEntity, ItemStack sourceStack)
m_32017_(C_976_ p_32018_, C_1391_ p_32019_, C_976_ p_32020_, C_1391_ p_32021_)
public boolean
aK()
fireImmune()
method_5753()
m_vewkkvlv()
isFireImmune()
m_5825_()
isFireProof()
public boolean
a(asp arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_32014_, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
b(bkd arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
m_ghqcprlw(C_jzrpycqo arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
pickup(EntityHuman arg0)
public Component
S()
getName()
method_5477()
m_ymwfywvb()
getName()
m_7755_()
getDisplayName()
public boolean
ca()
isAttackable()
method_5732()
m_kymkfjov()
isAttackable()
m_6097_()
public Entity
b(abr arg0)
changeDimension(ServerLevel arg0)
method_5731(class_3218 arg0)
m_uwdepeht(C_bdwnwhiu arg0)
moveToWorld(ServerWorld arg0)
m_5489_(C_12_ arg0)
public ItemStack
h()
getItem()
method_6983()
m_aewpjdoc()
getStack()
m_32055_()
getItemStack()
public void
a(bqp arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
m_layxdbyg(C_sddaxwyk arg0)
setStack(ItemStack stack)
m_32045_(C_1391_ arg0)
setItemStack(ItemStack arg0)
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_prrlvbmi(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public UUID
i()
getOwner()
method_6986()
m_xrqvlasg()
getOwner()
m_32056_()
getOwner()
public void
b(UUID arg0)
setOwner(UUID arg0)
method_6984(UUID arg0)
m_ozzyvvbh(UUID arg0)
setOwner(UUID uuid)
m_32047_(UUID arg0)
setOwner(UUID arg0)
public UUID
j()
getThrower()
method_6978()
m_ohyqhjke()
getThrower()
m_32057_()
getThrower()
public void
c(UUID arg0)
setThrower(UUID arg0)
method_6981(UUID arg0)
m_kvpeoiax(UUID arg0)
setThrower(UUID uuid)
m_32052_(UUID arg0)
setThrower(UUID arg0)
public int
l()
getAge()
method_6985()
m_iiflfwjq()
getItemAge()
m_32059_()
public void
n()
setDefaultPickUpDelay()
method_6988()
m_ufhoqyem()
setToDefaultPickupDelay()
m_32060_()
defaultPickupDelay()
public void
o()
setNoPickUpDelay()
method_6975()
m_pfxkbxad()
resetPickupDelay()
m_32061_()
public void
p()
setNeverPickUp()
method_6989()
m_swxwlgfj()
setPickupDelayInfinite()
m_32062_()
public void
a(int arg0)
setPickUpDelay(int arg0)
method_6982(int arg0)
m_qqncmjle(int arg0)
setPickupDelay(int pickupDelay)
m_32010_(int arg0)
setPickupDelay(int arg0)
public boolean
q()
hasPickUpDelay()
method_6977()
m_duuvjoea()
cannotPickup()
m_32063_()
public void
r()
setUnlimitedLifetime()
method_35190()
m_vjfgxwmj()
setNeverDespawn()
m_149678_()
public void
s()
setExtendedLifetime()
method_6976()
m_xnvklrqz()
setCovetedItem()
m_32064_()
public void
t()
makeFakeItem()
method_6987()
m_wblcjhub()
setDespawnImmediately()
m_32065_()
public float
a(float arg0)
getSpin(float arg0)
method_27314(float arg0)
m_uddnzjha(float arg0)
getRotation(float tickDelta)
m_32008_(float arg0)
public Packet<?>
P()
getAddEntityPacket()
method_18002()
m_tugxrexj()
createSpawnPacket()
m_5654_()
getPacket()
public ItemEntity
v()
copy()
method_29271()
m_rlbuxcjf()
copy()
m_32066_()
public SoundSource
cJ()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
m_5720_()
getSoundCategory()