net.minecraft.world.entity.projectile

public abstract class ThrowableItemProjectile

extends ThrowableProjectile implements ItemSupplier

All mapped superinterfaces:

Nameable, CommandSource, ItemSupplier

bey
net.minecraft.world.entity.projectile.ThrowableItemProjectile
net.minecraft.class_3857
net.minecraft.entity.projectile.thrown.ThrownItemEntity
net.minecraft.entity.projectile.ProjectileItemEntity
net.minecraft.server.v1_16_R1.EntityProjectileThrowable

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
b
DATA_ITEM_STACK
field_17082
ITEM
field_213886_e

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(bki arg0)
setItem(ItemStack arg0)
method_16940(class_1799 arg0)
setItem(ItemStack item)
func_213884_b(ItemStack arg0)
setItem(ItemStack arg0)
protected abstract Item
h()
getDefaultItem()
method_16942()
getDefaultItem()
func_213885_i()
getDefaultItem()
protected ItemStack
i()
getItemRaw()
method_16943()
getItem()
func_213882_k()
getItem()
public ItemStack
g()
getItem()
method_7495()
getStack()
func_184543_l()
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)