net.minecraft.world.entity.projectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ItemSupplier

bpf
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(buw arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
setItem(ItemStack item)
m_37446_(C_1391_ arg0)
protected abstract Item
i()
getDefaultItem()
method_16942()
getDefaultItem()
m_7881_()
protected ItemStack
j()
getItemRaw()
method_16943()
getItem()
m_37454_()
public ItemStack
h()
getItem()
method_7495()
getStack()
m_7846_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(ok arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ok arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)