net.minecraft.world.entity.projectile

public class Arrow

extends AbstractArrow

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bkk
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
field_30660
f_150131_
private static final int
ao
NO_EFFECT_COLOR
field_30658
field_30658
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
field_30659
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(bqq arg0)
setEffectsFromItem(ItemStack arg0)
method_7459(class_1799 arg0)
initFromStack(ItemStack stack)
m_36878_(C_1391_ arg0)
public static int
c(bqq 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(ata arg0)
addEffect(MobEffectInstance arg0)
method_7463(class_1293 arg0)
addEffect(StatusEffectInstance effect)
m_36870_(C_498_ arg0)
addEffect(MobEffect arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
private void
b(int arg0)
makeParticle(int arg0)
method_7461(int arg0)
spawnParticles(int amount)
m_36876_(int arg0)
public int
v()
getColor()
method_7460()
getColor()
m_36889_()
getColor()
private void
c(int arg0)
setFixedColor(int arg0)
method_7465(int arg0)
setColor(int color)
m_36882_(int arg0)
setColor(int arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
protected void
a(atu 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_()
getItemStack()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)