net.minecraft.world.entity.projectile

public class SpectralArrow

extends AbstractArrow

All mapped superinterfaces:

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

crs
net.minecraft.world.entity.projectile.SpectralArrow
net.minecraft.class_1679
net.minecraft.entity.projectile.SpectralArrowEntity

Field summary

Modifier and TypeField
private int
d
duration
field_7636
duration

Constructor summary

ModifierConstructor
public (EntityType<? extends SpectralArrow> arg0, Level arg1)
public (Level world, LivingEntity owner, ItemStack stack, ItemStack shotFrom)
public (Level world, double x, double y, double z, ItemStack stack, ItemStack shotFrom)

Method summary

Modifier and TypeMethod
public void
h()
tick()
method_5773()
tick()
protected void
a(bwz arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected ItemStack
o()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()