net.minecraft.world.entity.projectile

public class Arrow

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

cnf
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
g
NO_EFFECT_COLOR
field_30658
NO_POTION_COLOR
f_150129_
private static final EntityDataAccessor<Integer>
h
ID_EFFECT_COLOR
field_7595
COLOR
f_36854_
private static final byte
i
EVENT_POTION_PUFF
field_30659
PARTICLE_EFFECT_STATUS
f_150130_

Constructor summary

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

Method summary

Modifier and TypeMethod
private PotionContents
J()
getPotionContents()
method_57315()
getPotionContents()
m_324886_()
private void
a(cwu arg0)
setPotionContents(PotionContents arg0)
method_57316(class_1844 arg0)
setPotionContents(PotionContentsComponent potionContentsComponent)
m_324373_(C_313529_ arg0)
protected void
a(cuq arg0)
setPickupItemStack(ItemStack arg0)
method_57313(class_1799 arg0)
setStack(ItemStack arg0)
m_320726_(C_1391_ arg0)
private void
K()
updateColor()
method_7462()
initColor()
m_36890_()
public void
a(brz arg0)
addEffect(MobEffectInstance arg0)
method_7463(class_1293 arg0)
addEffect(StatusEffectInstance effect)
m_36870_(C_498_ arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
l()
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
F()
getColor()
method_7460()
getColor()
m_36889_()
protected void
a(btn arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
m_7761_(C_524_ arg0)
protected ItemStack
x()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()
m_321416_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)