net.minecraft.entity.projectile

public class SpectralArrowEntity

extends PersistentProjectileEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Ownable

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

Field summary

Modifier and TypeField
private static final int
DEFAULT_DURATION
field_57744
DEFAULT_DURATION
private int
duration
field_7636
duration

Constructor summary

ModifierConstructor
public (EntityType<? extends SpectralArrowEntity> type, World level)
public (World world, LivingEntity owner, ItemStack stack, ItemStack shotFrom)
public (World world, double x, double y, double z, ItemStack stack, ItemStack shotFrom)

Method summary

Modifier and TypeMethod
public void
tick()
method_5773()
tick()
protected void
doPostHurtEffects(LivingEntity mob)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected ItemStack
getDefaultPickupItem()
method_57314()
getDefaultItemStack()