net.minecraft.world.entity.projectile.throwableitemprojectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, TraceableEntity, ItemSupplier

dfa
net.minecraft.world.entity.projectile.throwableitemprojectile.ThrowableItemProjectile
net.minecraft.class_3857
net.minecraft.entity.projectile.thrown.ThrownItemEntity
net.minecraft.src.C_432146_
net.minecraft.world.entity.projectile.throwableitemprojectile.EntityProjectileThrowable

字段概要

修饰符与类型字段
private static final EntityDataAccessor<ItemStack>
b
DATA_ITEM_STACK
field_17082
ITEM
f_434812_

构造函数概要

修饰符构造函数
public (EntityType<? extends ThrowableItemProjectile> p_454624_, Level arg1)
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)

方法概要

修饰符与类型方法
public void
a(dlt arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
setItem(ItemStack stack)
m_442605_(C_1391_ arg0)
protected abstract Item
f()
getDefaultItem()
method_16942()
getDefaultItem()
m_439752_()
public ItemStack
e()
getItem()
method_7495()
getStack()
m_7846_()
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)