Package net.minecraft.client.world
Class ClientWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.client.world.ClientWorld
- All Implemented Interfaces:
AutoCloseable,class_3593,class_3600,class_3601,class_3602,BlockView,IWorld,RenderBlockView
- Mappings:
Namespace Name official crgintermediary net/minecraft/class_478named net/minecraft/client/world/ClientWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate ClientChunkProviderprivate final ClientPlayNetworkHandlerprivate intprivate ScoreboardFields inherited from class net.minecraft.world.World
blockEntities, chunkProvider, dimension, entities, eventListeners, field_12436, field_17503, idToEntity, isClient, lcgBlockSeed, levelProperties, loadedEntities, playerEntities, profiler, rainGradient, rainGradientPrev, random, saveHandler, spawnAnimals, spawnMonsters, thunderGradient, thunderGradientPrev, tickingBlockEntities, unloadedEntities, unusedIncrement, villageState -
Constructor Summary
ConstructorsConstructorDescriptionClientWorld(ClientPlayNetworkHandler clientPlayNetworkHandler, LevelInfo levelInfo, DimensionType dimensionType, Difficulty difficulty, Profiler profiler) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, NbtCompound nbt) addToCrashReport(CrashReport report) voidprotected ChunkProvidergetEntityById(int id) voidmethod_11483(Packet<?> packet) protected voidvoidmethod_12238(int int2, int int3, int int4, int int5, Random random, boolean bool, BlockPos.Mutable mutable) voidmethod_1248(int int2, int int3, int int4) voidvoidmethod_16327(BooleanSupplier booleanSupplier) private voidmethod_18970(double double2, double double3, double double4, double double5, double double6, ParticleEffect particleEffect) private voidmethod_18971(BlockPos blockPos, BlockState blockState, ParticleEffect particleEffect, boolean bool) private voidmethod_18972(BlockPos blockPos, ParticleEffect particleEffect, VoxelShape voxelShape, double double2) voidmethod_18973(BlockPos blockPos, BlockState blockState) protected voidmethod_3605(int int2, int int3, Chunk chunk) booleanmethod_8487(int int2, int int3, boolean bool) voidmethod_9669(BlockPos blockPos, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool) protected voidonEntityRemoved(Entity entity) protected voidonEntitySpawned(Entity entity) voidplaySound(double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool) voidplaySound(PlayerEntity playerEntity, double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3) removeEntity(int int2) voidremoveEntity(Entity entity) voidvoidsetTimeOfDay(long time) booleanspawnEntity(Entity entity) protected voidprotected voidMethods inherited from class net.minecraft.world.World
addBlockAction, addBlockEntities, addBlockEntity, addDetailsToCrashReport, addEntity, addListener, calculateAmbientDarkness, canPlayerModifyAt, checkChunk, close, containsFireSource, containsMaterial, createExplosion, createExplosion, extinguishFire, getAmbientDarkness, getBlockEntity, getBlockState, getChunk, getChunkProvider, getCloudColor, getDebugString, getEffectiveHeight, getEmittedRedstonePower, getEntitiesByClass, getEntitiesInBox, getFluidState, getFogColor, getGameRules, getHorizonHeight, getLastUpdateTime, getLevelProperties, getLocalDifficulty, getLuminance, getMaxBuildHeight, getPlayerByName, getPlayerByUuid, getRainGradient, getRandom, getReceivedRedstonePower, getReceivedStrongRedstonePower, getSaveHandler, getSeaLevel, getSeed, getServer, getSkyAngleRadians, getSpawnPos, getThunderGradient, getTimeOfDay, getVillageState, getWorldBorder, hasDirectSunlight, hasHighHumidity, hasRain, initWeatherGradients, isBoxNotEmpty, isChunkLoaded, isDay, isEmittingRedstonePower, isPlayerInRange, isRaining, isReceivingRedstonePower, isThundering, loadEntity, markDirty, method_11475, method_11479, method_11480, method_11481, method_11484, method_11491, method_11492, method_13688, method_13692, method_16288, method_16316, method_16318, method_16319, method_16320, method_16322, method_16323, method_16324, method_16325, method_16326, method_16328, method_16329, method_16331, method_16332, method_16333, method_16334, method_16335, method_16338, method_16339, method_16342, method_16343, method_16347, method_16348, method_16360, method_16368, method_16369, method_16370, method_16372, method_16379, method_16390, method_16393, method_16399, method_16403, method_3597, method_3612, method_3614, method_3615, method_3631, method_3645, method_3649, method_3669, method_3700, method_3704, method_3705, method_3707, method_4689, method_4690, method_8509, method_8521, method_8539, method_8540, method_8545, method_8546, method_8568, method_8575, method_8576, method_8577, method_8578, method_8579, onLightUpdate, onRenderRegionUpdate, onRenderRegionUpdate, playSound, queueBlockEntity, rayTrace, readSaveLock, removeBlock, removeBlockEntity, removeListener, sendEntityStatus, setAir, setAmbientDarkness, setBlockBreakingInfo, setBlockEntity, setBlockState, setBlockState, setDefaultSpawnClient, setPropertiesInitialized, setRainGradient, setSeaLevel, setSpawnPos, setThunderGradient, setTime, syncGlobalEvent, syncWorldEvent, tickEntities, unloadEntities, updateHorizontalAdjacent, updateNeighborsExceptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getMaxLightLevelMethods inherited from interface net.minecraft.class_3593
getEntities, method_16289Methods inherited from interface net.minecraft.class_3601
method_16396, method_16397, method_16398Methods inherited from interface net.minecraft.world.IWorld
method_16344, method_16345, method_16346, method_16349, method_16351Methods inherited from interface net.minecraft.world.RenderBlockView
method_16356, method_16357, method_16358, method_16359, method_16361, method_16362, method_16364, method_16365, method_16366, method_16367, method_16371, method_16373, method_16374, method_16375, method_16378, method_16380, method_16381, method_16382, method_16383, method_16384, method_16385, method_16386, method_16387, method_16388, method_16389, method_16391, method_16392, method_16394
-
Field Details
-
clientNetHandler
- Mappings:
Namespace Name Mixin selector official bLcrg;b:Lcrd;intermediary field_1661Lnet/minecraft/class_478;field_1661:Lnet/minecraft/class_1845;named clientNetHandlerLnet/minecraft/client/world/ClientWorld;clientNetHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
clientChunkCache
- Mappings:
Namespace Name Mixin selector official cLcrg;c:Lcrb;intermediary field_1662Lnet/minecraft/class_478;field_1662:Lnet/minecraft/class_476;named clientChunkCacheLnet/minecraft/client/world/ClientWorld;clientChunkCache:Lnet/minecraft/world/chunk/ClientChunkProvider;
-
world
- Mappings:
Namespace Name Mixin selector official dLcrg;d:Ljava/util/Set;intermediary field_1664Lnet/minecraft/class_478;field_1664:Ljava/util/Set;named worldLnet/minecraft/client/world/ClientWorld;world:Ljava/util/Set;
-
field_1658
- Mappings:
Namespace Name Mixin selector official FLcrg;F:Ljava/util/Set;intermediary field_1658Lnet/minecraft/class_478;field_1658:Ljava/util/Set;named field_1658Lnet/minecraft/client/world/ClientWorld;field_1658:Ljava/util/Set;
-
client
- Mappings:
Namespace Name Mixin selector official GLcrg;G:Lcft;intermediary field_1659Lnet/minecraft/class_478;field_1659:Lnet/minecraft/class_1600;named clientLnet/minecraft/client/world/ClientWorld;client:Lnet/minecraft/client/MinecraftClient;
-
field_1660
- Mappings:
Namespace Name Mixin selector official HLcrg;H:Ljava/util/Set;intermediary field_1660Lnet/minecraft/class_478;field_1660:Ljava/util/Set;named field_1660Lnet/minecraft/client/world/ClientWorld;field_1660:Ljava/util/Set;
-
field_13407
private int field_13407- Mappings:
Namespace Name Mixin selector official ILcrg;I:Iintermediary field_13407Lnet/minecraft/class_478;field_13407:Inamed field_13407Lnet/minecraft/client/world/ClientWorld;field_13407:I
-
field_13408
- Mappings:
Namespace Name Mixin selector official aLcrg;a:Ljava/util/Set;intermediary field_13408Lnet/minecraft/class_478;field_13408:Ljava/util/Set;named field_13408Lnet/minecraft/client/world/ClientWorld;field_13408:Ljava/util/Set;
-
field_20626
- Mappings:
Namespace Name Mixin selector official JLcrg;J:Lcfc;intermediary field_20626Lnet/minecraft/class_478;field_20626:Lnet/minecraft/class_1471;named field_20626Lnet/minecraft/client/world/ClientWorld;field_20626:Lnet/minecraft/scoreboard/Scoreboard;
-
-
Constructor Details
-
ClientWorld
public ClientWorld(ClientPlayNetworkHandler clientPlayNetworkHandler, LevelInfo levelInfo, DimensionType dimensionType, Difficulty difficulty, Profiler profiler)
-
-
Method Details
-
method_16327
- Overrides:
method_16327in classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(Ljava/util/function/BooleanSupplier;)Vintermediary method_16327Lnet/minecraft/class_1150;method_16327(Ljava/util/function/BooleanSupplier;)Vnamed method_16327Lnet/minecraft/world/World;method_16327(Ljava/util/function/BooleanSupplier;)V
-
getChunkCache
- Specified by:
getChunkCachein classWorld- Mappings:
Namespace Name Mixin selector official rLaxy;r()Lbnc;intermediary method_3712Lnet/minecraft/class_1150;method_3712()Lnet/minecraft/class_1193;named getChunkCacheLnet/minecraft/world/World;getChunkCache()Lnet/minecraft/world/chunk/ChunkProvider;
-
method_8487
public boolean method_8487(int int2, int int3, boolean bool) - Mappings:
Namespace Name Mixin selector official aLayc;a(IIZ)Zintermediary method_8487Lnet/minecraft/class_3599;method_8487(IIZ)Znamed method_8487Lnet/minecraft/world/RenderBlockView;method_8487(IIZ)Z
-
method_12237
protected void method_12237()- Mappings:
Namespace Name Mixin selector official aLcrg;a()Vintermediary method_12237Lnet/minecraft/class_478;method_12237()Vnamed method_12237Lnet/minecraft/client/world/ClientWorld;method_12237()V
-
tickBlocks
protected void tickBlocks()- Overrides:
tickBlocksin classWorld- Mappings:
Namespace Name Mixin selector official n_Laxy;n_()Vintermediary method_3701Lnet/minecraft/class_1150;method_3701()Vnamed tickBlocksLnet/minecraft/world/World;tickBlocks()V
-
spawnEntity
- Specified by:
spawnEntityin interfaceclass_3602- Overrides:
spawnEntityin classWorld- Mappings:
Namespace Name Mixin selector official method_3686Laxy;method_3686(Laer;)Zintermediary method_3686Lnet/minecraft/class_1150;method_3686(Lnet/minecraft/class_864;)Znamed spawnEntityLnet/minecraft/world/World;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
removeEntity
- Overrides:
removeEntityin classWorld- Mappings:
Namespace Name Mixin selector official eLaxy;e(Laer;)Vintermediary method_3693Lnet/minecraft/class_1150;method_3693(Lnet/minecraft/class_864;)Vnamed removeEntityLnet/minecraft/world/World;removeEntity(Lnet/minecraft/entity/Entity;)V
-
onEntitySpawned
- Overrides:
onEntitySpawnedin classWorld- Mappings:
Namespace Name Mixin selector official bLaxy;b(Laer;)Vintermediary method_3626Lnet/minecraft/class_1150;method_3626(Lnet/minecraft/class_864;)Vnamed onEntitySpawnedLnet/minecraft/world/World;onEntitySpawned(Lnet/minecraft/entity/Entity;)V
-
onEntityRemoved
- Overrides:
onEntityRemovedin classWorld- Mappings:
Namespace Name Mixin selector official cLaxy;c(Laer;)Vintermediary method_3663Lnet/minecraft/class_1150;method_3663(Lnet/minecraft/class_864;)Vnamed onEntityRemovedLnet/minecraft/world/World;onEntityRemoved(Lnet/minecraft/entity/Entity;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector official aLcrg;a(ILaer;)Vintermediary method_6843Lnet/minecraft/class_478;method_6843(ILnet/minecraft/class_864;)Vnamed addEntityLnet/minecraft/client/world/ClientWorld;addEntity(ILnet/minecraft/entity/Entity;)V
-
getEntityById
- Overrides:
getEntityByIdin classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(I)Laer;intermediary method_2133Lnet/minecraft/class_1150;method_2133(I)Lnet/minecraft/class_864;named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
removeEntity
- Mappings:
Namespace Name Mixin selector official eLcrg;e(I)Laer;intermediary method_1255Lnet/minecraft/class_478;method_1255(I)Lnet/minecraft/class_864;named removeEntityLnet/minecraft/client/world/ClientWorld;removeEntity(I)Lnet/minecraft/entity/Entity;
-
method_18973
- Mappings:
Namespace Name Mixin selector official bLcrg;b(Lel;Lblc;)Vintermediary method_18973Lnet/minecraft/class_478;method_18973(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_18973Lnet/minecraft/client/world/ClientWorld;method_18973(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
disconnect
public void disconnect()- Overrides:
disconnectin classWorld- Mappings:
Namespace Name Mixin selector official TLaxy;T()Vintermediary method_3577Lnet/minecraft/class_1150;method_3577()Vnamed disconnectLnet/minecraft/world/World;disconnect()V
-
tickWeather
protected void tickWeather()- Overrides:
tickWeatherin classWorld- Mappings:
Namespace Name Mixin selector official wLaxy;w()Vintermediary method_3722Lnet/minecraft/class_1150;method_3722()Vnamed tickWeatherLnet/minecraft/world/World;tickWeather()V
-
method_3605
- Overrides:
method_3605in classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(IILbnj;)Vintermediary method_3605Lnet/minecraft/class_1150;method_3605(IILnet/minecraft/class_1196;)Vnamed method_3605Lnet/minecraft/world/World;method_3605(IILnet/minecraft/world/chunk/Chunk;)V
-
method_1248
public void method_1248(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official aLcrg;a(III)Vintermediary method_1248Lnet/minecraft/class_478;method_1248(III)Vnamed method_1248Lnet/minecraft/client/world/ClientWorld;method_1248(III)V
-
method_12238
public void method_12238(int int2, int int3, int int4, int int5, Random random, boolean bool, BlockPos.Mutable mutable) - Mappings:
Namespace Name Mixin selector official aLcrg;a(IIIILjava/util/Random;ZLel$a;)Vintermediary method_12238Lnet/minecraft/class_478;method_12238(IIIILjava/util/Random;ZLnet/minecraft/class_2552$class_2553;)Vnamed method_12238Lnet/minecraft/client/world/ClientWorld;method_12238(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;)V
-
method_18971
private void method_18971(BlockPos blockPos, BlockState blockState, ParticleEffect particleEffect, boolean bool) - Mappings:
Namespace Name Mixin selector official aLcrg;a(Lel;Lblc;Lfk;Z)Vintermediary method_18971Lnet/minecraft/class_478;method_18971(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4340;Z)Vnamed method_18971Lnet/minecraft/client/world/ClientWorld;method_18971(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/particle/ParticleEffect;Z)V
-
method_18972
private void method_18972(BlockPos blockPos, ParticleEffect particleEffect, VoxelShape voxelShape, double double2) - Mappings:
Namespace Name Mixin selector official aLcrg;a(Lel;Lfk;Lcew;D)Vintermediary method_18972Lnet/minecraft/class_478;method_18972(Lnet/minecraft/class_2552;Lnet/minecraft/class_4340;Lnet/minecraft/class_4100;D)Vnamed method_18972Lnet/minecraft/client/world/ClientWorld;method_18972(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/shapes/VoxelShape;D)V
-
method_18970
private void method_18970(double double2, double double3, double double4, double double5, double double6, ParticleEffect particleEffect) - Mappings:
Namespace Name Mixin selector official aLcrg;a(DDDDDLfk;)Vintermediary method_18970Lnet/minecraft/class_478;method_18970(DDDDDLnet/minecraft/class_4340;)Vnamed method_18970Lnet/minecraft/client/world/ClientWorld;method_18970(DDDDDLnet/minecraft/particle/ParticleEffect;)V
-
method_1249
public void method_1249()- Mappings:
Namespace Name Mixin selector official bLcrg;b()Vintermediary method_1249Lnet/minecraft/class_478;method_1249()Vnamed method_1249Lnet/minecraft/client/world/ClientWorld;method_1249()V
-
addToCrashReport
- Overrides:
addToCrashReportin classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(Lb;)Lc;intermediary method_4684Lnet/minecraft/class_1150;method_4684(Lnet/minecraft/class_1;)Lnet/minecraft/class_1392;named addToCrashReportLnet/minecraft/world/World;addToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
-
playSound
public void playSound(@Nullable PlayerEntity playerEntity, double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3) - Overrides:
playSoundin classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(Laog;DDDLwi;Lwk;FF)Vintermediary method_11485Lnet/minecraft/class_1150;method_11485(Lnet/minecraft/class_988;DDDLnet/minecraft/class_2926;Lnet/minecraft/class_2153;FF)Vnamed playSoundLnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FF)V
-
method_9669
public void method_9669(BlockPos blockPos, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool) - Mappings:
Namespace Name Mixin selector official aLcrg;a(Lel;Lwi;Lwk;FFZ)Vintermediary method_9669Lnet/minecraft/class_478;method_9669(Lnet/minecraft/class_2552;Lnet/minecraft/class_2926;Lnet/minecraft/class_2153;FFZ)Vnamed method_9669Lnet/minecraft/client/world/ClientWorld;method_9669(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FFZ)V
-
playSound
public void playSound(double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool) - Overrides:
playSoundin classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(DDDLwi;Lwk;FFZ)Vintermediary method_3648Lnet/minecraft/class_1150;method_3648(DDDLnet/minecraft/class_2926;Lnet/minecraft/class_2153;FFZ)Vnamed playSoundLnet/minecraft/world/World;playSound(DDDLnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FFZ)V
-
addFireworkParticle
public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt) - Overrides:
addFireworkParticlein classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(DDDDDDLgy;)Vintermediary method_4681Lnet/minecraft/class_1150;method_4681(DDDDDDLnet/minecraft/class_322;)Vnamed addFireworkParticleLnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/NbtCompound;)V
-
method_11483
- Overrides:
method_11483in classWorld- Mappings:
Namespace Name Mixin selector official aLaxy;a(Liv;)Vintermediary method_11483Lnet/minecraft/class_1150;method_11483(Lnet/minecraft/class_700;)Vnamed method_11483Lnet/minecraft/world/World;method_11483(Lnet/minecraft/network/Packet;)V
-
method_16313
- Specified by:
method_16313in classWorld- Mappings:
Namespace Name Mixin selector official ELaxy;E()Lavl;intermediary method_16313Lnet/minecraft/class_1150;method_16313()Lnet/minecraft/class_1112;named method_16313Lnet/minecraft/world/World;method_16313()Lnet/minecraft/recipe/RecipeDispatcher;
-
setScoreboard
- Mappings:
Namespace Name Mixin selector official aLcrg;a(Lcfc;)Vintermediary method_5131Lnet/minecraft/class_478;method_5131(Lnet/minecraft/class_1471;)Vnamed setScoreboardLnet/minecraft/client/world/ClientWorld;setScoreboard(Lnet/minecraft/scoreboard/Scoreboard;)V
-
setTimeOfDay
public void setTimeOfDay(long time) - Overrides:
setTimeOfDayin classWorld- Mappings:
Namespace Name Mixin selector official bLaxy;b(J)Vintermediary method_3657Lnet/minecraft/class_1150;method_3657(J)Vnamed setTimeOfDayLnet/minecraft/world/World;setTimeOfDay(J)V
-
getBlockTickScheduler
- Mappings:
Namespace Name Mixin selector official JLaxz;J()Layo;intermediary method_16341Lnet/minecraft/class_3598;method_16341()Lnet/minecraft/class_3604;named getBlockTickSchedulerLnet/minecraft/world/IWorld;getBlockTickScheduler()Lnet/minecraft/class_3604;
-
method_16340
- Mappings:
Namespace Name Mixin selector official ILaxz;I()Layo;intermediary method_16340Lnet/minecraft/class_3598;method_16340()Lnet/minecraft/class_3604;named method_16340Lnet/minecraft/world/IWorld;method_16340()Lnet/minecraft/class_3604;
-
method_3586
- Mappings:
Namespace Name Mixin selector official iLcrg;i()Lcrb;intermediary method_12239Lnet/minecraft/class_478;method_12239()Lnet/minecraft/class_476;named method_3586Lnet/minecraft/client/world/ClientWorld;method_3586()Lnet/minecraft/world/chunk/ClientChunkProvider;
-
getScoreboard
- Specified by:
getScoreboardin classWorld- Mappings:
Namespace Name Mixin selector official GLaxy;G()Lcfc;intermediary method_4711Lnet/minecraft/class_1150;method_4711()Lnet/minecraft/class_1471;named getScoreboardLnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
method_16314
- Specified by:
method_16314in classWorld- Mappings:
Namespace Name Mixin selector official FLaxy;F()Lxb;intermediary method_16314Lnet/minecraft/class_1150;method_16314()Lnet/minecraft/class_4488;named method_16314Lnet/minecraft/world/World;method_16314()Lnet/minecraft/class_4488;
-