net.minecraft.world.entity.projectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity, ItemSupplier

cnw
net.minecraft.world.entity.projectile.ThrowableItemProjectile
net.minecraft.class_3857
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>
b
DATA_ITEM_STACK
field_17082
ITEM
f_37429_

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrowableItemProjectile> p_37443_, Level arg1)
public (EntityType<? extends ThrowableItemProjectile> p_37433_, double p_37434_, double p_37436_, double arg3, Level arg4)
public (EntityType<? extends ThrowableItemProjectile> p_37439_, LivingEntity p_37440_, Level arg2)

Method summary

Modifier and TypeMethod
public void
a(cuq arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
setItem(ItemStack stack)
m_37446_(C_1391_ arg0)
protected abstract Item
t()
getDefaultItem()
method_16942()
getDefaultItem()
m_7881_()
public ItemStack
p()
getItem()
method_7495()
getStack()
m_7846_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)