Mineuniverse

Simulation distance

Simulation distance is a world option in Bedrock Edition that controls mob spawning and despawning, and tick updates. In Java Edition, simulation distance…

6 min read Updated 2 views
Bedrock Edition UI
Advertisement Remove ads with Premium →
Contents (15)
  1. Range of simulation distance
  2. Java Edition
  3. Control
  4. Ticking
  5. Entity visibility
  6. Bedrock Edition
  7. Control
  8. Spawning and despawning
  9. Tick updates
  10. Mob cap
  11. History
  12. Java Edition
  13. Bedrock Edition
  14. Notes
  15. References

Simulation distance is a world option in Bedrock Edition that controls mob spawning and despawning, and tick updates. In Java Edition, simulation distance is a video setting related to render distance, to restrict tick update distance.

Range of simulation distance

Edition Bedrock Edition Java Edition
Singleplayer (High device performance) Even number ranging from 4 to 12, 4 in default.[note 1] Integer ranging from 5 to 32, 12 in default.
Singleplayer (Low device performance) Even number ranging from 4 to 8, 4 in default.[note 2] Integer from 5 to 16, 8 in default.[note 3]
Multiplayer Integer ranging from 4 to 12, 4 in default. Integer ranging from 3 to 32, 10 in default.

The simulation distance of the Minecraft server can be modified in the file server.properties.


Java Edition

This section needs to be updated.
Please update this section to reflect recent updates or newly available information. The talk page may contain suggestions.
Reason: Outdated. Chinese version (zh) has the latest version for reference.

Control

The simulation distance slider in Options.

The simulation distance control appears in the "Quality & performance" section of "Video Settings" tab of the "options" screen. It is not separated by different worlds so All worlds on the client share a simulation distance, and the distance can be modified at anytime, unlike bedrock edition.

Ticking

Simulation distance defines a square region of chunks around the player where entities are ticked. Using distance of 6 for instance, entities may move normally within a 13×13 chunk column around the player chunk. One more chunk out, within a one-chunk-thick square frame surrounding this region, redstone may run, fluid may flow, and crop may grow (subject to normal chunk ticking rules). Beyond that nothing moves or changes. But these game aspects are also subject to chunk loading rules. See also Chunk#Ticking.

The simulation distance setting is ideally less than render distance because updating all entities within the simulation distance is more taxing on performance than the equivalent level of render distance.

Entity visibility

Not all entities within the loaded and visible chunks are displayed to the player. There are three criteria that hide entities from view. First, the server does not send any information about an entity to the client if the entity is beyond a certain distance from the player, controlled by "entity-broadcast-range-percentage" in the server.properties file. Second, the client does not render entities depending on both "Render distance" and "Entity distance" video settings. Apparently, render distance (in chunks) multiplied by a magic number (about 8.5 for mobs, 2 for items) and scaled by the "entity distance" percentage gives the radius in blocks for a sphere around the player beyond which entities are hidden. For example, using render distance 10 and 100% entity distance, a skeleton disappears from view if the player stands more than 85 blocks directly above it. The magic number varies slightly for different types of mobs, such as being larger for spiders and ghasts, even though ghasts still frequently attack player from beyond visibility range. Finally, the client has a hard visibility limit of 128 blocks horizontally, defining another circular column. Entities are displayed only if they are inside the intersection of this sphere and two cylinders.

Bedrock Edition

Simulation distance
Simulation_Distance_4_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_5_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_6_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_7_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_8_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_9_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_10_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_11_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Simulation_Distance_12_(Bedrock_1.20.50.20+).png: Infobox image for Minecraft infobox 'Simulation distance'
Green Spawning and despawning range
Red Ticking range
Simulation Distance 4 chunks receiving ticks, as well as mob despawn radius from the corners of the central chunk
The Simulation distance option in the create new world screen or edit world screen. Note that this screenshot is taken on a mobile device which limits the option to 8 chunks; desktop devices use a dropdown menu limited at 12 chunks.

Control

