net.minecraft.client.multiplayer

public class ClientLevel

extends Level

All mapped superinterfaces:

LevelAccessor, CommonLevelAccessor, EntityGetter, LevelReader, BlockAndTintGetter, BlockGetter, LevelHeightAccessor, CollisionGetter, SignalGetter, BiomeManager$NoiseBiomeSource, LevelSimulatedRW, LevelSimulatedReader, LevelWriter, LevelTimeAccess, ScheduledTickAccess

gfk
net.minecraft.client.multiplayer.ClientLevel
net.minecraft.class_638
net.minecraft.client.world.ClientWorld

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_37952
LOGGER
private static final double
b
FLUID_PARTICLE_SPAWN_OFFSET
field_32641
PARTICLE_Y_OFFSET
private static final int
c
NORMAL_LIGHT_UPDATES_PER_FRAME
field_34805
field_34805
private static final int
d
LIGHT_UPDATE_QUEUE_SIZE_THRESHOLD
field_34806
field_34806
final EntityTickList
e
tickingEntities
field_27733
entityList
private final TransientEntitySectionManager<Entity>
f
entityStorage
field_27734
entityManager
private final ClientPacketListener
E
connection
field_3727
networkHandler
private final LevelRenderer
F
levelRenderer
field_17780
worldRenderer
private final LevelEventHandler
G
levelEventHandler
field_53028
worldEventHandler
private final ClientLevel$ClientLevelData
H
clientLevelData
field_24430
clientWorldProperties
private final DimensionSpecialEffects
I
effects
field_24606
dimensionEffects
private final TickRateManager
J
tickRateManager
field_47129
tickManager
private final Minecraft
K
minecraft
field_3729
client
final List<AbstractClientPlayer>
L
players
field_18226
players
private final Map<MapId, MapItemSavedData>
M
mapData
field_17675
mapStates
private static final int
N
CLOUD_COLOR
field_32640
field_32640
private int
O
skyFlashTime
field_21526
lightningTicksLeft
private final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<ColorResolver, BlockTintCache>
P
tintCaches
field_21527
colorCache
private final ClientChunkCache
Q
chunkSource
field_24605
chunkManager
private final Deque<Runnable>
R
lightUpdateQueue
field_34804
chunkUpdaters
private int
S
serverSimulationDistance
field_35163
simulationDistance
private final BlockStatePredictionHandler
T
blockStatePredictionHandler
field_37951
pendingUpdateManager
private final int
U
seaLevel
field_53029
seaLevel
private boolean
V
tickDayTime
field_54500
shouldTickTimeOfDay
private static final Set<Item>
W
MARKER_PARTICLE_ITEMS
field_35432
BLOCK_MARKER_ITEMS

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, ClientLevel$ClientLevelData properties, ResourceKey<Level> registryRef, Holder<DimensionType> dimensionType, int loadDistance, int simulationDistance, LevelRenderer worldRenderer, boolean debugWorld, long seed, int seaLevel)

Method summary

