net.minecraft.world.entity

public class ExperienceOrb

extends Entity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

buy
net.minecraft.world.entity.ExperienceOrb
net.minecraft.class_1303
net.minecraft.entity.ExperienceOrbEntity
net.minecraft.src.C_518_
net.minecraft.world.entity.EntityExperienceOrb

Field summary

Modifier and TypeField
private static final int
a
LIFETIME
field_30055
DESPAWN_AGE
f_147073_
private static final int
b
ENTITY_SCAN_PERIOD
field_30056
EXPENSIVE_UPDATE_INTERVAL
f_147074_
private static final int
c
MAX_FOLLOW_DIST
field_30057
field_30057
f_147075_
private static final int
d
ORB_GROUPS_PER_AREA
field_30058
MERGING_CHANCE_FRACTION
f_147076_
private static final double
e
ORB_MERGE_DISTANCE
field_30059
field_30059
f_147077_
private int
f
age
field_6164
orbAge
f_20767_
private int
g
health
field_6161
health
f_20769_
private int
h
value
field_6159
amount
f_20770_
private int
i
count
field_27009
pickingCount
f_147072_
private Player
j
followingPlayer
field_6162
target
f_20771_

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
bg()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected void
a(akc$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
bd()
getDefaultGravity()
method_7490()
getGravity()
m_319564_()
public void
h()
tick()
method_5773()
tick()
m_8119_()
public BlockPos
aQ()
getBlockPosBelowThatAffectsMyMovement()
method_23314()
getVelocityAffectingPos()
m_20099_()
private void
p()
scanForEntities()
method_31498()
expensiveUpdate()
m_147103_()
public static void
a(ard arg0, fbb 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(ard arg0, fbb 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(buy arg0)
canMerge(ExperienceOrb arg0)
method_31494(class_1303 arg0)
isMergeable(ExperienceOrbEntity other)
m_147086_(C_518_ arg0)
private static boolean
a(buy 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(buy arg0)
merge(ExperienceOrb arg0)
method_31497(class_1303 arg0)
merge(ExperienceOrbEntity other)
m_147100_(C_518_ arg0)
private void
s()
setUnderwaterMovement()
method_5921()
applyWaterMovement()
m_20803_()
protected void
bs()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
m_5841_()
public final boolean
b(btc arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource arg0)
m_8088_(C_489_ arg0)
public final boolean
a(ard arg0, btc 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(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a_(coy arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
private int
a(are 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
l()
getValue()
method_5919()
getExperienceAmount()
m_20801_()
public int
m()
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 Packet<ClientGamePacketListener>
a(arb arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
m_5654_(C_11_ arg0)
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()