net.minecraft.world.entity.item

public class ItemEntity

extends Entity implements TraceableEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cma
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.unmapped.C_uqpzijng
net.minecraft.entity.ItemEntity
net.minecraft.entity.ItemEntity
net.minecraft.src.C_976_
net.minecraft.world.entity.item.EntityFallingBlock

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
c
DATA_ITEM
field_7199
f_rpzokhnb
STACK
STACK
f_31984_
private static final float
d
FLOAT_HEIGHT
field_48703
f_twzhipyk
field_48703
FLOAT_HEIGHT
f_315581_
public static final float
a
EYE_HEIGHT
field_48702
f_jvjmixjd
field_48702
EYE_HEIGHT
f_316032_
private static final int
e
LIFETIME
field_30456
f_zvxmijjk
DESPAWN_AGE
DESPAWN_AGE
f_149659_
private static final int
f
INFINITE_PICKUP_DELAY
field_30457
f_davsxlkm
CANNOT_PICK_UP_DELAY
CANNOT_PICK_UP_DELAY
f_149660_
private static final int
g
INFINITE_LIFETIME
field_30458
f_zdcrlbeo
NEVER_DESPAWN_AGE
NEVER_DESPAWN_AGE
f_149661_
private int
h
age
field_7204
f_putrlmep
itemAge
itemAge
f_31985_
private int
i
pickupDelay
field_7202
f_cejzztdx
pickupDelay
pickupDelay
f_31986_
private int
j
health
field_7201
f_zenwugbc
health
health
f_31987_
private UUID
k
thrower
field_7200
f_laqmyrmj
throwerUuid
throwerUuid
f_31988_
private Entity
l
cachedThrower
field_46653
f_tlqwpzxt
thrower
thrower
f_302454_
private UUID
m
target
field_41893
f_tymizycm
owner
owner
f_265881_
public final float
b
bobOffs
field_7203
f_wmbwxvah
uniqueOffset
uniqueOffset
f_31983_

Constructor summary

