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.world.entity.EntityExperienceOrb

Field summary

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

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(akc$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()
public BlockPos
aQ()
getBlockPosBelowThatAffectsMyMovement()
method_23314()
getVelocityAffectingPos()
private void
p()
scanForEntities()
method_31498()
expensiveUpdate()
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)
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)
private boolean
a(buy arg0)
canMerge(ExperienceOrb arg0)
method_31494(class_1303 arg0)
isMergeable(ExperienceOrbEntity other)
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)
private void
b(buy arg0)
merge(ExperienceOrb arg0)
method_31497(class_1303 arg0)
merge(ExperienceOrbEntity other)
private void
s()
setUnderwaterMovement()
method_5921()
applyWaterMovement()
protected void
bs()
doWaterSplashEffect()
method_5746()
onSwimmingStart()
public final boolean
b(btc arg0)
hurtClient(DamageSource arg0)
method_5643(class_1282 arg0)
clientDamage(DamageSource 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)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a_(coy arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity 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)
public int
l()
getValue()
method_5919()
getExperienceAmount()
public int
m()
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 Packet<ClientGamePacketListener>
a(arb arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()