Package net.minecraft.world
Class ClientWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.world.ClientWorld
- All Implemented Interfaces:
BlockView
- Mappings:
Namespace Name intermediary net/minecraft/class_454glue class_487server net/minecraft/class_454client mmnamed net/minecraft/world/ClientWorld
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LinkedListprivate MultiplayerChunkCacheprivate IntHashMapprivate Setprivate ClientNetworkHandlerprivate SetFields inherited from class net.minecraft.world.World
ambientDarkness, blockEntities, chunkSource, difficulty, dimension, entities, eventListeners, eventProcessingEnabled, globalEntities, instantBlockUpdateEnabled, isRemote, lcgBlockSeed, lcgBlockSeedIncrement, lightingQueueCount, lightningTicksLeft, newWorld, pauseTicking, persistentStateManager, players, properties, rainGradient, rainGradientPrev, random, saveInterval, storage, thunderGradient, thunderGradientPrev, ticksSinceLightning -
Constructor Summary
ConstructorsConstructorDescriptionClientWorld(ClientNetworkHandler networkHandler, long seed, int dimensionId) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearBlockResets(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) protected ChunkSourcevoidvoidforceEntity(int id, Entity entity) getEntity(int id) protected voidprotected voidnotifyEntityAdded(Entity entity) protected voidnotifyEntityRemoved(Entity entity) booleanprocessScheduledTicks(boolean flush) voidremoveEntity(int id) voidscheduleBlockUpdate(int x, int y, int z, int id, int tickRate) booleansetBlockMetaWithoutNotifyingNeighbors(int x, int y, int z, int meta) booleansetBlockWithMetaFromPacket(int x, int y, int z, int blockId, int meta) booleansetBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId) booleansetBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId, int meta) booleanspawnEntity(Entity entity) voidtick()voidupdateChunk(int chunkX, int chunkZ, boolean load) voidprotected voidMethods inherited from class net.minecraft.world.World
addEntities, addEventListener, addParticle, addPlayer, afterSkipNight, allowSpawning, attemptSaving, blockUpdate, blockUpdateEvent, broadcastEntityEvent, calculateSkyLightIntensity, canInteract, canMonsterSpawn, canPlace, canSkipNight, canSpawnEntity, canTransferPower, canTransferPowerInDirection, checkSessionLock, collectEntitiesByClass, countEntities, createExplosion, createExplosion, displayTick, doLightingUpdates, extinguishFire, findPath, findPath, getAmbientDarkness, getBiomeSource, getBlockEntity, getBlockId, getBlockMeta, getBrightness, getBrightness, getChunk, getChunkData, getChunkFromPos, getChunkSource, getClosestPlayer, getClosestPlayer, getCloudColor, getDebugInfo, getEntities, getEntities, getEntityCollisions, getEntityCount, getFogColor, getIdCount, getLightLevel, getLightLevel, getLuminance, getMaterial, getNaturalBrightness, getOrCreateState, getPlayer, getPlayerForProxy, getProperties, getRainGradient, getSeed, getSkyColor, getSpawnBlockId, getSpawnPos, getSpawnPositionValidityY, getThunderGradient, getTime, getTime, getTopSolidBlockY, getTopY, getVisibilityRatio, getWorldStorage, handleChunkDataUpdate, hasSkyLight, initializeSpawnPoint, isAir, isAnyBlockInBox, isBoxSubmergedInFluid, isEmittingRedstonePower, isEmittingRedstonePowerInDirection, isFireOrLavaInBox, isFluidInBox, isMaterialInBox, isOpaque, isPosLoaded, isRaining, isRaining, isRegionLoaded, isRegionLoaded, isThundering, isTopY, loadChunksNearEntity, notifyNeighbors, playNoteBlockActionAt, playSound, playSound, playStreaming, processBlockUpdates, queueLightUpdate, queueLightUpdate, raycast, raycast, raycast, removeBlockEntity, removeEventListener, saveWithLoadingDisplay, saveWorldData, savingProgress, serverRemove, setBlock, setBlock, setBlockDirty, setBlockEntity, setBlockMeta, setBlocksDirty, setBlocksDirty, setLight, setRainGradient, setSpawnPos, setState, setTime, shouldSuffocate, spawnGlobalEntity, synchronizeTimeAndUpdates, tickChunks, tickEntities, unloadEntities, updateBlockEntity, updateEntity, updateEntity, updateEntityLists, updateLight, updateMovementInFluid, updateSkyBrightness, updateSleepingPlayers, worldEvent, worldEvent
-
Field Details
-
blockResets
- Mappings:
Namespace Name Mixin selector intermediary field_1722Lnet/minecraft/class_454;field_1722:Ljava/util/LinkedList;glue field_1878Lclass_487;field_1878:Ljava/util/LinkedList;server field_1722Lnet/minecraft/class_454;field_1722:Ljava/util/LinkedList;client CLmm;C:Ljava/util/LinkedList;named blockResetsLnet/minecraft/world/ClientWorld;blockResets:Ljava/util/LinkedList;
-
networkHandler
- Mappings:
Namespace Name Mixin selector intermediary field_1723Lnet/minecraft/class_454;field_1723:Lnet/minecraft/class_219;glue field_1879Lclass_487;field_1879:Lclass_510;server field_1723Lnet/minecraft/class_454;field_1723:Lnet/minecraft/class_219;client DLmm;D:Lnb;named networkHandlerLnet/minecraft/world/ClientWorld;networkHandler:Lnet/minecraft/client/network/ClientNetworkHandler;
-
chunkCache
- Mappings:
Namespace Name Mixin selector intermediary field_1724Lnet/minecraft/class_454;field_1724:Lnet/minecraft/class_455;glue field_1880Lclass_487;field_1880:Lclass_676;server field_1724Lnet/minecraft/class_454;field_1724:Lnet/minecraft/class_455;client ELmm;E:Luv;named chunkCacheLnet/minecraft/world/ClientWorld;chunkCache:Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;
-
entitiesByNetworkId
- Mappings:
Namespace Name Mixin selector intermediary field_1725Lnet/minecraft/class_454;field_1725:Lnet/minecraft/class_80;glue field_1881Lclass_487;field_1881:Lclass_250;server field_1725Lnet/minecraft/class_454;field_1725:Lgo;client FLmm;F:Ljx;named entitiesByNetworkIdLnet/minecraft/world/ClientWorld;entitiesByNetworkId:Lnet/minecraft/util/IntHashMap;
-
forcedEntities
- Mappings:
Namespace Name Mixin selector intermediary field_1726Lnet/minecraft/class_454;field_1726:Ljava/util/Set;glue field_1882Lclass_487;field_1882:Ljava/util/Set;server field_1726Lnet/minecraft/class_454;field_1726:Ljava/util/Set;client GLmm;G:Ljava/util/Set;named forcedEntitiesLnet/minecraft/world/ClientWorld;forcedEntities:Ljava/util/Set;
-
pendingEntities
- Mappings:
Namespace Name Mixin selector intermediary field_1727Lnet/minecraft/class_454;field_1727:Ljava/util/Set;glue field_1883Lclass_487;field_1883:Ljava/util/Set;server field_1727Lnet/minecraft/class_454;field_1727:Ljava/util/Set;client HLmm;H:Ljava/util/Set;named pendingEntitiesLnet/minecraft/world/ClientWorld;pendingEntities:Ljava/util/Set;
-
-
Constructor Details
-
ClientWorld
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_454;<init>(Lnet/minecraft/class_219;JI)Vglue <init>Lclass_487;<init>(Lclass_510;JI)Vserver <init>Lnet/minecraft/class_454;<init>(Lnet/minecraft/class_219;JI)Vclient <init>Lmm;<init>(Lnb;JI)Vnamed <init>Lnet/minecraft/world/ClientWorld;<init>(Lnet/minecraft/client/network/ClientNetworkHandler;JI)V
-
-
Method Details
-
tick
public void tick() -
clearBlockResets
public void clearBlockResets(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Mappings:
Namespace Name Mixin selector intermediary method_1498Lnet/minecraft/class_454;method_1498(IIIIII)Vglue method_1757Lclass_487;method_1757(IIIIII)Vserver method_1498Lnet/minecraft/class_454;method_1498(IIIIII)Vclient cLmm;c(IIIIII)Vnamed clearBlockResetsLnet/minecraft/world/ClientWorld;clearBlockResets(IIIIII)V
-
createChunkCache
- Overrides:
createChunkCachein classWorld- Mappings:
Namespace Name Mixin selector intermediary method_197Lnet/minecraft/class_18;method_197()Lnet/minecraft/class_51;glue method_514Lclass_129;method_514()Lclass_60;server bLdj;b()Lbl;client bLfd;b()Lcl;named createChunkCacheLnet/minecraft/world/World;createChunkCache()Lnet/minecraft/world/chunk/ChunkSource;
-
updateSpawnPosition
public void updateSpawnPosition()- Overrides:
updateSpawnPositionin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_283Lnet/minecraft/class_18;method_283()Vglue method_960Lclass_129;method_960()Vserver method_283Ldj;method_283()Vclient dLfd;d()Vnamed updateSpawnPositionLnet/minecraft/world/World;updateSpawnPosition()V
-
manageChunkUpdatesAndEvents
protected void manageChunkUpdatesAndEvents()- Overrides:
manageChunkUpdatesAndEventsin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_248Lnet/minecraft/class_18;method_248()Vglue method_565Lclass_129;method_565()Vserver jLdj;j()Vclient nLfd;n()Vnamed manageChunkUpdatesAndEventsLnet/minecraft/world/World;manageChunkUpdatesAndEvents()V
-
scheduleBlockUpdate
public void scheduleBlockUpdate(int x, int y, int z, int id, int tickRate) - Overrides:
scheduleBlockUpdatein classWorld- Mappings:
Namespace Name Mixin selector intermediary method_216Lnet/minecraft/class_18;method_216(IIIII)Vglue method_533Lclass_129;method_533(IIIII)Vserver cLdj;c(IIIII)Vclient cLfd;c(IIIII)Vnamed scheduleBlockUpdateLnet/minecraft/world/World;scheduleBlockUpdate(IIIII)V
-
processScheduledTicks
public boolean processScheduledTicks(boolean flush) - Overrides:
processScheduledTicksin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_194Lnet/minecraft/class_18;method_194(Z)Zglue method_511Lclass_129;method_511(Z)Zserver aLdj;a(Z)Zclient aLfd;a(Z)Znamed processScheduledTicksLnet/minecraft/world/World;processScheduledTicks(Z)Z
-
updateChunk
public void updateChunk(int chunkX, int chunkZ, boolean load) - Mappings:
Namespace Name Mixin selector intermediary method_1494Lnet/minecraft/class_454;method_1494(IIZ)Vglue method_1753Lclass_487;method_1753(IIZ)Vserver method_1494Lnet/minecraft/class_454;method_1494(IIZ)Vclient aLmm;a(IIZ)Vnamed updateChunkLnet/minecraft/world/ClientWorld;updateChunk(IIZ)V
-
spawnEntity
- Overrides:
spawnEntityin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_210Lnet/minecraft/class_18;method_210(Lnet/minecraft/class_57;)Zglue method_527Lclass_129;method_527(Lclass_450;)Zserver bLdj;b(Llq;)Zclient bLfd;b(Lsn;)Znamed spawnEntityLnet/minecraft/world/World;spawnEntity(Lnet/minecraft/entity/Entity;)Z
-
remove
- Overrides:
removein classWorld- Mappings:
Namespace Name Mixin selector intermediary method_231Lnet/minecraft/class_18;method_231(Lnet/minecraft/class_57;)Vglue method_548Lclass_129;method_548(Lclass_450;)Vserver eLdj;e(Llq;)Vclient eLfd;e(Lsn;)Vnamed removeLnet/minecraft/world/World;remove(Lnet/minecraft/entity/Entity;)V
-
notifyEntityAdded
- Overrides:
notifyEntityAddedin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_219Lnet/minecraft/class_18;method_219(Lnet/minecraft/class_57;)Vglue method_536Lclass_129;method_536(Lclass_450;)Vserver cLdj;c(Llq;)Vclient cLfd;c(Lsn;)Vnamed notifyEntityAddedLnet/minecraft/world/World;notifyEntityAdded(Lnet/minecraft/entity/Entity;)V
-
notifyEntityRemoved
- Overrides:
notifyEntityRemovedin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_226Lnet/minecraft/class_18;method_226(Lnet/minecraft/class_57;)Vglue method_543Lclass_129;method_543(Lclass_450;)Vserver dLdj;d(Llq;)Vclient dLfd;d(Lsn;)Vnamed notifyEntityRemovedLnet/minecraft/world/World;notifyEntityRemoved(Lnet/minecraft/entity/Entity;)V
-
forceEntity
- Mappings:
Namespace Name Mixin selector intermediary method_1495Lnet/minecraft/class_454;method_1495(ILnet/minecraft/class_57;)Vglue method_1754Lclass_487;method_1754(ILclass_450;)Vserver method_1495Lnet/minecraft/class_454;method_1495(ILlq;)Vclient aLmm;a(ILsn;)Vnamed forceEntityLnet/minecraft/world/ClientWorld;forceEntity(ILnet/minecraft/entity/Entity;)V
-
getEntity
- Mappings:
Namespace Name Mixin selector intermediary method_1496Lnet/minecraft/class_454;method_1496(I)Lnet/minecraft/class_57;glue method_1755Lclass_487;method_1755(I)Lclass_450;server method_1496Lnet/minecraft/class_454;method_1496(I)Llq;client bLmm;b(I)Lsn;named getEntityLnet/minecraft/world/ClientWorld;getEntity(I)Lnet/minecraft/entity/Entity;
-
removeEntity
- Mappings:
Namespace Name Mixin selector intermediary method_1497Lnet/minecraft/class_454;method_1497(I)Lnet/minecraft/class_57;glue method_1756Lclass_487;method_1756(I)Lclass_450;server method_1497Lnet/minecraft/class_454;method_1497(I)Llq;client cLmm;c(I)Lsn;named removeEntityLnet/minecraft/world/ClientWorld;removeEntity(I)Lnet/minecraft/entity/Entity;
-
setBlockMetaWithoutNotifyingNeighbors
public boolean setBlockMetaWithoutNotifyingNeighbors(int x, int y, int z, int meta) - Overrides:
setBlockMetaWithoutNotifyingNeighborsin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_223Lnet/minecraft/class_18;method_223(IIII)Zglue method_540Lclass_129;method_540(IIII)Zserver dLdj;d(IIII)Zclient eLfd;e(IIII)Znamed setBlockMetaWithoutNotifyingNeighborsLnet/minecraft/world/World;setBlockMetaWithoutNotifyingNeighbors(IIII)Z
-
setBlockWithoutNotifyingNeighbors
public boolean setBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId, int meta) - Overrides:
setBlockWithoutNotifyingNeighborsin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_154Lnet/minecraft/class_18;method_154(IIIII)Zglue method_471Lclass_129;method_471(IIIII)Zserver aLdj;a(IIIII)Zclient aLfd;a(IIIII)Znamed setBlockWithoutNotifyingNeighborsLnet/minecraft/world/World;setBlockWithoutNotifyingNeighbors(IIIII)Z
-
setBlockWithoutNotifyingNeighbors
public boolean setBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId) - Overrides:
setBlockWithoutNotifyingNeighborsin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_200Lnet/minecraft/class_18;method_200(IIII)Zglue method_517Lclass_129;method_517(IIII)Zserver bLdj;b(IIII)Zclient cLfd;c(IIII)Znamed setBlockWithoutNotifyingNeighborsLnet/minecraft/world/World;setBlockWithoutNotifyingNeighbors(IIII)Z
-
setBlockWithMetaFromPacket
public boolean setBlockWithMetaFromPacket(int x, int y, int z, int blockId, int meta) - Mappings:
Namespace Name Mixin selector intermediary method_1499Lnet/minecraft/class_454;method_1499(IIIII)Zglue method_1758Lclass_487;method_1758(IIIII)Zserver method_1499Lnet/minecraft/class_454;method_1499(IIIII)Zclient fLmm;f(IIIII)Znamed setBlockWithMetaFromPacketLnet/minecraft/world/ClientWorld;setBlockWithMetaFromPacket(IIIII)Z
-
disconnect
public void disconnect()- Overrides:
disconnectin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_293Lnet/minecraft/class_18;method_293()Vglue method_970Lclass_129;method_970()Vserver method_293Ldj;method_293()Vclient qLfd;q()Vnamed disconnectLnet/minecraft/world/World;disconnect()V
-
updateWeatherCycles
protected void updateWeatherCycles()- Overrides:
updateWeatherCyclesin classWorld- Mappings:
Namespace Name Mixin selector intermediary method_245Lnet/minecraft/class_18;method_245()Vglue method_562Lclass_129;method_562()Vserver iLdj;i()Vclient mLfd;m()Vnamed updateWeatherCyclesLnet/minecraft/world/World;updateWeatherCycles()V
-