Package net.minecraft.client.world
Class ClientWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.client.world.ClientWorld
- All Implemented Interfaces:
BlockView
- Mappings:
Namespace Name official bnqintermediary net/minecraft/class_478named net/minecraft/client/world/ClientWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate ClientChunkProviderprivate final ClientPlayNetworkHandlerprivate intFields inherited from class net.minecraft.world.World
blockEntities, chunkProvider, dimension, entities, eventListeners, field_12435, field_12436, field_4523, idToEntity, immediateUpdates, isClient, lcgBlockSeed, levelProperties, loadedEntities, persistentStateManager, playerEntities, profiler, rainGradient, rainGradientPrev, random, saveHandler, scoreboard, spawnAnimals, spawnMonsters, thunderGradient, thunderGradientPrev, tickingBlockEntities, unloadedEntities, unusedIncrement, villageState -
Constructor Summary
ConstructorsConstructorDescriptionClientWorld(ClientPlayNetworkHandler netHandler, LevelInfo levelInfo, int dimensionId, 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) protected booleanisChunkLoaded(int chunkX, int chunkZ, boolean canBeEmpty) 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_1251(int int2, int int3, int int4, int int5, int int6, int int7) voidmethod_1252(int int2, int int3, boolean bool) protected voidmethod_3605(int int2, int int3, Chunk chunk) 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) booleansetBlockStateWithoutNeighborUpdates(BlockPos blockPos, BlockState blockState) Deprecated.voidvoidsetTimeOfDay(long time) booleanspawnEntity(Entity entity) voidtick()protected voidprotected voidMethods inherited from class net.minecraft.world.World
addBlockAction, addBlockEntities, addBlockEntity, addBlockTick, addDetailsToCrashReport, addEntity, addListener, addParticle, addParticle, blockExists, calculateAmbientDarkness, canPlayerModifyAt, checkChunk, containsFireSource, containsFluid, containsMaterial, createExplosion, createExplosion, doesBoxCollide, extinguishFire, getAmbientDarkness, getBiome, getBlockEntity, getBlockState, getBrightness, getCalenderInstance, getChunk, getChunk, getClosestPlayer, getCloudColor, getDebugString, getEffectiveHeight, getEmittedRedstonePower, getEntities, getEntities, getEntitiesByClass, getEntitiesIn, getEntitiesIn, getEntitiesInBox, getEntitiesInBox, getFogColor, getGameRules, getGeneratorType, getGlobalDifficulty, getHorizonHeight, getLastUpdateTime, getLevelProperties, getLight, getLightAtPos, getLoadedEntities, getLocalDifficulty, getLuminance, getMaxBuildHeight, getMoonPhase, getMoonSize, getPlayerByName, getPlayerByUuid, getRainGradient, getReceivedRedstonePower, getReceivedStrongRedstonePower, getSaveHandler, getScoreboard, getSeaLevel, getSeed, getServer, getSkyAngle, getSkyAngleRadians, getSpawnPos, getStrongRedstonePower, getStructureRandom, getThunderGradient, getTimeOfDay, getTopPosition, getVillageState, getWorld, getWorldBorder, hasDirectSunlight, hasEntityIn, hasEntityIn, hasHighHumidity, hasRain, hasScheduledTick, initWeatherGradients, isAir, isBoxNotEmpty, isChunkLoaded, isDay, isEmittingRedstonePower, isLoaded, isPlayerInRange, isRaining, isReceivingRedstonePower, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isThundering, loadEntity, markDirty, method_11477, method_11478, method_11480, method_11481, method_11482, method_11484, method_11486, method_11487, method_11488, method_11489, method_11490, method_11491, method_11492, method_13313, method_13686, method_13687, method_13688, method_13690, method_13691, method_13692, method_13693, method_13694, method_3597, method_3599, method_3610, method_3612, method_3616, method_3619, method_3631, method_3644, method_3645, method_3649, method_3660, method_3669, method_3700, method_3704, method_3705, method_3707, method_3726, method_4682, method_4689, method_4690, method_8485, method_8491, method_8493, method_8506, method_8509, method_8514, method_8521, method_8531, method_8536, method_8537, method_8539, method_8540, method_8543, method_8545, method_8546, method_8550, method_8552, method_8557, method_8558, method_8559, method_8562, method_8566, method_8567, method_8568, onLightUpdate, onRenderRegionUpdate, onRenderRegionUpdate, queueBlockEntity, rayTrace, rayTrace, rayTrace, readSaveLock, recievesSunlight, removeBlock, removeBlockEntity, removeListener, renderAsNormalBlock, sendEntityStatus, setAir, setAmbientDarkness, setBlockBreakingInfo, setBlockEntity, setBlockState, setDefaultSpawnClient, setItemData, setPropertiesInitialized, setRainGradient, setSeaLevel, setSpawnPos, setThunderGradient, setTime, syncGlobalEvent, syncWorldEvent, tickEntities, unloadEntities, updateHorizontalAdjacent, updateNeighborsExcept
-
Field Details
-
clientNetHandler
- Mappings:
Namespace Name Mixin selector official bLbnq;b:Lbno;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 cLbnq;c:Lbnm;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 ILbnq;I: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 JLbnq;J: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 KLbnq;K:Lbes;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 LLbnq;L: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 MLbnq;M: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 aLbnq;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;
-
-
Constructor Details
-
ClientWorld
public ClientWorld(ClientPlayNetworkHandler netHandler, LevelInfo levelInfo, int dimensionId, Difficulty difficulty, Profiler profiler) - Mappings:
Namespace Name Mixin selector official <init>Lbnq;<init>(Lbno;Lajv;ILrg;Lou;)Vintermediary <init>Lnet/minecraft/class_478;<init>(Lnet/minecraft/class_1845;Lnet/minecraft/class_1156;ILnet/minecraft/class_2151;Lnet/minecraft/class_839;)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_1251
public void method_1251(int int2, int int3, int int4, int int5, int int6, int int7) - Mappings:
Namespace Name Mixin selector official aLbnq;a(IIIIII)Vintermediary method_1251Lnet/minecraft/class_478;method_1251(IIIIII)Vnamed method_1251Lnet/minecraft/client/world/ClientWorld;method_1251(IIIIII)V
-
getChunkCache
- Specified by:
getChunkCachein classWorld- Mappings:
Namespace Name Mixin selector official nLajs;n()Lauj;intermediary method_3712Lnet/minecraft/class_1150;method_3712()Lnet/minecraft/class_1193;named getChunkCacheLnet/minecraft/world/World;getChunkCache()Lnet/minecraft/world/chunk/ChunkProvider;
-
isChunkLoaded
protected boolean isChunkLoaded(int chunkX, int chunkZ, boolean canBeEmpty) - Specified by:
isChunkLoadedin classWorld- Mappings:
Namespace Name Mixin selector official aLajs;a(IIZ)Zintermediary method_8487Lnet/minecraft/class_1150;method_8487(IIZ)Znamed isChunkLoadedLnet/minecraft/world/World;isChunkLoaded(IIZ)Z
-
method_12237
protected void method_12237()- Mappings:
Namespace Name Mixin selector official aLbnq;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 jLajs;j()Vintermediary method_3701Lnet/minecraft/class_1150;method_3701()Vnamed tickBlocksLnet/minecraft/world/World;tickBlocks()V
-
method_1252
public void method_1252(int int2, int int3, boolean bool) - Mappings:
Namespace Name Mixin selector official bLbnq;b(IIZ)Vintermediary method_1252Lnet/minecraft/class_478;method_1252(IIZ)Vnamed method_1252Lnet/minecraft/client/world/ClientWorld;method_1252(IIZ)V
-
spawnEntity
- Overrides:
spawnEntityin classWorld- Mappings:
Namespace Name Mixin selector official aLajs;a(Lsn;)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 eLajs;e(Lsn;)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 bLajs;b(Lsn;)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 cLajs;c(Lsn;)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 aLbnq;a(ILsn;)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 aLajs;a(I)Lsn;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 eLbnq;e(I)Lsn;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;
-
setBlockStateWithoutNeighborUpdates
@Deprecated public boolean setBlockStateWithoutNeighborUpdates(BlockPos blockPos, BlockState blockState) Deprecated.- Mappings:
Namespace Name Mixin selector official bLbnq;b(Lco;Latl;)Zintermediary method_9670Lnet/minecraft/class_478;method_9670(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)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 MLajs;M()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 tLajs;t()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 aLajs;a(IILauo;)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 bLbnq;b(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 aLbnq;a(IIIILjava/util/Random;ZLco$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_1249
public void method_1249()- Mappings:
Namespace Name Mixin selector official cLbnq;c()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 aLajs;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 aLajs;a(Laay;DDDLnm;Lno;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 aLbnq;a(Lco;Lnm;Lno;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 aLajs;a(DDDLnm;Lno;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 aLajs;a(DDDDDDLdu;)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 aLajs;a(Lfm;)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
-
setScoreboard
- Mappings:
Namespace Name Mixin selector official aLbnq;a(Lbec;)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 bLajs;b(J)Vintermediary method_3657Lnet/minecraft/class_1150;method_3657(J)Vnamed setTimeOfDayLnet/minecraft/world/World;setTimeOfDay(J)V
-
getChunkProvider
- Overrides:
getChunkProviderin classWorld- Mappings:
Namespace Name Mixin selector official fLbnq;f()Lbnm;intermediary method_12239Lnet/minecraft/class_478;method_12239()Lnet/minecraft/class_476;named getChunkProviderLnet/minecraft/client/world/ClientWorld;getChunkProvider()Lnet/minecraft/world/chunk/ClientChunkProvider;
-