net.minecraft.world.entity.projectile

public class SpectralArrow

extends AbstractArrow

All mapped superinterfaces:

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

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

Field summary

Modifier and TypeField
private static final int
d
DEFAULT_DURATION
field_57744
DEFAULT_DURATION
private int
f
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
g()
tick()
method_5773()
tick()
protected void
a(cam arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
protected void
a(fda arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
a(fdc arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected ItemStack
n()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()