ModifierConstructor
public (EntityType<? extends ItemEntity> p_31992_, Level world)
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
bh()
dampensVibrations()
method_33189()
m_vtzovzbl()
occludeVibrationSignals()
dampensVibrations()
m_213854_()
public Entity
p()
getOwner()
method_24921()
m_edhmdtop()
getOwner()
getOwner()
m_19749_()
public void
x(bvj arg0)
restoreFrom(Entity arg0)
method_5878(class_1297 arg0)
m_wsfastbb(C_astfners arg0)
copyFrom(Entity arg0)
copyFrom(Entity arg0)
m_20361_(C_507_ arg0)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
getMoveEffect()
m_142319_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected double
bd()
getDefaultGravity()
method_7490()
m_pvspcngk()
getGravity()
getDefaultGravity()
m_319564_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public BlockPos
aQ()
getBlockPosBelowThatAffectsMyMovement()
method_23314()
m_lrfrrwvd()
getVelocityAffectingPos()
getVelocityAffectingPos()
m_20099_()
private void
A()
setUnderwaterMovement()
method_6974()
m_vdexsggf()
applyWaterBuoyancy()
applyWaterBuoyancy()
m_32067_()
private void
B()
setUnderLavaMovement()
method_24348()
m_wzgnltnw()
applyLavaBuoyancy()
applyLavaBuoyancy()
m_32068_()
private void
h(double arg0)
setFluidMovement(double arg0)
method_64460(double arg0)
m_pvlvkfwv(double arg0)
applyBuoyancy(double horizontalMultiplier)
m_357446_(double arg0)
private void
C()
mergeWithNeighbours()
method_6973()
m_taxbqlwn()
tryMerge()
tryMerge()
m_32069_()
private boolean
D()
isMergable()
method_20397()
m_bszkpdhu()
canMerge()
canMerge()
m_32070_()
private void
a(cma arg0)
tryToMerge(ItemEntity arg0)
method_6972(class_1542 arg0)
m_rattaupd(C_uqpzijng arg0)
tryMerge(ItemEntity other)
tryMerge(ItemEntity other)
m_32015_(C_976_ arg0)
public static boolean
a(cxo arg0, cxo 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)
canMerge(ItemStack stack1, ItemStack stack2)
m_32026_(C_1391_ p_32027_, C_1391_ p_32028_)
public static ItemStack
a(cxo arg0, cxo 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)
merge(ItemStack stack1, ItemStack stack2, int maxCount)
m_32029_(C_1391_ p_32030_, C_1391_ p_32031_, int p_32032_)
private static void
a(cma arg0, cxo arg1, cxo 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)
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(cma arg0, cxo arg1, cma arg2, cxo 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)
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
bi()
fireImmune()
method_5753()
m_vewkkvlv()
isFireImmune()
isFireImmune()
m_5825_()
protected boolean
aF()
shouldPlayLavaHurtSound()
method_64270()
m_scrtnsdg()
shouldPlayBurnSoundInLava()
m_354877_()
public final boolean
b(btz arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
m_jaiycnbg(C_sbxfkpyv arg0)
clientDamage(DamageSource arg0)
m_8088_(C_489_ arg0)
public final boolean
a(ash arg0, btz arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_364841_, C_489_ p_362683_, float arg2)
public boolean
a(dgz arg0)
ignoreExplosion(Explosion arg0)
method_5659(class_1927 arg0)
m_enouepiv(C_aahhrzpf arg0)
isImmuneToExplosion(Explosion arg0)
isImmuneToExplosion(Explosion arg0)
m_6128_(C_1578_ arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a_(cpw arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
m_ghqcprlw(C_jzrpycqo arg0)
onPlayerCollision(PlayerEntity arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
public Component
al()
getName()
method_5477()
m_ymwfywvb()
getName()
getName()
m_7755_()
public boolean
cB()
isAttackable()
method_5732()
m_kymkfjov()
isAttackable()
isAttackable()
m_6097_()
public Entity
b(euw arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
m_mcdfsxav(C_sqhjwpkh arg0)
teleportTo(TeleportTarget arg0)
m_339131_(C_345918_ arg0)
public ItemStack
l()
getItem()
method_6983()
m_aewpjdoc()
getStack()
getStack()
m_32055_()
public void
a(cxo arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
m_layxdbyg(C_sddaxwyk arg0)
setStack(ItemStack stack)
setStack(ItemStack stack)
m_32045_(C_1391_ arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public void
b(UUID arg0)
setTarget(UUID arg0)
method_48349(UUID arg0)
m_jclqfhnr(UUID arg0)
setOwner(UUID owner)
setOwner(UUID uuid)
m_266426_(UUID arg0)
public void
b(bvj arg0)
setThrower(Entity arg0)
method_6981(class_1297 arg0)
m_kvpeoiax(C_astfners arg0)
setThrower(Entity thrower)
setThrower(Entity thrower)
m_32052_(C_507_ arg0)
public int
m()
getAge()
method_6985()
m_iiflfwjq()
getItemAge()
getItemAge()
m_32059_()
public void
s()
setDefaultPickUpDelay()
method_6988()
m_ufhoqyem()
setToDefaultPickupDelay()
setToDefaultPickupDelay()
m_32060_()
public void
t()
setNoPickUpDelay()
method_6975()
m_pfxkbxad()
resetPickupDelay()
resetPickupDelay()
m_32061_()
public void
u()
setNeverPickUp()
method_6989()
m_swxwlgfj()
setPickupDelayInfinite()
setPickupDelayInfinite()
m_32062_()
public void
b(int arg0)
setPickUpDelay(int arg0)
method_6982(int arg0)
m_qqncmjle(int arg0)
setPickupDelay(int pickupDelay)
setPickupDelay(int pickupDelay)
m_32010_(int arg0)
public boolean
v()
hasPickUpDelay()
method_6977()
m_duuvjoea()
cannotPickup()
cannotPickup()
m_32063_()
public void
w()
setUnlimitedLifetime()
method_35190()
m_vjfgxwmj()
setNeverDespawn()
setNeverDespawn()
m_149678_()
public void
x()
setExtendedLifetime()
method_6976()
m_xnvklrqz()
setCovetedItem()
setCovetedItem()
m_32064_()
public void
y()
makeFakeItem()
method_6987()
m_wblcjhub()
setDespawnImmediately()
setDespawnImmediately()
m_32065_()
public static float
f(float arg0, float arg1)
getSpin(float arg0, float arg1)
method_27314(float arg0, float arg1)
m_uddnzjha(float arg0, float arg1)
getRotation(float arg0, float arg1)
getRotation(float tickDelta, float arg1)
m_32008_(float p_32009_, float p_369793_)
public ItemEntity
z()
copy()
method_29271()
m_rlbuxcjf()
copy()
copy()
m_32066_()
public SoundSource
dn()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
public float
dN()
getVisualRotationYInDegrees()
method_43078()
m_onrjdopp()
getBodyYaw()
getVisualYaw()
m_213816_()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
m_owvpveuv(int arg0)
getStackReference(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)