net.minecraft.world.entity

public class ExperienceOrb

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

bxs
net.minecraft.world.entity.ExperienceOrb
net.minecraft.class_1303
net.minecraft.entity.ExperienceOrbEntity
net.minecraft.src.C_518_

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Integer>
a
DATA_VALUE
field_55950
VALUE
f_380939_
private static final int
b
LIFETIME
field_30055
DESPAWN_AGE
f_147073_
private static final int
c
ENTITY_SCAN_PERIOD
field_30056
EXPENSIVE_UPDATE_INTERVAL
f_147074_
private static final int
d
MAX_FOLLOW_DIST
field_30057
field_30057
f_147075_
private static final int
e
ORB_GROUPS_PER_AREA
field_30058
MERGING_CHANCE_FRACTION
f_147076_
private static final double
f
ORB_MERGE_DISTANCE
field_30059
field_30059
f_147077_
private static final short
g
DEFAULT_HEALTH
field_57583
DEFAULT_HEALTH
f_380366_
private static final short
h
DEFAULT_AGE
field_57584
DEFAULT_AGE
f_381996_
private static final short
i
DEFAULT_VALUE
field_57585
DEFAULT_VALUE
f_381376_
private static final int
j
DEFAULT_COUNT
field_57586
DEFAULT_COUNT
f_379716_
private int
k
age
field_6164
orbAge
f_20767_
private int
l
health
field_6161
health
f_20769_
private int
m
count
field_27009
pickingCount
f_147072_
private Player
n
followingPlayer
field_6162
target
f_20771_
private final InterpolationHandler
o
interpolation
field_55662
interpolator
f_381104_

Constructor summary

ModifierConstructor
public (Level world, double x, double y, double z, int amount)
public (EntityType<? extends ExperienceOrb> p_20774_, Level arg1)

Method summary

Modifier and TypeMethod
protected Entity$MovementEmission
bf()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected void
a(aky$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected double
bc()
getDefaultGravity()
method_7490()
getGravity()
m_319564_()
public void
g()
tick()
method_5773()
tick()
m_8119_()
private void
i()
followNearbyPlayer()
method_66264()
moveTowardsPlayer()
m_386140_()
public BlockPos
aP()
getBlockPosBelowThatAffectsMyMovement()
method_23314()
getVelocityAffectingPos()
m_20099_()
private void
l()
scanForMerges()
method_31498()
expensiveUpdate()
m_384079_()
public static void
a(asb arg0, fgc arg1, int arg2)
award(ServerLevel arg0, Vec3 arg1, int arg2)
method_31493(class_3218 arg0, class_243 arg1, int arg2)
spawn(ServerWorld world, Vec3d pos, int amount)
m_147082_(C_12_ p_147083_, C_3046_ p_147084_, int p_147085_)
private static boolean
b(asb arg0, fgc arg1, int arg2)
tryMergeToExisting(ServerLevel arg0, Vec3 arg1, int arg2)
method_31496(class_3218 arg0, class_243 arg1, int arg2)
wasMergedIntoExistingOrb(ServerWorld world, Vec3d pos, int amount)
m_147096_(C_12_ p_147097_, C_3046_ p_147098_, int p_147099_)
private boolean
a(bxs arg0)
canMerge(ExperienceOrb arg0)
method_31494(class_1303 arg0)
isMergeable(ExperienceOrbEntity other)
m_147086_(C_518_ arg0)
private static boolean
a(bxs arg0, int arg1, int arg2)
canMerge(ExperienceOrb arg0, int arg1, int arg2)
method_31495(class_1303 arg0, int arg1, int arg2)
isMergeable(ExperienceOrbEntity orb, int seed, int amount)
m_147088_(C_518_ p_147089_, int p_147090_, int p_147091_)
private void
b(bxs arg0)
merge(ExperienceOrb arg0)
method_31497(class_1303 arg0)
merge(ExperienceOrbEntity other)
m_147100_(C_518_ arg0)
private void
m()
setUnderwaterMovement()
method_5921()
applyWaterMovement()
m_20803_()
protected void
bq()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
m_5841_()
public final boolean
b(bvt arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
m_8088_(C_489_ arg0)
public final boolean
a(asb arg0, bvt arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_362340_, C_489_ p_369855_, float arg2)
public void
b(ua arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ua arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a_(csi arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
private int
a(asc arg0, int arg1)
repairPlayerItems(ServerPlayer arg0, int arg1)
method_35051(class_3222 arg0, int arg1)
repairPlayerGears(ServerPlayerEntity player, int amount)
m_147092_(C_13_ p_147094_, int arg1)
public int
e()
getValue()
method_5919()
getValue()
m_20801_()
private void
c(int arg0)
setValue(int arg0)
method_66666(int arg0)
setValue(int value)
m_384304_(int arg0)
public int
f()
getIcon()
method_5920()
getOrbSize()
m_20802_()
public static int
b(int arg0)
getExperienceValue(int arg0)
method_5918(int arg0)
roundToOrbSize(int value)
m_20782_(int p_20783_)
public boolean
cB()
isAttackable()
method_5732()
isAttackable()
m_6097_()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
public InterpolationHandler
l_()
getInterpolation()
method_66233()
getInterpolator()
m_385794_()