Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Noise settings: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions 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.  


== Surface rule ==
== Material rule ==
{{Main|Surface rule}}
{{Main|Material rule}}


'''Surface rules''' are used to determine the block for each solid position of the terrain. Noise settings contains one root {{nbt|compound|surface_rule}} field that contains all the logic for placing the different surface blocks.
'''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 46: Line 46:
|{{tc|no|false}}
|{{tc|no|false}}
|{{tc|yes|true}}
|{{tc|yes|true}}
|-
|{{nbt|boolean|ore_veins_enabled}}{{until|JE 26.3}}
|{{tc|yes|true}}
|{{tc|no|false}}
|{{tc|no|false}}
|{{tc|no|false}}
|{{tc|no|false}}
|-
|-
|{{nbt|boolean|aquifers_enabled}}
|{{nbt|boolean|aquifers_enabled}}
Line 68: 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 99: Line 92:
| 128
| 128
|-
|-
| {{nbt|int|noise.size_horizontal}}{{until|JE 26.3}}
| {{nbt|compound|material_rule}}
| 1
| 1
| 2
| 1
| 2
|-
| {{nbt|int|noise.size_vertical}}{{until|JE 26.3}}
| 2
| 2
| 1
| 2
| 1
|-
| {{nbt|compound|surface_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 123: Line 102:
== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|upcoming java}}
|{{HistoryLine|java}}
|{{HistoryLine||26.3|dev=snap1|The {{cd|surface_rule}} field has been renamed to {{cd|material_rule}}.}}
|{{HistoryLine||26.3|dev=snap1|The {{cd|surface_rule}} field has been renamed to {{cd|material_rule}}.}}
|{{HistoryLine|||dev=snap2|The {{cd|spawn_target}} field has been updated to allow use of any density function, instead of just a subset of those defined within the {{cd|noise_router}} field.}}
|{{HistoryLine|||dev=snap2|The {{cd|spawn_target}} field has been updated to allow use of any density function, instead of just a subset of those defined within the {{cd|noise_router}} field.}}
Line 130: 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 138: 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 + height cannot 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

Template:Main

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

Template:Main

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

Template:HistoryTable

External links

Navigation

Template:Navbox Java Edition technical

Minecraft:pt:Configurações de ruído Minecraft:de:Rauscheinstellungen Minecraft:fr:Paramètres de bruit Minecraft:zh:噪声设置