The simulation distance control appears in the "Advanced" tab of the create new world screen or edit world screen. It is separated by different worlds, and cannot be modified when the world is loading.

Spawning and despawning

Simulation distance restricts the range at which mobs spawn and despawn.

The minimum spawning distance is 24 blocks (Euclidean distance) from the player. The maximum spawning distance and despawning distances are determined by the simulation distance, which is a quasi-spherical shell having the following ranges relative to the player:

Mob spawning and despawning range in Bedrock Edition
Simulation distance Mob spawning range Mob randomly despawning range Mob immediately despawning range.
4 24 to 44 blocks of Euclidean distance from player 32 to 44 blocks of Euclidean distance from player Greater than 44 blocks of Euclidean distance from player
>4 24 to 128 blocks of Euclidean distance and no greater than chunks of taxicab distance from player 32 to 128 blocks of Euclidean distance and no greater than chunks of taxicab distance from player Greater than 128 blocks of Euclidean distance or greater than chunks of taxicab distance from player

Within the simulation distance, there is a 11⁄2000 chance of the mob spawning algorithm attempting to run per chunk, per tick.

Regardless of simulation distance, mobs with persistence do not despawn, and fish always despawn when they are more than 40 blocks from the nearest player.

Tick updates

Maximum distance of lightning strikes from a lightning rod is determined by simulation distance as taxicab distance, in this case 12 chunks (192 blocks) from the player position at the center of the image.

Simulation distance determines the maximum chunk distance in which entities get updated, and blocks and fluids are ticked. This is not a Euclidean distance, but taxicab distance in Bedrock Edition.

These ticks include random ticking of crops, amethysts and such. The simulation distance is purely chunk based and has nothing to do with the player's position inside the chunk.

Pure redstone circuits continue to function infinitely far away, but break down where they interact with hoppers, pistons, observers, and anything else that needs tick updates to function.

Mob cap

Mobs in chunks outside a ticking area still count toward the per-mob population control caps as long as they were previously loaded within the simulation distance at some time.


History

Java Edition

Java Edition
1.1821w38a Added custom simulation distance.
21w44a Now blocks and liquid are affected by simulation distance.
The minimum simulation distance changed from 2 to 5.

Bedrock Edition

Bedrock Edition
1.2.10beta 1.2.10.1 Added custom simulation distance.
1.17.10beta 1.17.10.22 Now the default simulation distance is 4 instead of being determined by device quality.
1.20.50Preview 1.20.50.20 When the simulation distance is no less than 6, mobs 6 chunks away from player can now spawn.[1]

Notes

  1. ↑ Up to 10 chunks on Xbox and PlayStation
  2. ↑ Up to 6 chunks on devices with less than 2GB RAM
  3. ↑ Less than 1GB or none 64-bit Java.

References

  1. ↑ MCPE-102197 – resolved as "Fixed".
Advertisement Remove ads with Premium →

More in UI

View all 21 →
InventoryInventoryThe inventory is the pop-up menu that the player uses to manage items they carry. From this screen a player can equip armor, craft items on a 2×2 grid…LanguageLanguageVarious languages outside of the system default may be selected in-game using the language menu, accessible in options‌[JE only] or settings.‌[BE only]…Loading world screenThe loading world screen is a screen displayed when generating or loading a world. It shows a progress bar of the loading progress.Locator BarThe locator bar is a UI element on the player's HUD which shows the position of other players in multiplayer.Menu screenMenu screenThe menu screens are a part of Minecraft's UI with free mouse movement, usually outside of gameplay. After opening the game, menu screens allow players to…SkinSkinSkins refer to the textures that are placed onto the player character model. Skins can be created using a skin editor or the Character Creator, or they…Texture packTexture packTexture packs were a way to change the in-game textures of blocks, items, mobs, and the GUI. In Java Edition 1.6.1, texture packs were replaced with…Third-person viewThird-person viewThird-person view allows the player to view the nearby environment from an "outside" perspective.
Advertisement Remove ads with Premium →

Related mods

Dynamic View and Simulation Distances Dynamic View and Simulation Distances Mod · 27.6M downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home