net.minecraft.world.entity.item

public class ItemEntity

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

bcv
net.minecraft.world.entity.item.ItemEntity
net.minecraft.class_1542
net.minecraft.entity.ItemEntity
net.minecraft.entity.item.ItemEntity
net.minecraft.server.v1_16_R3.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
itemAge
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
ag
owner
field_7205
owner
field_145802_g
owner
public final float
b
bobOffs
field_7203
uniqueOffset
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
aC()
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()
applyWaterBuoyancy()
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(bcv arg0)
tryToMerge(ItemEntity arg0)
method_6972(class_1542 arg0)
tryMerge(ItemEntity other)
func_226530_a_(ItemEntity arg0)
public static boolean
a(bmb arg0, bmb 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(bmb arg0, bmb 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(bcv arg0, bmb arg1, bmb 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(bcv arg0, bmb arg1, bcv arg2, bmb 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
aD()
fireImmune()
method_5753()
isFireImmune()
func_230279_az_()
isFireProof()
public boolean
a(apk 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(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
a_(bfw arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
public Component
R()
getName()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public boolean
bL()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Entity
b(aag arg0)
changeDimension(ServerLevel arg0)
method_5731(class_3218 arg0)
moveToWorld(ServerWorld arg0)
func_241206_a_(ServerWorld arg0)
public ItemStack
g()
getItem()
method_6983()
getStack()
func_92059_d()
getItemStack()
public void
b(bmb arg0)
setItem(ItemStack arg0)
method_6979(class_1799 arg0)
setStack(ItemStack stack)
func_92058_a(ItemStack arg0)
setItemStack(ItemStack arg0)
public void
a(us<?> 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<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public int
k()
getAge()
method_6985()
getItemAge()
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_()