net.minecraft.world.entity.projectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity, ItemSupplier

cpy
net.minecraft.world.entity.projectile.ThrowableItemProjectile
net.minecraft.class_3857
net.minecraft.unmapped.C_jksomjgm
net.minecraft.entity.projectile.thrown.ThrownItemEntity
net.minecraft.entity.projectile.thrown.ThrownItemEntity
net.minecraft.src.C_1173_
net.minecraft.world.entity.projectile.EntityProjectileThrowable

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
a
DATA_ITEM_STACK
field_17082
f_vnlwwvmn
ITEM
ITEM
f_37429_

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrowableItemProjectile> p_37443_, Level world)
public (EntityType<? extends ThrowableItemProjectile> type, double x, double y, double z, Level world, ItemStack stack)
public (EntityType<? extends ThrowableItemProjectile> type, LivingEntity owner, Level world, ItemStack stack)

Method summary

Modifier and TypeMethod
public void
a(cwq arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
m_oozcxnle(C_sddaxwyk arg0)
setItem(ItemStack stack)
setItem(ItemStack item)
m_37446_(C_1391_ arg0)
protected abstract Item
m()
getDefaultItem()
method_16942()
m_dieyvesa()
getDefaultItem()
getDefaultItem()
m_7881_()
public ItemStack
l()
getItem()
method_7495()
m_xtxqiwdu()
getStack()
getStack()
m_7846_()
protected void
a(akc$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)
public void
b(tq 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(tq 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)