net.minecraft.world.entity.projectile

public class Arrow

extends AbstractArrow

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

btn
net.minecraft.world.entity.projectile.Arrow
net.minecraft.class_1667
net.minecraft.entity.projectile.ArrowEntity
net.minecraft.src.C_1154_
net.minecraft.world.entity.projectile.EntityTippedArrow

Field summary

Modifier and TypeField
private static final int
f
EXPOSED_POTION_DECAY_TIME
field_30660
MAX_POTION_DURATION_TICKS
f_150131_
private static final int
ao
NO_EFFECT_COLOR
field_30658
NO_POTION_COLOR
f_150129_
private static final EntityDataAccessor<Integer>
ap
ID_EFFECT_COLOR
field_7595
COLOR
f_36854_
private static final byte
aq
EVENT_POTION_PUFF
field_30659
PARTICLE_EFFECT_STATUS
f_150130_
private Potion
ar
potion
field_7597
potion
f_36855_
private final Set<MobEffectInstance>
as
effects
field_7598
effects
f_36852_
private boolean
at
fixedColor
field_7596
colorSet
f_36853_

Constructor summary

ModifierConstructor
public (EntityType<? extends Arrow> p_36859_, Level arg1)
public (Level world, double x, double y, double z)
public (Level world, LivingEntity owner)

Method summary

Modifier and TypeMethod
public void
a(caa arg0)
setEffectsFromItem(ItemStack arg0)
method_7459(class_1799 arg0)
initFromStack(ItemStack stack)
m_36878_(C_1391_ arg0)
public static int
c(caa arg0)
getCustomColor(ItemStack arg0)
method_7464(class_1799 arg0)
getCustomPotionColor(ItemStack stack)
m_36884_(C_1391_ p_36885_)
private void
A()
updateColor()
method_7462()
initColor()
m_36890_()
public void
a(baj arg0)
addEffect(MobEffectInstance arg0)
method_7463(class_1293 arg0)
addEffect(StatusEffectInstance effect)
m_36870_(C_498_ arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
private void
b(int arg0)
makeParticle(int arg0)
method_7461(int arg0)
spawnParticles(int amount)
m_36876_(int arg0)
public int
w()
getColor()
method_7460()
getColor()
m_36889_()
private void
c(int arg0)
setFixedColor(int arg0)
method_7465(int arg0)
setColor(int color)
m_36882_(int arg0)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
a(bbf arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
m_7761_(C_524_ arg0)
protected ItemStack
l()
getPickupItem()
method_7445()
asItemStack()
m_7941_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)