Package net.minecraft.client.world
Class ClientWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.client.world.ClientWorld
- All Implemented Interfaces:
WorldView
@Environment(CLIENT) public class ClientWorld extends World
- Mappings:
Namespace Name official bdbintermediary net/minecraft/class_907named net/minecraft/client/world/ClientWorld
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClientclientprivate ClientChunkCacheclientChunkCacheprivate ClientPlayNetworkHandlerclientNetHandlerprivate Set<ChunkPos>field_3999private Set<Entity>field_4003private Set<Entity>worldFields inherited from class net.minecraft.world.World
blockEntities, chunkProvider, dimension, entities, eventListeners, field_253, field_254, field_255, field_287, field_288, idToEntity, immediateUpdates, isClient, lcgBlockSeed, levelProperties, loadedEntities, playerEntities, profiler, rainGradient, rainGradientPrev, random, saveHandler, scoreboard, thunderGradient, thunderGradientPrev, tickingBlockEntities, unloadedEntities, unusedIncrement, villageState -
Constructor Summary
Constructors Constructor Description ClientWorld(ClientPlayNetworkHandler netHandler, LevelInfo levelInfo, int dimensionId, Difficulty difficulty, Profiler profiler) -
Method Summary
Modifier and Type Method Description voidaddEntity(int id, Entity entity)voidaddFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, CompoundTag tag)CrashReportSectionaddToCrashReport(CrashReport report)voiddisconnect()protected ChunkProvidergetClientChunkCache()EntitygetEntityById(int int2)protected intgetNextMapId()voidmethod_3155()voidmethod_3156(int int2, int int3, int int4, int int5, int int6, int int7)voidmethod_3161(int int2, int int3, int int4)voidmethod_3162(int int2, int int3, boolean bool)protected voidonEntityRemoved(Entity entity)protected voidonEntitySpawned(Entity entity)voidplaySound(double x, double y, double z, String sound, float volume, float pitch, boolean bool)voidplaySound(BlockPos pos, String sound, float volume, float pitch, boolean bool)EntityremoveEntity(int int2)voidremoveEntity(Entity entity)booleansetBlockStateWithoutNeighborUpdates(BlockPos blockPos, BlockState blockState)voidsetScoreboard(Scoreboard sb)voidsetTimeOfDay(long time)booleanspawnEntity(Entity entity)voidtick()protected voidtickBlocks()protected voidtickWeather()Methods inherited from class net.minecraft.world.World
addBlockAction, addBlockEntities, addBlockEntity, addDetailsToCrashReport, addEntity, addListener, addParticle, addParticle, blockExists, calculateAmbientDarkness, canBlockBePlaced, canPlayerModifyAt, containsBlockWithMaterial, createExplosion, createExplosion, doesAreaContainFireSource, doesBoxCollide, extinguishFire, getAmbientDarkness, getBiomeAt, getBlockAt, getBlockEntity, getBlockState, getCalenderInstance, getChunk, getChunk, getChunkProvider, getClosestPlayer, getClosestPlayer, getDebugString, getDimensionBiomeSource, getEffectiveHeight, getEmittedRedstonePower, getEntitiesIn, getEntitiesIn, getEntitiesInBox, getEntitiesInBox, getGameRules, getGeneratorType, getGlobalDifficulty, getHorizonHeight, getLastUpdateTime, getLevelProperties, getLight, getLightAtPos, getLocalDifficulty, getLuminance, getMaxBuildHeight, getMoonPhase, getNearestStructurePos, getPlayerByUuid, getRainGradient, getReceivedRedstonePower, getReceivedStrongRedstonePower, getSaveHandler, getScoreboard, getSeaLevel, getSeed, getSkyAngleRadians, getSpawnPos, getStrongRedstonePower, getThunderGradient, getTimeOfDay, getVillageState, getWorld, getWorldBorder, hasDirectSunlight, hasEntityIn, hasEntityIn, hasHighHumidity, hasRain, initWeatherGradients, isAir, isChunkLoaded, isDay, isEmittingRedstonePower, isInsideWorld, isLoaded, isOpaque, isRaining, isReceivingRedstonePower, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSaved, isThundering, loadEntity, markDirty, method_241, method_246, method_257, method_267, method_270, method_271, method_273, method_275, method_282, method_283, method_287, method_289, method_290, method_291, method_292, method_294, method_296, method_303, method_304, method_305, method_316, method_319, method_320, method_321, method_322, method_331, method_335, method_340, method_341, method_344, method_345, method_349, method_350, method_352, method_358, method_362, method_363, method_368, method_369, method_370, method_375, method_377, method_379, method_380, method_385, method_386, method_388, method_390, method_391, method_395, method_399, method_401, method_403, method_404, method_406, method_408, method_420, method_421, method_422, method_424, method_427, method_428, method_430, method_432, method_434, method_435, method_436, neighbourUpdate, onBlockUpdate, onLightUpdate, onRenderRegionUpdate, onRenderRegionUpdate, playMusicDisc, playSound, playSound, playSound, raycast, rayTrace, recievesSunlight, removeBlock, removeBlockEntity, removeListener, renderAsNormalBlock, sendEntityStatus, setAir, setAmbientDarkness, setBlockBreakingInfo, setBlockEntity, setBlockState, setBlockState, setDefaultSpawnClient, setItemData, setPropertiesInitialized, setRainGradient, setSeaLevel, setSpawnPos, setThunderGradient, setTime, syncGlobalEvent, syncWorldEvent, tickEntities, updateHorizontalAdjacent, updateLighting, updateNeighborsAlways, updateNeighborsExcept
-
Field Details
-
clientNetHandler
- Mappings:
Namespace Name Mixin selector official aLbdb;a:Lbcy;intermediary field_4000Lnet/minecraft/class_907;field_4000:Lnet/minecraft/class_903;named clientNetHandlerLnet/minecraft/client/world/ClientWorld;clientNetHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
clientChunkCache
- Mappings:
Namespace Name Mixin selector official bLbdb;b:Lbcz;intermediary field_4001Lnet/minecraft/class_907;field_4001:Lnet/minecraft/class_904;named clientChunkCacheLnet/minecraft/client/world/ClientWorld;clientChunkCache:Lnet/minecraft/world/chunk/ClientChunkCache;
-
world
- Mappings:
Namespace Name Mixin selector official cLbdb;c:Ljava/util/Set;intermediary field_4002Lnet/minecraft/class_907;field_4002:Ljava/util/Set;named worldLnet/minecraft/client/world/ClientWorld;world:Ljava/util/Set;
-
field_4003
- Mappings:
Namespace Name Mixin selector official dLbdb;d:Ljava/util/Set;intermediary field_4003Lnet/minecraft/class_907;field_4003:Ljava/util/Set;named field_4003Lnet/minecraft/client/world/ClientWorld;field_4003:Ljava/util/Set;
-
client
- Mappings:
Namespace Name Mixin selector official ILbdb;I:Lave;intermediary field_3998Lnet/minecraft/class_907;field_3998:Lnet/minecraft/class_669;named clientLnet/minecraft/client/world/ClientWorld;client:Lnet/minecraft/client/MinecraftClient;
-
field_3999
- Mappings:
Namespace Name Mixin selector official JLbdb;J:Ljava/util/Set;intermediary field_3999Lnet/minecraft/class_907;field_3999:Ljava/util/Set;named field_3999Lnet/minecraft/client/world/ClientWorld;field_3999:Ljava/util/Set;
-
-
Constructor Details
-
ClientWorld
public ClientWorld(ClientPlayNetworkHandler netHandler, LevelInfo levelInfo, int dimensionId, Difficulty difficulty, Profiler profiler)- Mappings:
Namespace Name Mixin selector official <init>Lbdb;<init>(Lbcy;Ladp;ILoj;Lnt;)Vintermediary <init>Lnet/minecraft/class_907;<init>(Lnet/minecraft/class_903;Lnet/minecraft/class_102;ILnet/minecraft/class_1721;Lnet/minecraft/class_1705;)Vnamed <init>Lnet/minecraft/client/world/ClientWorld;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/world/level/LevelInfo;ILnet/minecraft/world/Difficulty;Lnet/minecraft/util/profiler/Profiler;)V
-
-
Method Details
-
tick
public void tick() -
method_3156
public void method_3156(int int2, int int3, int int4, int int5, int int6, int int7)- Mappings:
Namespace Name Mixin selector official aLbdb;a(IIIIII)Vintermediary method_3156Lnet/minecraft/class_907;method_3156(IIIIII)Vnamed method_3156Lnet/minecraft/client/world/ClientWorld;method_3156(IIIIII)V
-
getClientChunkCache
- Specified by:
getClientChunkCachein classWorld- Mappings:
Namespace Name Mixin selector official kLadm;k()Lamv;intermediary method_418Lnet/minecraft/class_99;method_418()Lnet/minecraft/class_396;named getClientChunkCacheLnet/minecraft/world/World;getClientChunkCache()Lnet/minecraft/world/chunk/ChunkProvider;
-
tickBlocks
protected void tickBlocks()- Overrides:
tickBlocksin classWorld- Mappings:
Namespace Name Mixin selector official hLadm;h()Vintermediary method_409Lnet/minecraft/class_99;method_409()Vnamed tickBlocksLnet/minecraft/world/World;tickBlocks()V
-
method_3162
public void method_3162(int int2, int int3, boolean bool)- Mappings:
Namespace Name Mixin selector official bLbdb;b(IIZ)Vintermediary method_3162Lnet/minecraft/class_907;method_3162(IIZ)Vnamed method_3162Lnet/minecraft/client/world/ClientWorld;method_3162(IIZ)V
-
spawnEntity
- Overrides:
spawnEntityin classWorld- Mappings:
Namespace Name Mixin selector official dLadm;d(Lpk;)Zintermediary method_394Lnet/minecraft/class_99;method_394(Lnet/minecraft/class_1745;)Znamed spawnEntityLnet/minecraft/world/World;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
removeEntity
- Overrides:
removeEntityin classWorld- Mappings:
Namespace Name Mixin selector official eLadm;e(Lpk;)Vintermediary method_400Lnet/minecraft/class_99;method_400(Lnet/minecraft/class_1745;)Vnamed removeEntityLnet/minecraft/world/World;removeEntity(Lnet/minecraft/entity/Entity;)V
-
onEntitySpawned
- Overrides:
onEntitySpawnedin classWorld- Mappings:
Namespace Name Mixin selector official aLadm;a(Lpk;)Vintermediary method_326Lnet/minecraft/class_99;method_326(Lnet/minecraft/class_1745;)Vnamed onEntitySpawnedLnet/minecraft/world/World;onEntitySpawned(Lnet/minecraft/entity/Entity;)V
-
onEntityRemoved
- Overrides:
onEntityRemovedin classWorld- Mappings:
Namespace Name Mixin selector official bLadm;b(Lpk;)Vintermediary method_372Lnet/minecraft/class_99;method_372(Lnet/minecraft/class_1745;)Vnamed onEntityRemovedLnet/minecraft/world/World;onEntityRemoved(Lnet/minecraft/entity/Entity;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector official aLbdb;a(ILpk;)Vintermediary method_3157Lnet/minecraft/class_907;method_3157(ILnet/minecraft/class_1745;)Vnamed addEntityLnet/minecraft/client/world/ClientWorld;addEntity(ILnet/minecraft/entity/Entity;)V
-
getEntityById
- Overrides:
getEntityByIdin classWorld- Mappings:
Namespace Name Mixin selector official aLadm;a(I)Lpk;intermediary method_268Lnet/minecraft/class_99;method_268(I)Lnet/minecraft/class_1745;named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
removeEntity
- Mappings:
Namespace Name Mixin selector official eLbdb;e(I)Lpk;intermediary method_3166Lnet/minecraft/class_907;method_3166(I)Lnet/minecraft/class_1745;named removeEntityLnet/minecraft/client/world/ClientWorld;removeEntity(I)Lnet/minecraft/entity/Entity;
-
setBlockStateWithoutNeighborUpdates
- Mappings:
Namespace Name Mixin selector official bLbdb;b(Lcj;Lalz;)Zintermediary method_3164Lnet/minecraft/class_907;method_3164(Lnet/minecraft/class_1372;Lnet/minecraft/class_376;)Znamed setBlockStateWithoutNeighborUpdatesLnet/minecraft/client/world/ClientWorld;setBlockStateWithoutNeighborUpdates(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
disconnect
public void disconnect()- Overrides:
disconnectin classWorld- Mappings:
Namespace Name Mixin selector official HLadm;H()Vintermediary method_245Lnet/minecraft/class_99;method_245()Vnamed disconnectLnet/minecraft/world/World;disconnect()V
-
tickWeather
protected void tickWeather()- Overrides:
tickWeatherin classWorld- Mappings:
Namespace Name Mixin selector official pLadm;p()Vintermediary method_425Lnet/minecraft/class_99;method_425()Vnamed tickWeatherLnet/minecraft/world/World;tickWeather()V
-
getNextMapId
protected int getNextMapId()- Specified by:
getNextMapIdin classWorld- Mappings:
Namespace Name Mixin selector official qLadm;q()Iintermediary method_426Lnet/minecraft/class_99;method_426()Inamed getNextMapIdLnet/minecraft/world/World;getNextMapId()I
-
method_3161
public void method_3161(int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official bLbdb;b(III)Vintermediary method_3161Lnet/minecraft/class_907;method_3161(III)Vnamed method_3161Lnet/minecraft/client/world/ClientWorld;method_3161(III)V
-
method_3155
public void method_3155()- Mappings:
Namespace Name Mixin selector official aLbdb;a()Vintermediary method_3155Lnet/minecraft/class_907;method_3155()Vnamed method_3155Lnet/minecraft/client/world/ClientWorld;method_3155()V
-
addToCrashReport
- Overrides:
addToCrashReportin classWorld- Mappings:
Namespace Name Mixin selector official aLadm;a(Lb;)Lc;intermediary method_298Lnet/minecraft/class_99;method_298(Lnet/minecraft/class_825;)Lnet/minecraft/class_1364;named addToCrashReportLnet/minecraft/world/World;addToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
-
playSound
- Mappings:
Namespace Name Mixin selector official aLbdb;a(Lcj;Ljava/lang/String;FFZ)Vintermediary method_3160Lnet/minecraft/class_907;method_3160(Lnet/minecraft/class_1372;Ljava/lang/String;FFZ)Vnamed playSoundLnet/minecraft/client/world/ClientWorld;playSound(Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;FFZ)V
-
playSound
public void playSound(double x, double y, double z, String sound, float volume, float pitch, boolean bool) -
addFireworkParticle
public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, CompoundTag tag)- Overrides:
addFireworkParticlein classWorld- Mappings:
Namespace Name Mixin selector official aLadm;a(DDDDDDLdn;)Vintermediary method_264Lnet/minecraft/class_99;method_264(DDDDDDLnet/minecraft/class_1405;)Vnamed addFireworkParticleLnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/CompoundTag;)V
-
setScoreboard
- Mappings:
Namespace Name Mixin selector official aLbdb;a(Lauo;)Vintermediary method_3158Lnet/minecraft/class_907;method_3158(Lnet/minecraft/class_653;)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 bLadm;b(J)Vintermediary method_355Lnet/minecraft/class_99;method_355(J)Vnamed setTimeOfDayLnet/minecraft/world/World;setTimeOfDay(J)V
-