Minecraft:Noise settings: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
The '''noise router''' is a collection of [[Minecraft:density function]]s. Density functions compute a value for each block position. They are used for terrain generation, biome layout, aquifers, ore veins, and more. | The '''noise router''' is a collection of [[Minecraft:density function]]s. Density functions compute a value for each block position. They are used for terrain generation, biome layout, aquifers, ore veins, and more. | ||
== | == Material rule == | ||
{{Main| | {{Main|Material rule}} | ||
''' | '''Material rules''' are used to determine the block for each solid position of the terrain. Noise settings contains one root {{nbt|compound|material_rule}} field that contains all the logic for placing the different surface blocks. | ||
== Defaults == | == Defaults == | ||
| Line 61: | Line 61: | ||
|{{tc|yes|true}} | |{{tc|yes|true}} | ||
|- | |- | ||
|{{nbt|compound|default_block}} | |{{nbt|compound|default_block}}{{until|JE 26.4}} | ||
| colspan=3| {{BlockLink|Stone}} | | colspan=3| {{BlockLink|Stone}} | ||
| {{BlockLink|Netherrack}} | | {{BlockLink|Netherrack}} | ||
| Line 92: | Line 92: | ||
| 128 | | 128 | ||
|- | |- | ||
| {{nbt|compound| | | {{nbt|compound|material_rule}} | ||
| The usual Overworld rules: places bedrock, deepslate, grass, and all biome-specific blocks. | | The usual Overworld rules: places bedrock, deepslate, grass, and all biome-specific blocks. | ||
| Similar to the Overworld, but with a bedrock roof and tweaked to allow generating dirt and grass not on the surface. | | Similar to the Overworld, but with a bedrock roof and tweaked to allow generating dirt and grass not on the surface. | ||
| Line 109: | Line 109: | ||
|Removed the {{cd|size_horizontal}} and {{cd|size_vertical}} fields. Its functionality is now specified in the {{cd|interpolated}} density function. | |Removed the {{cd|size_horizontal}} and {{cd|size_vertical}} fields. Its functionality is now specified in the {{cd|interpolated}} density function. | ||
}} | }} | ||
|{{HistoryLine|java upcoming}} | |||
|{{HistoryLine||26.4|dev=snap1|Removed the {{cd|default_block}} field. The block is now always air, and any other block must be defined by the {{cd|material_rule}}.}} | |||
}} | }} | ||
| Line 117: | Line 119: | ||
{{Navbox Java Edition technical|datapack}} | {{Navbox Java Edition technical|datapack}} | ||
[[Minecraft:pt:Configurações de ruído]] | |||
[[Minecraft:de:Rauscheinstellungen]] | [[Minecraft:de:Rauscheinstellungen]] | ||
[[Minecraft:fr:Paramètres de bruit]] | [[Minecraft:fr:Paramètres de bruit]] | ||
[[Minecraft:zh:噪声设置]] | [[Minecraft:zh:噪声设置]] | ||
Latest revision as of 11:13, 17 October 2026
Template:Exclusive Noise settings are for generating the shape of the terrain and noise caves, and what blocks the terrain is generated with, stored as Minecraft:JSON files within a Minecraft:data pack in the path Template:Cd, and are used with the Template:Cd generator in a dimension. Vanilla settings include Template:Cd for normal Minecraft:Overworld generation, Template:Cd for Minecraft:Amplified Overworld generation, Template:Cd for regular Nether generation, Template:Cd for Cave (Nether-like generation but with Overworld Minecraft:terrain features) generation, Template:Cd for regular End generation, and Template:Cd for Floating Islands (similar to The End outer islands) generation.
JSON format
- Template:Nbt: Root object.
- Template:Nbt: The sea level in this dimension. Note that this value only affects world generation. The sea level for mob spawning is a fixed value 63.
- Template:Nbt: Disables creature spawning upon chunk generation.
- Template:Nbt: Whether Minecraft:aquifers generate. If set to false, almost all caves below sea level are filled with water.
- Template:Nbt: Whether to use the old random number generator from before 1.18 for world generation.
- Template:Nbt: density functions values to show in the Template:Cd debug entry.
- Template:Nbt: Label to identify the density function.
- Template:Nbt: The density function to compute and show at the player position. If not specified, no density function value will be shown.
- Template:NbtTemplate:Until: The default block used for the terrain.
- Template:Nbt: The default block used for seas and lakes.
- Template:Nbt: (Required, but can be empty) A list of climate parameters to specify the points around which the player tries to spawn. The game selects some horizonal locations that are not more than 2560 blocks away from the origin (0,0), then sample the noise values ("depth" noise and "offset" are always 0), and calculate
((x^2+z^2)^2) / 390625 + (the square of the minimum distance to the ranges in the list). The player spawns near the location where this value is smallest. - Template:Nbt: Fields for world generation.
- Template:Nbt: The minimum Y coordinate where terrain starts generating. Value between -2032 and 2031 (both inclusive). Must be divisible by 16.
- Template:Nbt: The total height where terrain generates. Value between 0 and 4064 (both inclusive). Must be divisible by 16. And
min_y + heightcannot exceed 2032.
- Template:Nbt: The Minecraft:noise router routes density functions to noise parameters used for world generation.
- Template:Nbt: The main Minecraft:surface rule to place blocks in the terrain.
Noise router
The noise router is a collection of Minecraft:density functions. Density functions compute a value for each block position. They are used for terrain generation, biome layout, aquifers, ore veins, and more.
Material rule
Material rules are used to determine the block for each solid position of the terrain. Noise settings contains one root Template:Nbt field that contains all the logic for placing the different surface blocks.
Defaults
These are the default settings for some vanilla presets. For brevity, some fields are summarized or omitted entirely; the vanilla data pack's minecraft/worldgen/noise_settings directory has them in full.
Amplified and large biomes are the same as Overworld generation, but the Template:Nbt is adjusted.
| Property | Overworld | Caves | Floating Islands | The Nether | The End |
|---|---|---|---|---|---|
| Template:Nbt | 63 | 32 | -64 | 32 | 0 |
| Template:Nbt | Template:Tc | Template:Tc | Template:Tc | Template:Tc | Template:Tc |
| Template:Nbt | Template:Tc | Template:Tc | Template:Tc | Template:Tc | Template:Tc |
| Template:Nbt | Template:Tc | Template:Tc | Template:Tc | Template:Tc | Template:Tc |
| Template:NbtTemplate:Until | Template:BlockLink | Template:BlockLink | Template:BlockLink | ||
| Template:Nbt | Template:BlockLink | Template:BlockLink | Template:BlockLink | ||
| Template:Nbt | Two spawn targets | Empty | Empty | Empty | Empty |
| Template:Nbt | -64 | -64 | 0 | 0 | 0 |
| Template:Nbt | 384 | 192 | 256 | 128 | 128 |
| Template:Nbt | The usual Overworld rules: places bedrock, deepslate, grass, and all biome-specific blocks. | Similar to the Overworld, but with a bedrock roof and tweaked to allow generating dirt and grass not on the surface. | Similar to the Overworld, but with no bedrock floor and tweaked to allow generating dirt and grass not on the surface. | Places the bedrock floor and roof, and biome-specific blocks. | Places end stone only. |
History
External links
Template:Navbox Java Edition technical
Minecraft:pt:Configurações de ruído Minecraft:de:Rauscheinstellungen Minecraft:fr:Paramètres de bruit Minecraft:zh:噪声设置