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 cenintermediary net/minecraft/class_478named net/minecraft/client/world/ClientWorld
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate ClientChunkProviderprivate ClientPlayNetworkHandlerprivate final Setprivate final Setprivate final SetFields inherited from class net.minecraft.world.World
blockEntities, chunkProvider, dimension, entities, eventListeners, field_4523, field_4530, 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 intvoidmethod_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 voidonEntityRemoved(Entity entity) protected voidonEntitySpawned(Entity entity) voidvoidremoveEntity(int int2) voidremoveEntity(Entity entity) booleansetBlockStateWithoutNeighborUpdates(BlockPos blockPos, BlockState blockState) 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, canBlockBePlaced, canPlayerModifyAt, checkChunk, containsBlockWithMaterial, containsFireSource, containsFluid, containsMaterial, createExplosion, createExplosion, doesBoxCollide, extinguishFire, getAmbientDarkness, getBiome, getBiomeSource, getBlockAt, getBlockEntity, getBlockState, getBrightness, getCalenderInstance, getChunk, getChunk, getChunkProvider, getClosestPlayer, 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, getNearestStructurePos, getPlayerByName, getPlayerByUuid, getRainGradient, getReceivedRedstonePower, getReceivedStrongRedstonePower, getSaveHandler, getScoreboard, getSeed, getSkyAngle, getSkyAngleRadians, getSpawnPos, getStrongRedstonePower, getStructureRandom, getThunderGradient, getTimeOfDay, getTopPosition, getVillageState, getWorld, getWorldBorder, hasDirectSunlight, hasEntityIn, hasEntityIn, hasHighHumidity, hasRain, hasScheduledTick, initWeatherGradients, isAir, isBoxNotEmpty, isChunkLoaded, isChunkLoaded, isDay, isEmittingRedstonePower, isEmpty, isInsideWorld, isLoaded, isOpaque, isPlayerInRange, isRaining, isReceivingRedstonePower, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isThundering, loadEntity, markDirty, method_3597, method_3599, method_3605, method_3608, 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_4682, method_4689, method_4690, method_8485, method_8491, method_8506, method_8514, method_8521, method_8522, method_8531, method_8536, method_8537, method_8539, method_8543, method_8545, method_8550, method_8552, method_8557, method_8558, method_8559, method_8562, method_8565, method_8566, method_8567, method_8568, neighbourUpdate, onBlockUpdate, onLightUpdate, onRenderRegionUpdate, onRenderRegionUpdate, playMusicDisc, playSound, playSound, playSound, queueBlockEntity, rayTrace, rayTrace, rayTrace, readSaveLock, recievesSunlight, removeBlock, removeBlockEntity, removeListener, renderAsNormalBlock, scheduleTick, sendEntityStatus, setAir, setAmbientDarkness, setBlockBreakingInfo, setBlockEntity, setBlockState, setDefaultSpawnClient, setItemData, setPropertiesInitialized, setRainGradient, setSpawnPos, setThunderGradient, setTime, syncGlobalEvent, syncWorldEvent, tickEntities, unloadEntities, updateHorizontalAdjacent, updateLighting, updateNeighborsAlways, updateNeighborsExcept
-
Field Details
-
clientNetHandler
- Mappings:
Namespace Name Mixin selector official aLcen;a:Lcee;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 bLcen;b:Lcel;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 cLcen;c: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 dLcen;d: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 ILcen;I:Lbsu;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 JLcen;J: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;
-
-
Constructor Details
-
ClientWorld
public ClientWorld(ClientPlayNetworkHandler netHandler, LevelInfo levelInfo, int dimensionId, Difficulty difficulty, Profiler profiler) - Mappings:
Namespace Name Mixin selector official <init>Lcen;<init>(Lcee;Larb;ILvt;Luw;)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 aLcen;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 kLaqu;k()Lbfe;intermediary method_3712Lnet/minecraft/class_1150;method_3712()Lnet/minecraft/class_1193;named getChunkCacheLnet/minecraft/world/World;getChunkCache()Lnet/minecraft/world/chunk/ChunkProvider;
-
tickBlocks
protected void tickBlocks()- Overrides:
tickBlocksin classWorld- Mappings:
Namespace Name Mixin selector official hLaqu;h()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 bLcen;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 dLaqu;d(Lwv;)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 eLaqu;e(Lwv;)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 aLaqu;a(Lwv;)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 bLaqu;b(Lwv;)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 aLcen;a(ILwv;)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 aLaqu;a(I)Lwv;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 dLcen;d(I)Lwv;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
- Mappings:
Namespace Name Mixin selector official bLcen;b(Ldt;Lbec;)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 HLaqu;H()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 pLaqu;p()Vintermediary method_3722Lnet/minecraft/class_1150;method_3722()Vnamed tickWeatherLnet/minecraft/world/World;tickWeather()V
-
getNextMapId
protected int getNextMapId()- Specified by:
getNextMapIdin classWorld- Mappings:
Namespace Name Mixin selector official qLaqu;q()Iintermediary method_6411Lnet/minecraft/class_1150;method_6411()Inamed getNextMapIdLnet/minecraft/world/World;getNextMapId()I
-
method_1248
public void method_1248(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official bLcen;b(III)Vintermediary method_1248Lnet/minecraft/class_478;method_1248(III)Vnamed method_1248Lnet/minecraft/client/world/ClientWorld;method_1248(III)V
-
method_1249
public void method_1249()- Mappings:
Namespace Name Mixin selector official aLcen;a()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 aLaqu;a(Lb;)Lj;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
- Mappings:
Namespace Name Mixin selector official aLcen;a(Ldt;Ljava/lang/String;FFZ)Vintermediary method_9669Lnet/minecraft/class_478;method_9669(Lnet/minecraft/class_2552;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, NbtCompound nbt) - Overrides:
addFireworkParticlein classWorld- Mappings:
Namespace Name Mixin selector official aLaqu;a(DDDDDDLfn;)Vintermediary method_4681Lnet/minecraft/class_1150;method_4681(DDDDDDLnet/minecraft/class_322;)Vnamed addFireworkParticleLnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/NbtCompound;)V
-
setScoreboard
- Mappings:
Namespace Name Mixin selector official aLcen;a(Lbsd;)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 bLaqu;b(J)Vintermediary method_3657Lnet/minecraft/class_1150;method_3657(J)Vnamed setTimeOfDayLnet/minecraft/world/World;setTimeOfDay(J)V
-