Modifier and TypeMethod
public void
b(int arg0)
handleBlockChangedAck(int arg0)
method_41927(int arg0)
handlePlayerActionResponse(int sequence)
public void
b(jh arg0, dxv arg1, int arg2)
setServerVerifiedBlockState(BlockPos arg0, BlockState arg1, int arg2)
method_41928(class_2338 arg0, class_2680 arg1, int arg2)
handleBlockUpdate(BlockPos pos, BlockState state, int flags)
public void
a(jh arg0, dxv arg1, fby arg2)
syncBlockState(BlockPos arg0, BlockState arg1, Vec3 arg2)
method_41926(class_2338 arg0, class_2680 arg1, class_243 arg2)
processPendingUpdate(BlockPos pos, BlockState state, Vec3d playerPos)
BlockStatePredictionHandler
a()
getBlockStatePredictionHandler()
method_41925()
getPendingUpdateManager()
public boolean
a(jh arg0, dxv arg1, int arg2, int arg3)
setBlock(BlockPos arg0, BlockState arg1, int arg2, int arg3)
method_30092(class_2338 arg0, class_2680 arg1, int arg2, int arg3)
setBlockState(BlockPos arg0, BlockState arg1, int arg2, int arg3)
public void
a(Runnable arg0)
queueLightUpdate(Runnable arg0)
method_38536(Runnable arg0)
enqueueChunkUpdate(Runnable updater)
public void
b()
pollLightUpdates()
method_38534()
runQueuedChunkUpdates()
public DimensionSpecialEffects
c()
effects()
method_28103()
getDimensionEffects()
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_8441(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
private void
m()
tickTime()
method_29090()
tickTime()
public void
a(long arg0, long arg1, boolean arg2)
setTimeFromServer(long arg0, long arg1, boolean arg2)
method_29089(long arg0, long arg1, boolean arg2)
setTime(long time, long timeOfDay, boolean shouldTickTimeOfDay)
public Iterable<Entity>
d()
entitiesForRendering()
method_18112()
getEntities()
public void
e()
tickEntities()
method_18116()
tickEntities()
public boolean
a(bvk arg0)
isTickingEntity(Entity arg0)
method_62145(class_1297 arg0)
hasEntity(Entity entity)
public boolean
h(bvk arg0)
shouldTickDeath(Entity arg0)
method_38989(class_1297 arg0)
shouldUpdatePostDeath(Entity arg0)
public void
c(bvk arg0)
tickNonPassenger(Entity arg0)
method_18646(class_1297 arg0)
tickEntity(Entity entity)
private void
a(bvk arg0, bvk arg1)
tickPassenger(Entity arg0, Entity arg1)
method_18647(class_1297 arg0, class_1297 arg1)
tickPassenger(Entity entity, Entity passenger)
public void
a(eaa arg0)
unload(LevelChunk arg0)
method_18110(class_2818 arg0)
unloadBlockEntities(WorldChunk chunk)
public void
a(dgo arg0)
onChunkLoaded(ChunkPos arg0)
method_23782(class_1923 arg0)
resetChunkColor(ChunkPos chunkPos)
public void
b(long arg0)
onSectionBecomingNonEmpty(long arg0)
method_62895(long arg0)
onChunkUnload(long sectionPos)
public void
f()
clearTintCaches()
method_23784()
reloadColor()
public boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
public int
g()
getEntityCount()
method_18120()
getRegularEntityCount()
public void
d(bvk arg0)
addEntity(Entity arg0)
method_53875(class_1297 arg0)
addEntity(Entity entity)
public void
a(int arg0, bvk$d arg1)
removeEntity(int arg0, Entity$RemovalReason arg1)
method_2945(int arg0, class_1297$class_5529 arg1)
removeEntity(int entityId, Entity$RemovalReason removalReason)
public Entity
a(int arg0)
getEntity(int arg0)
method_8469(int arg0)
getEntityById(int arg0)
public void
ab()
disconnect()
method_8525()
disconnect()
public void
b(int arg0, int arg1, int arg2)
animateTick(int arg0, int arg1, int arg2)
method_2941(int arg0, int arg1, int arg2)
doRandomBlockDisplayTicks(int centerX, int centerY, int centerZ)
private Block
n()
getMarkerParticleTarget()
method_35752()
getBlockParticle()
public void
a(int arg0, int arg1, int arg2, int arg3, bam arg4, dkm arg5, jh$a arg6)
doAnimateTick(int arg0, int arg1, int arg2, int arg3, RandomSource arg4, Block arg5, BlockPos$MutableBlockPos arg6)
method_2943(int arg0, int arg1, int arg2, int arg3, class_5819 arg4, class_2248 arg5, class_2338$class_2339 arg6)
randomBlockDisplayTick(int centerX, int centerY, int centerZ, int radius, Random random, Block block, BlockPos$Mutable pos)
private void
a(jh arg0, dxv arg1, lq arg2, boolean arg3)
trySpawnDripParticles(BlockPos arg0, BlockState arg1, ParticleOptions arg2, boolean arg3)
method_2938(class_2338 arg0, class_2680 arg1, class_2394 arg2, boolean arg3)
addParticle(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow)
private void
a(jh arg0, lq arg1, fcs arg2, double arg3)
spawnParticle(BlockPos arg0, ParticleOptions arg1, VoxelShape arg2, double arg3)
method_2948(class_2338 arg0, class_2394 arg1, class_265 arg2, double arg3)
addParticle(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y)
private void
a(double arg0, double arg1, double arg2, double arg3, double arg4, lq arg5)
spawnFluidParticle(double arg0, double arg1, double arg2, double arg3, double arg4, ParticleOptions arg5)
method_2932(double arg0, double arg1, double arg2, double arg3, double arg4, class_2394 arg5)
addParticle(double minX, double maxX, double minZ, double maxZ, double y, ParticleEffect parameters)
public CrashReportCategory
a(o arg0)
fillReportDetails(CrashReport arg0)
method_8538(class_128 arg0)
addDetailsToCrashReport(CrashReport arg0)
public void
a(cpx arg0, double arg1, double arg2, double arg3, jq<axe> arg4, axg arg5, float arg6, float arg7, long arg8)
playSeededSound(Player arg0, double arg1, double arg2, double arg3, Holder<SoundEvent> arg4, SoundSource arg5, float arg6, float arg7, long arg8)
method_8465(class_1657 arg0, double arg1, double arg2, double arg3, class_6880<class_3414> arg4, class_3419 arg5, float arg6, float arg7, long arg8)
playSound(PlayerEntity arg0, double arg1, double arg2, double arg3, RegistryEntry<SoundEvent> arg4, SoundCategory arg5, float arg6, float arg7, long arg8)
public void
a(cpx arg0, bvk arg1, jq<axe> arg2, axg arg3, float arg4, float arg5, long arg6)
playSeededSound(Player arg0, Entity arg1, Holder<SoundEvent> arg2, SoundSource arg3, float arg4, float arg5, long arg6)
method_8449(class_1657 arg0, class_1297 arg1, class_6880<class_3414> arg2, class_3419 arg3, float arg4, float arg5, long arg6)
playSoundFromEntity(PlayerEntity arg0, Entity arg1, RegistryEntry<SoundEvent> arg2, SoundCategory arg3, float arg4, float arg5, long arg6)
public void
a(bvk arg0, axe arg1, axg arg2, float arg3, float arg4)
playLocalSound(Entity arg0, SoundEvent arg1, SoundSource arg2, float arg3, float arg4)
method_55116(class_1297 arg0, class_3414 arg1, class_3419 arg2, float arg3, float arg4)
playSoundFromEntity(Entity arg0, SoundEvent arg1, SoundCategory arg2, float arg3, float arg4)
public void
a(double arg0, double arg1, double arg2, axe arg3, axg arg4, float arg5, float arg6, boolean arg7)
playLocalSound(double arg0, double arg1, double arg2, SoundEvent arg3, SoundSource arg4, float arg5, float arg6, boolean arg7)
method_8486(double arg0, double arg1, double arg2, class_3414 arg3, class_3419 arg4, float arg5, float arg6, boolean arg7)
playSound(double arg0, double arg1, double arg2, SoundEvent arg3, SoundCategory arg4, float arg5, float arg6, boolean arg7)
private void
a(double arg0, double arg1, double arg2, axe arg3, axg arg4, float arg5, float arg6, boolean arg7, long arg8)
playSound(double arg0, double arg1, double arg2, SoundEvent arg3, SoundSource arg4, float arg5, float arg6, boolean arg7, long arg8)
method_43207(double arg0, double arg1, double arg2, class_3414 arg3, class_3419 arg4, float arg5, float arg6, boolean arg7, long arg8)
playSound(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed)
public void
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, List<dae> arg6)
createFireworks(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, List<FireworkExplosion> arg6)
method_8547(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, List<class_9283> arg6)
addFireworkParticle(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, List<FireworkExplosionComponent> arg6)
public void
a(aac<?> arg0)
sendPacketToServer(Packet<?> arg0)
method_8522(class_2596<?> arg0)
sendPacket(Packet<?> arg0)
public RecipeAccess
P()
recipeAccess()
method_8433()
getRecipeManager()
public TickRateManager
t()
tickRateManager()
method_54719()
getTickManager()
public LevelTickAccess<Block>
T()
getBlockTicks()
method_8397()
getBlockTickScheduler()
public LevelTickAccess<Fluid>
S()
getFluidTicks()
method_8405()
getFluidTickScheduler()
public ClientChunkCache
h()
getChunkSource()
method_2935()
getChunkManager()
public MapItemSavedData
a(evp arg0)
getMapData(MapId arg0)
method_17891(class_9209 arg0)
getMapState(MapIdComponent arg0)
public void
b(evp arg0, evr arg1)
overrideMapData(MapId arg0, MapItemSavedData arg1)
method_47437(class_9209 arg0, class_22 arg1)
putClientsideMapState(MapIdComponent id, MapState state)
public void
a(evp arg0, evr arg1)
setMapData(MapId arg0, MapItemSavedData arg1)
method_17890(class_9209 arg0, class_22 arg1)
putMapState(MapIdComponent arg0, MapState arg1)
public MapId
w()
getFreeMapId()
method_17889()
increaseAndGetMapId()
public Scoreboard
Q()
getScoreboard()
method_8428()
getScoreboard()
public void
a(jh arg0, dxv arg1, dxv arg2, int arg3)
sendBlockUpdated(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
method_8413(class_2338 arg0, class_2680 arg1, class_2680 arg2, int arg3)
updateListeners(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
public void
b(jh arg0, dxv arg1, dxv arg2)
setBlocksDirty(BlockPos arg0, BlockState arg1, BlockState arg2)
method_16109(class_2338 arg0, class_2680 arg1, class_2680 arg2)
scheduleBlockRerenderIfNeeded(BlockPos arg0, BlockState arg1, BlockState arg2)
public void
c(int arg0, int arg1, int arg2)
setSectionDirtyWithNeighbors(int arg0, int arg1, int arg2)
method_18113(int arg0, int arg1, int arg2)
scheduleBlockRenders(int x, int y, int z)
public void
b(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
setSectionRangeDirty(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_62146(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
scheduleChunkRenders(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
public void
a(int arg0, jh arg1, int arg2)
destroyBlockProgress(int arg0, BlockPos arg1, int arg2)
method_8517(int arg0, class_2338 arg1, int arg2)
setBlockBreakingInfo(int arg0, BlockPos arg1, int arg2)
public void
b(int arg0, jh arg1, int arg2)
globalLevelEvent(int arg0, BlockPos arg1, int arg2)
method_8474(int arg0, class_2338 arg1, int arg2)
syncGlobalEvent(int arg0, BlockPos arg1, int arg2)
public void
a(cpx arg0, int arg1, jh arg2, int arg3)
levelEvent(Player arg0, int arg1, BlockPos arg2, int arg3)
method_8444(class_1657 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(PlayerEntity arg0, int arg1, BlockPos arg2, int arg3)
public void
a(lq arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleOptions arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_8406(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleEffect arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
a(lq arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
addParticle(ParticleOptions arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
method_8466(class_2394 arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
addParticle(ParticleEffect arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
public void
b(lq arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addAlwaysVisibleParticle(ParticleOptions arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_8494(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addImportantParticle(ParticleEffect arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
b(lq arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
addAlwaysVisibleParticle(ParticleOptions arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
method_17452(class_2394 arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
addImportantParticle(ParticleEffect arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
public List<AbstractClientPlayer>
y()
players()
method_18456()
getPlayers()
public Holder<Biome>
a(int arg0, int arg1, int arg2)
getUncachedNoiseBiome(int arg0, int arg1, int arg2)
method_22387(int arg0, int arg1, int arg2)
getGeneratorStoredBiome(int arg0, int arg1, int arg2)
public float
g(float arg0)
getSkyDarken(float arg0)
method_23783(float arg0)
getSkyBrightness(float tickDelta)
public int
a(fby arg0, float arg1)
getSkyColor(Vec3 arg0, float arg1)
method_23777(class_243 arg0, float arg1)
getSkyColor(Vec3d cameraPos, float tickDelta)
public int
h(float arg0)
getCloudColor(float arg0)
method_23785(float arg0)
getCloudsColor(float tickDelta)
public float
i(float arg0)
getStarBrightness(float arg0)
method_23787(float arg0)
getStarBrightness(float tickDelta)
public int
i()
getSkyFlashTime()
method_23789()
getLightningTicksLeft()
public void
c(int arg0)
setSkyFlashTime(int arg0)
method_8509(int arg0)
setLightningTicksLeft(int arg0)
public float
a(jm arg0, boolean arg1)
getShade(Direction arg0, boolean arg1)
method_24852(class_2350 arg0, boolean arg1)
getBrightness(Direction arg0, boolean arg1)
public int
a(jh arg0, dgs arg1)
getBlockTint(BlockPos arg0, ColorResolver arg1)
method_23752(class_2338 arg0, class_6539 arg1)
getColor(BlockPos arg0, ColorResolver arg1)
public int
b(jh arg0, dgs arg1)
calculateBlockTint(BlockPos arg0, ColorResolver arg1)
method_23780(class_2338 arg0, class_6539 arg1)
calculateColor(BlockPos pos, ColorResolver colorResolver)
public void
a(jh arg0, float arg1)
setDefaultSpawnPos(BlockPos arg0, float arg1)
method_27873(class_2338 arg0, float arg1)
setSpawnPos(BlockPos pos, float angle)
public ClientLevel$ClientLevelData
j()
getLevelData()
method_28104()
getLevelProperties()
public void
a(jq<ecr> arg0, fby arg1, ecr$a arg2)
gameEvent(Holder<GameEvent> arg0, Vec3 arg1, GameEvent$Context arg2)
method_32888(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> arg0, Vec3d arg1, GameEvent$Emitter arg2)
protected Map<MapId, MapItemSavedData>
k()
getAllMapData()
method_35754()
getMapStates()
protected void
a(Map<evp, evr> arg0)
addMapData(Map<MapId, MapItemSavedData> arg0)
method_35753(Map<class_9209, class_22> arg0)
putMapStates(Map<MapIdComponent, MapState> mapStates)
protected LevelEntityGetter<Entity>
G()
getEntities()
method_31592()
getEntityLookup()
public String
I()
gatherChunkSourceStats()
method_31419()
asString()
public void
a(jh arg0, dxv arg1)
addDestroyBlockEffect(BlockPos arg0, BlockState arg1)
method_31595(class_2338 arg0, class_2680 arg1)
addBlockBreakParticles(BlockPos arg0, BlockState arg1)
public void
i(int arg0)
setServerSimulationDistance(int arg0)
method_39023(int arg0)
setSimulationDistance(int simulationDistance)
public int
l()
getServerSimulationDistance()
method_39024()
getSimulationDistance()
public FeatureFlagSet
J()
enabledFeatures()
method_45162()
getEnabledFeatures()
public PotionBrewing
K()
potionBrewing()
method_59547()
getBrewingRecipeRegistry()
public FuelValues
L()
fuelValues()
method_61269()
getFuelRegistry()
public void
a(bvk arg0, bua arg1, dhb arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, dhi$a arg8, lq arg9, lq arg10, jq<axe> arg11)
explode(Entity arg0, DamageSource arg1, ExplosionDamageCalculator arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, Level$ExplosionInteraction arg8, ParticleOptions arg9, ParticleOptions arg10, Holder<SoundEvent> arg11)
method_8454(class_1297 arg0, class_1282 arg1, class_5362 arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, class_1937$class_7867 arg8, class_2394 arg9, class_2394 arg10, class_6880<class_3414> arg11)
createExplosion(Entity arg0, DamageSource arg1, ExplosionBehavior arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, World$ExplosionSourceType arg8, ParticleEffect arg9, ParticleEffect arg10, RegistryEntry<SoundEvent> arg11)
public int
O()
getSeaLevel()
method_8615()
getSeaLevel()