net.minecraft.client.multiplayer

public class ClientLevel

extends Level

All mapped superinterfaces:

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

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

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<Entity>
a
entitiesById
field_17778
regularEntities
field_217429_b
private final ClientPacketListener
b
connection
field_3727
netHandler
field_73035_a
private final LevelRenderer
c
levelRenderer
field_17780
worldRenderer
field_217430_d
private final ClientLevel$ClientLevelData
d
clientLevelData
field_24430
clientWorldProperties
field_239130_d_
private final DimensionSpecialEffects
x
effects
field_24606
skyProperties
field_239131_x_
private final Minecraft
y
minecraft
field_3729
client
field_73037_M
private final List<AbstractClientPlayer>
z
players
field_18226
players
field_217431_w
private Scoreboard
A
scoreboard
field_3733
scoreboard
field_200261_M
private final Map<String, MapItemSavedData>
B
mapData
field_17675
mapStates
field_217432_z
private int
C
skyFlashTime
field_21526
lightningTicksLeft
field_228314_A_
private final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<ColorResolver, BlockTintCache>
D
tintCaches
field_21527
colorCache
field_228315_B_
private final ClientChunkCache
E
chunkSource
field_24605
chunkManager
field_239129_E_

Constructor summary

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

Method summary

Modifier and TypeMethod
public DimensionSpecialEffects
a()
effects()
method_28103()
getSkyProperties()
func_239132_a_()
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_8441(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
func_72835_b(BooleanSupplier arg0)
private void
y()
tickTime()
method_29090()
tickTime()
func_239141_x_()
public void
a(long arg0)
setGameTime(long arg0)
method_29089(long arg0)
method_29089(long arg0)
func_239134_a_(long arg0)
public void
b(long arg0)
setDayTime(long arg0)
method_8435(long arg0)
setTimeOfDay(long timeOfDay)
func_72877_b(long arg0)
public Iterable<Entity>
b()
entitiesForRendering()
method_18112()
getEntities()
func_217416_b()
public void
g()
tickEntities()
method_18116()
tickEntities()
func_217419_d()
public void
a(aqa arg0)
tickNonPassenger(Entity arg0)
method_18646(class_1297 arg0)
tickEntity(Entity entity)
func_217418_a(Entity arg0)
public void
a(aqa arg0, aqa arg1)
tickPassenger(Entity arg0, Entity arg1)
method_18647(class_1297 arg0, class_1297 arg1)
tickPassenger(Entity entity, Entity passenger)
func_217420_a(Entity arg0, Entity arg1)
private void
b(aqa arg0)
updateChunkPos(Entity arg0)
method_18648(class_1297 arg0)
checkEntityChunkPos(Entity entity)
func_217423_b(Entity arg0)
public void
a(cgh arg0)
unload(LevelChunk arg0)
method_18110(class_2818 arg0)
unloadBlockEntities(WorldChunk chunk)
func_217409_a(Chunk arg0)
public void
e(int arg0, int arg1)
onChunkLoaded(int arg0, int arg1)
method_23782(int arg0, int arg1)
resetChunkColor(int arg0, int arg1)
func_228323_e_(int arg0, int arg1)
public void
i()
clearTintCaches()
method_23784()
reloadColor()
func_228327_h_()
public boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
func_217354_b(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
public int
j()
getEntityCount()
method_18120()
getRegularEntityCount()
func_217425_f()
public void
a(int arg0, dzj arg1)
addPlayer(int arg0, AbstractClientPlayer arg1)
method_18107(int arg0, class_742 arg1)
addPlayer(int id, AbstractClientPlayerEntity player)
func_217408_a(int arg0, AbstractClientPlayerEntity arg1)
public void
a(int arg0, aqa arg1)
putNonPlayerEntity(int arg0, Entity arg1)
method_2942(int arg0, class_1297 arg1)
addEntity(int id, Entity entity)
func_217411_a(int arg0, Entity arg1)
private void
b(int arg0, aqa arg1)
addEntity(int arg0, Entity arg1)
method_18114(int arg0, class_1297 arg1)
addEntityPrivate(int id, Entity entity)
func_217424_b(int arg0, Entity arg1)
public void
d(int arg0)
removeEntity(int arg0)
method_2945(int arg0)
removeEntity(int entityId)
func_217413_d(int arg0)
private void
d(aqa arg0)
onEntityRemoved(Entity arg0)
method_18117(class_1297 arg0)
finishRemovingEntity(Entity entity)
func_217414_d(Entity arg0)
public void
b(cgh arg0)
reAddEntitiesToChunk(LevelChunk arg0)
method_18115(class_2818 arg0)
addEntitiesToChunk(WorldChunk chunk)
func_217417_b(Chunk arg0)
public Entity
a(int arg0)
getEntity(int arg0)
method_8469(int arg0)
getEntityById(int arg0)
func_73045_a(int arg0)
getEntity(int arg0)
public void
b(fx arg0, ceh arg1)
setKnownState(BlockPos arg0, BlockState arg1)
method_2937(class_2338 arg0, class_2680 arg1)
setBlockStateWithoutNeighborUpdates(BlockPos pos, BlockState state)
func_195597_b(BlockPos arg0, BlockState arg1)
public void
S()
disconnect()
method_8525()
disconnect()
func_72882_A()
public void
c(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)
func_73029_E(int arg0, int arg1, int arg2)
public void
a(int arg0, int arg1, int arg2, int arg3, Random arg4, boolean arg5, fx$a arg6)
doAnimateTick(int arg0, int arg1, int arg2, int arg3, Random arg4, boolean arg5, BlockPos$MutableBlockPos arg6)
method_2943(int arg0, int arg1, int arg2, int arg3, Random arg4, boolean arg5, class_2338$class_2339 arg6)
randomBlockDisplayTick(int xCenter, int yCenter, int zCenter, int radius, Random random, boolean spawnBarrierParticles, BlockPos$Mutable pos)
func_184153_a(int arg0, int arg1, int arg2, int arg3, Random arg4, boolean arg5, BlockPos$Mutable arg6)
private void
a(fx arg0, ceh arg1, hf 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 arg3)
func_211530_a(BlockPos arg0, BlockState arg1, IParticleData arg2, boolean arg3)
private void
a(fx arg0, hf arg1, ddh 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)
func_211835_a(BlockPos arg0, IParticleData arg1, VoxelShape arg2, double arg3)
private void
a(double arg0, double arg1, double arg2, double arg3, double arg4, hf 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)
func_211834_a(double arg0, double arg1, double arg2, double arg3, double arg4, IParticleData arg5)
public void
m()
removeAllPendingEntityRemovals()
method_2936()
finishRemovingEntities()
func_73022_a()
public CrashReportCategory
a(l arg0)
fillReportDetails(CrashReport arg0)
method_8538(class_128 arg0)
addDetailsToCrashReport(CrashReport arg0)
func_72914_a(CrashReport arg0)
public void
a(bfw arg0, double arg1, double arg2, double arg3, adp arg4, adr arg5, float arg6, float arg7)
playSound(Player arg0, double arg1, double arg2, double arg3, SoundEvent arg4, SoundSource arg5, float arg6, float arg7)
method_8465(class_1657 arg0, double arg1, double arg2, double arg3, class_3414 arg4, class_3419 arg5, float arg6, float arg7)
playSound(PlayerEntity arg0, double arg1, double arg2, double arg3, SoundEvent arg4, SoundCategory arg5, float arg6, float arg7)
func_184148_a(PlayerEntity arg0, double arg1, double arg2, double arg3, SoundEvent arg4, SoundCategory arg5, float arg6, float arg7)
playSound(EntityHuman arg0, double arg1, double arg2, double arg3, SoundEffect arg4, SoundCategory arg5, float arg6, float arg7)
public void
a(bfw arg0, aqa arg1, adp arg2, adr arg3, float arg4, float arg5)
playSound(Player arg0, Entity arg1, SoundEvent arg2, SoundSource arg3, float arg4, float arg5)
method_8449(class_1657 arg0, class_1297 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSoundFromEntity(PlayerEntity arg0, Entity arg1, SoundEvent arg2, SoundCategory arg3, float arg4, float arg5)
func_217384_a(PlayerEntity arg0, Entity arg1, SoundEvent arg2, SoundCategory arg3, float arg4, float arg5)
playSound(EntityHuman arg0, Entity arg1, SoundEffect arg2, SoundCategory arg3, float arg4, float arg5)
public void
a(fx arg0, adp arg1, adr arg2, float arg3, float arg4, boolean arg5)
playLocalSound(BlockPos arg0, SoundEvent arg1, SoundSource arg2, float arg3, float arg4, boolean arg5)
method_2947(class_2338 arg0, class_3414 arg1, class_3419 arg2, float arg3, float arg4, boolean arg5)
playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
func_184156_a(BlockPos arg0, SoundEvent arg1, SoundCategory arg2, float arg3, float arg4, boolean arg5)
public void
a(double arg0, double arg1, double arg2, adp arg3, adr 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)
func_184134_a(double arg0, double arg1, double arg2, SoundEvent arg3, SoundCategory arg4, float arg5, float arg6, boolean arg7)
public void
a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, md arg6)
createFireworks(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, CompoundTag arg6)
method_8547(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, class_2487 arg6)
addFireworkParticle(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, NbtCompound arg6)
func_92088_a(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, CompoundNBT arg6)
public void
a(oj<?> arg0)
sendPacketToServer(Packet<?> arg0)
method_8522(class_2596<?> arg0)
sendPacket(Packet<?> arg0)
func_184135_a(IPacket<?> arg0)
public RecipeManager
o()
getRecipeManager()
method_8433()
getRecipeManager()
func_199532_z()
getCraftingManager()
public void
a(ddn arg0)
setScoreboard(Scoreboard arg0)
method_2944(class_269 arg0)
setScoreboard(Scoreboard scoreboard)
func_96443_a(Scoreboard arg0)
public TickList<Block>
J()
getBlockTicks()
method_8397()
getBlockTickScheduler()
func_205220_G_()
getBlockTickList()
public TickList<Fluid>
I()
getLiquidTicks()
method_8405()
getFluidTickScheduler()
func_205219_F_()
getFluidTickList()
public ClientChunkCache
n()
getChunkSource()
method_2935()
getChunkManager()
func_72863_F()
getChunkProvider()
public MapItemSavedData
a(String arg0)
getMapData(String arg0)
method_17891(String arg0)
getMapState(String arg0)
func_217406_a(String arg0)
public void
a(cxx arg0)
setMapData(MapItemSavedData arg0)
method_17890(class_22 arg0)
putMapState(MapState arg0)
func_217399_a(MapData arg0)
public int
t()
getFreeMapId()
method_17889()
getNextMapId()
func_217395_y()
getWorldMapCount()
public Scoreboard
G()
getScoreboard()
method_8428()
getScoreboard()
func_96441_U()
getScoreboard()
public TagContainer
p()
getTagManager()
method_8514()
getTagManager()
func_205772_D()
public RegistryAccess
r()
registryAccess()
method_30349()
getRegistryManager()
func_241828_r()
public void
a(fx arg0, ceh arg1, ceh 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)
func_184138_a(BlockPos arg0, BlockState arg1, BlockState arg2, int arg3)
notify(BlockPosition arg0, IBlockData arg1, IBlockData arg2, int arg3)
public void
b(fx arg0, ceh arg1, ceh 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)
func_225319_b(BlockPos arg0, BlockState arg1, BlockState arg2)
public void
d(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)
func_217427_b(int arg0, int arg1, int arg2)
public void
a(int arg0, fx 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)
func_175715_c(int arg0, BlockPos arg1, int arg2)
public void
b(int arg0, fx 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)
func_175669_a(int arg0, BlockPos arg1, int arg2)
public void
a(bfw arg0, int arg1, fx 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)
func_217378_a(PlayerEntity arg0, int arg1, BlockPos arg2, int arg3)
public void
a(hf 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)
func_195594_a(IParticleData arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleParam arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
a(hf 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)
func_195590_a(IParticleData arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
public void
b(hf 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)
func_195589_b(IParticleData arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
b(hf 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)
func_217404_b(IParticleData arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
public List<AbstractClientPlayer>
x()
players()
method_18456()
getPlayers()
func_217369_A()
getPlayers()
public 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)
func_225604_a_(int arg0, int arg1, int arg2)
public float
g(float arg0)
getSkyDarken(float arg0)
method_23783(float arg0)
method_23783(float arg0)
func_228326_g_(float arg0)
public Vec3
a(fx arg0, float arg1)
getSkyColor(BlockPos arg0, float arg1)
method_23777(class_2338 arg0, float arg1)
method_23777(BlockPos arg0, float arg1)
func_228318_a_(BlockPos arg0, float arg1)
public Vec3
h(float arg0)
getCloudColor(float arg0)
method_23785(float arg0)
getCloudsColor(float tickDelta)
func_228328_h_(float arg0)
public float
i(float arg0)
getStarBrightness(float arg0)
method_23787(float arg0)
method_23787(float arg0)
func_228330_j_(float arg0)
public int
s()
getSkyFlashTime()
method_23789()
getLightningTicksLeft()
func_228332_n_()
public void
c(int arg0)
setSkyFlashTime(int arg0)
method_8509(int arg0)
setLightningTicksLeft(int arg0)
func_225605_c_(int arg0)
public float
a(gc arg0, boolean arg1)
getShade(Direction arg0, boolean arg1)
method_24852(class_2350 arg0, boolean arg1)
getBrightness(Direction arg0, boolean arg1)
func_230487_a_(Direction arg0, boolean arg1)
public int
a(fx arg0, ColorResolver arg1)
getBlockTint(BlockPos arg0, ColorResolver arg1)
method_23752(class_2338 arg0, ColorResolver arg1)
getColor(BlockPos arg0, ColorResolver arg1)
func_225525_a_(BlockPos arg0, ColorResolver arg1)
public int
b(fx arg0, ColorResolver arg1)
calculateBlockTint(BlockPos arg0, ColorResolver arg1)
method_23780(class_2338 arg0, ColorResolver arg1)
calculateColor(BlockPos pos, ColorResolver colorResolver)
func_228321_b_(BlockPos arg0, ColorResolver arg1)
public BlockPos
u()
getSharedSpawnPos()
method_27874()
getSpawnPos()
func_239140_u_()
public float
v()
getSharedSpawnAngle()
method_30671()
method_30671()
func_243489_v()
public void
b(fx arg0, float arg1)
setDefaultSpawnPos(BlockPos arg0, float arg1)
method_27873(class_2338 arg0, float arg1)
setSpawnPos(BlockPos pos, float angle)
func_239136_a_(BlockPos arg0, float arg1)
public ClientLevel$ClientLevelData
w()
getLevelData()
method_28104()
getLevelProperties()
func_72912_H()
getWorldData()