net.minecraft.world.entity.projectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, TraceableEntity, ItemSupplier

cua
net.minecraft.world.entity.projectile.ThrowableItemProjectile
net.minecraft.class_3857

Field summary

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

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrowableItemProjectile> arg0, Level arg1)
public (EntityType<? extends ThrowableItemProjectile> arg0, double arg1, double arg2, double arg3, Level arg4, ItemStack arg5)
public (EntityType<? extends ThrowableItemProjectile> arg0, LivingEntity arg1, Level arg2, ItemStack arg3)

Method summary

Modifier and TypeMethod
public void
a(dba arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
protected abstract Item
f()
getDefaultItem()
method_16942()
public ItemStack
e()
getItem()
method_7495()
protected void
a(ald$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
protected void
a(fbh arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
protected void
a(fbf arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)