跳到正文

Spawn Normalization

A mod about changing spawn y-level selection algorithms

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

In Minecraft, when mobs are going to be spawned into the world, they must first selected a position to spawn in.  This means selecting a random x/y position within a chunk, and then picking a y-level within that column.  

By default, the y-level is selected uniformly from all possible y-levels, from zero to the current highest block in that column.  This is problematic for a couple reasons

  • Most y-levels within that column will not be suitable spawn space
  • Spawning is slow as a result of all of these failed attempts
  • Mob farms are only most efficient when their top block is at or close to y=0.

For example, if you had a skyblock world, and you were living at y=65, mobs would only have a 1/66 chance to actually successfully select your platform to spawn on.  This means you have to wait longer for mobs to generate, and in turn makes the experience less exciting.

However, using math, we can adjust the curves at which certain y-levels are selected.  This mod provides the ability to select a specific spawn algorithm from a list of defaults, and apply that instead of the vanilla spawn algorithm.  The algorithms provided by this mod are described in this graph:

These estimates are done with a height level of 65, but their curves can be understood as how likely a certain y-level (as a function of the height) is to be selected.  

  • Vanilla has equal probability for all height levels.
  • Surface Pref has a much higher probability to select the surface, with a higher than normal probability to select areas near the surface, dropping to lower than vanilla probabilities after about 55% max height level.
  • Skyblock has high preferences towards levels that are at or above 60% max height level, and near-zero percent chance to select values below 30% max height.
  • Two Layer has a high probability to select levels near the surface, but also a high probability to select a secondary zone at about 33% max height (allowing for surface spawns, and deep cave spawns)
  • Surface Only relegates all spawns to the surface level or blocks very nearby (to allow for water mobs to spawn).

 

Finally, these curves can be inverted, allowing you to receive the opposite effects (relative to height level) – meaning that the y level would become (max height – y) instead of (y).  This would mean that the inversion of Surface Only would only select levels near bedrock, and the inverse of Skyblock would have a much higher probability to select levels near bedrock.

常见问题

Spawn Normalization 支持哪些 Minecraft 版本?

Spawn Normalization 支持 Minecraft Java 版 1.16.5,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Spawn Normalization 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Shadows_of_Fire 的其他作品

查看全部 →