net.minecraft.world.entity.projectile

public class SpectralArrow

extends AbstractArrow

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

cgf
net.minecraft.world.entity.projectile.SpectralArrow
net.minecraft.class_1679
net.minecraft.entity.projectile.SpectralArrowEntity
net.minecraft.src.C_1172_
net.minecraft.world.entity.projectile.EntitySpectralArrow

Field summary

Modifier and TypeField
private static final ItemStack
f
DEFAULT_ARROW_STACK
field_46972
DEFAULT_STACK
f_303842_
private int
g
duration
field_7636
duration
f_37409_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
l()
tick()
method_5773()
tick()
m_8119_()
protected void
a(bml arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
m_7761_(C_524_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)