net.minecraft.world.entity.projectile

public class Arrow

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cqg
net.minecraft.world.entity.projectile.Arrow
net.minecraft.class_1667
net.minecraft.entity.projectile.ArrowEntity
net.minecraft.world.entity.projectile.EntityTippedArrow

Field summary

Modifier and TypeField
private static final int
e
EXPOSED_POTION_DECAY_TIME
field_30660
MAX_POTION_DURATION_TICKS
private static final int
f
NO_EFFECT_COLOR
field_30658
NO_POTION_COLOR
private static final EntityDataAccessor<Integer>
g
ID_EFFECT_COLOR
field_7595
COLOR
private static final byte
h
EVENT_POTION_PUFF
field_30659
PARTICLE_EFFECT_STATUS

Constructor summary

ModifierConstructor
public (EntityType<? extends Arrow> arg0, 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
G()
getPotionContents()
method_57315()
getPotionContents()
private void
a(czo arg0)
setPotionContents(PotionContents arg0)
method_57316(class_1844 arg0)
setPotionContents(PotionContentsComponent potionContentsComponent)
protected void
a(cxp arg0)
setPickupItemStack(ItemStack arg0)
method_57313(class_1799 arg0)
setStack(ItemStack arg0)
private void
H()
updateColor()
method_7462()
initColor()
public void
a(bup arg0)
addEffect(MobEffectInstance arg0)
method_7463(class_1293 arg0)
addEffect(StatusEffectInstance effect)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
h()
tick()
method_5773()
tick()
private void
b(int arg0)
makeParticle(int arg0)
method_7461(int arg0)
spawnParticles(int amount)
public int
D()
getColor()
method_7460()
getColor()
protected void
a(bwg arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity arg0)
protected ItemStack
v()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)