net.minecraft.world.entity

public class ExperienceOrb

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter

bwo
net.minecraft.world.entity.ExperienceOrb
net.minecraft.class_1303
net.minecraft.entity.ExperienceOrbEntity

Field summary

Modifier and TypeField
protected static final EntityDataAccessor<Integer>
a
DATA_VALUE
field_55950
VALUE
private static final int
b
LIFETIME
field_30055
DESPAWN_AGE
private static final int
c
ENTITY_SCAN_PERIOD
field_30056
EXPENSIVE_UPDATE_INTERVAL
private static final int
d
MAX_FOLLOW_DIST
field_30057
field_30057
private static final int
e
ORB_GROUPS_PER_AREA
field_30058
MERGING_CHANCE_FRACTION
private static final double
f
ORB_MERGE_DISTANCE
field_30059
field_30059
private int
g
age
field_6164
orbAge
private int
h
health
field_6161
health
private int
i
count
field_27009
pickingCount
private Player
j
followingPlayer
field_6162
target
private final InterpolationHandler
k
interpolation
field_55662
interpolator

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected double
bd()
getDefaultGravity()
method_7490()
getGravity()
public void
h()
tick()
method_5773()
tick()
private void
j()
followNearbyPlayer()
method_66264()
moveTowardsPlayer()
public BlockPos
aQ()
getBlockPosBelowThatAffectsMyMovement()
method_23314()
getVelocityAffectingPos()
private void
m()
scanForMerges()
method_31498()
expensiveUpdate()
public static void
a(aro arg0, fdw 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)
private static boolean
b(aro arg0, fdw 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)
private boolean
a(bwo arg0)
canMerge(ExperienceOrb arg0)
method_31494(class_1303 arg0)
isMergeable(ExperienceOrbEntity other)
private static boolean
a(bwo 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)
private void
b(bwo arg0)
merge(ExperienceOrb arg0)
method_31497(class_1303 arg0)
merge(ExperienceOrbEntity other)
private void
n()
setUnderwaterMovement()
method_5921()
applyWaterMovement()
protected void
br()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
public final boolean
b(bup arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
public final boolean
a(aro arg0, bup 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)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a_(cqs arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
private int
a(arp arg0, int arg1)
repairPlayerItems(ServerPlayer arg0, int arg1)
method_35051(class_3222 arg0, int arg1)
repairPlayerGears(ServerPlayerEntity player, int amount)
public int
f()
getValue()
method_5919()
getValue()
private void
c(int arg0)
setValue(int arg0)
method_66666(int arg0)
setValue(int value)
public int
g()
getIcon()
method_5920()
getOrbSize()
public static int
b(int arg0)
getExperienceValue(int arg0)
method_5918(int arg0)
roundToOrbSize(int value)
public boolean
cB()
isAttackable()
method_5732()
isAttackable()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
public InterpolationHandler
N_()
getInterpolation()
method_66233()
getInterpolator()