net.minecraft.world.entity

public class ExperienceOrb

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bbt
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
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
field_30058
f_147076_
private static final double
f
ORB_MERGE_DISTANCE
field_30059
field_30059
f_147077_
private int
ao
age
field_6164
orbAge
f_20767_
private int
ap
health
field_6161
health
f_20769_
private int
aq
value
field_6159
amount
f_20770_
private int
ar
count
field_27009
pickingCount
f_147072_
private Player
as
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
aO()
getMovementEmission()
method_33570()
getMoveEffect()
m_142319_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
private void
j()
scanForEntities()
method_31498()
expensiveUpdate()
m_147103_()
public static void
a(agg arg0, dwq 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(agg arg0, dwq 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(bbt arg0)
canMerge(ExperienceOrb arg0)
method_31494(class_1303 arg0)
isMergeable(ExperienceOrbEntity other)
m_147086_(C_518_ arg0)
private static boolean
a(bbt 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(bbt arg0)
merge(ExperienceOrb arg0)
method_31497(class_1303 arg0)
merge(ExperienceOrbEntity other)
m_147100_(C_518_ arg0)
private void
l()
setUnderwaterMovement()
method_5921()
applyWaterMovement()
m_20803_()
protected void
ba()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
m_5841_()
public boolean
a(baw arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_20786_, float arg1)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b_(buc arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
private int
a(buc arg0, int arg1)
repairPlayerItems(Player arg0, int arg1)
method_35051(class_1657 arg0, int arg1)
repairPlayerGears(PlayerEntity player, int amount)
m_147092_(C_1141_ p_147094_, int arg1)
private int
b(int arg0)
durabilityToXp(int arg0)
method_5922(int arg0)
getMendingRepairCost(int repairAmount)
m_20793_(int arg0)
private int
c(int arg0)
xpToDurability(int arg0)
method_5917(int arg0)
getMendingRepairAmount(int experienceAmount)
m_20798_(int arg0)
public int
h()
getValue()
method_5919()
getExperienceAmount()
m_20801_()
public int
i()
getIcon()
method_5920()
getOrbSize()
m_20802_()
public static int
a(int arg0)
getExperienceValue(int arg0)
method_5918(int arg0)
roundToOrbSize(int value)
m_20782_(int p_20783_)
public boolean
ch()
isAttackable()
method_5732()
isAttackable()
m_6097_()
public Packet<?>
S()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
public SoundSource
cR()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()