Minecraft:Carver definition: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
Configured carvers can be defined in [[Minecraft:data pack]]s, as part of the directory structure below. | Configured carvers can be defined in [[Minecraft:data pack]]s, as part of the directory structure below. | ||
{{Data pack directory|carver|<nowiki><name>.json</nowiki>|worldgen=1}} | |||
{{Data pack directory|carver|<nowiki><name>.json</nowiki>|worldgen=1 | |||
== JSON format == | == JSON format == | ||
| Line 17: | Line 15: | ||
***{{Nbt|compound|y}}: The height at which this carver attempts to generate. | ***{{Nbt|compound|y}}: The height at which this carver attempts to generate. | ||
**** {{nbt inherit/height_provider}} | **** {{nbt inherit/height_provider}} | ||
*** Additional fields based on {{Nbt|string|type}}; see below.</div> | *** Additional fields based on {{Nbt|string|type}}; see below.</div> | ||
| Line 35: | Line 20: | ||
The '''carver type''' determines the shape of the carving. | The '''carver type''' determines the shape of the carving. | ||
=== {{cd|cave | === {{cd|cave}} === | ||
Carves a cave. A cave is a long tunnel that sometimes branches. Sometimes one or more tunnels start from a circular void. | Carves a cave. A cave is a long tunnel that sometimes branches. Sometimes one or more tunnels start from a circular void. | ||
Additional fields: | Additional fields: | ||
<div class="treeview"> | <div class="treeview"> | ||
**{{Nbt|float}} | **{{Nbt|float}}{{Nbt|compound|room_vertical_radius_multiplier}}: Vertically scales circular voids. | ||
**{{nbt|int}}{{nbt|compound|count | **{{nbt|int}}{{nbt|compound|count}}: The number of cave tunnels to create from a seed chunk. The number must not be negative. | ||
*** {{nbt inherit/float_provider}} | *** {{nbt inherit/float_provider}} | ||
**{{Nbt|float}}{{Nbt|compound|horizontal_radius_multiplier}}: Horizonally scales cave tunnels. Doesn't affect the length of tunnels. | **{{Nbt|float}}{{Nbt|compound|horizontal_radius_multiplier}}: Horizonally scales cave tunnels. Doesn't affect the length of tunnels. | ||
*** {{nbt inherit/float_provider}} | *** {{nbt inherit/float_provider}} | ||
**{{Nbt|float}}{{Nbt|compound|vertical_radius_multiplier}}: Vertically scales cave tunnels. Doesn't affect the length of tunnels. | **{{Nbt|float}}{{Nbt|compound|vertical_radius_multiplier}}: Vertically scales cave tunnels. Doesn't affect the length of tunnels. | ||
**{{nbt|float}}{{nbt|compound|start_vertical_radius_multiplier | **{{nbt|float}}{{nbt|compound|start_vertical_radius_multiplier}}: Multiplier for the vertical radius of the first segment in each tunnel. If not specified, it defaults to 1.0. | ||
*** {{nbt inherit/float_provider}} | *** {{nbt inherit/float_provider}} | ||
**{{Nbt|float}}{{Nbt|compound|floor_level}}: Value between -1.0 and 1.0 (both inclusive). Change the shape of the cave's horizontal floor. If 0.0, carves the terrain with ellipsoids. If 1.0, carves with upper semi-ellipsoids, resulting in a level floor. | **{{Nbt|float}}{{Nbt|compound|floor_level}}: Value between -1.0 and 1.0 (both inclusive). Change the shape of the cave's horizontal floor. If 0.0, carves the terrain with ellipsoids. If 1.0, carves with upper semi-ellipsoids, resulting in a level floor. | ||
**{{Nbt|float}}{{Nbt|compound|thickness | **{{Nbt|float}}{{Nbt|compound|thickness}}: Multiplier for the radius of carved tunnels. | ||
**{{Nbt|boolean}}{{Nbt|compound|weird_thickness_bias | **{{Nbt|boolean}}{{Nbt|compound|weird_thickness_bias}}: If {{cd|true}}, thickness will be multiplied with a 10% chance (e.g. {{cd|random(0, 1) * random(0, 3) + 1}}). If not specified, it defaults to {{cd|false}}. | ||
**** {{nbt inherit/float_provider}}</div> | **** {{nbt inherit/float_provider}}</div> | ||
| Line 60: | Line 43: | ||
Additional fields: | Additional fields: | ||
<div class="treeview"> | <div class="treeview"> | ||
**{{Nbt|float}}{{Nbt|compound|vertical_rotation}}: Vertical rotation as a canyon extends. | **{{Nbt|float}}{{Nbt|compound|vertical_rotation}}: Vertical rotation as a canyon extends. | ||
*** {{nbt inherit/float_provider}} | *** {{nbt inherit/float_provider}} | ||
**{{Nbt|compound|shape}}: The shape to use for the ravine. | **{{Nbt|compound|shape}}: The shape to use for the ravine. | ||
*** {{Nbt|float}}{{Nbt|compound|y_scale | *** {{Nbt|float}}{{Nbt|compound|y_scale}}: Vertically scales canyons. | ||
***{{Nbt|float}}{{Nbt|compound|distance_factor}}: Scales the length of canyons. Higher values make canyons longer. | ***{{Nbt|float}}{{Nbt|compound|distance_factor}}: Scales the length of canyons. Higher values make canyons longer. | ||
**** {{nbt inherit/float_provider}} | **** {{nbt inherit/float_provider}} | ||
| Line 91: | Line 72: | ||
|{{HistoryLine||1.18|dev=21w38a|Removed field {{cd|aquifers_enabled}}.}} | |{{HistoryLine||1.18|dev=21w38a|Removed field {{cd|aquifers_enabled}}.}} | ||
|{{HistoryLine||1.19|dev=22w15a|Added field {{cd|replaceable}} to carver configuration.}} | |{{HistoryLine||1.19|dev=22w15a|Added field {{cd|replaceable}} to carver configuration.}} | ||
|{{HistoryLine||26.3|dev=snap2|Removed carver {{cd|nether_cave}}. | |{{HistoryLine||26.3|dev=snap2|Removed carver {{cd|nether_cave}}. | ||
|Added cave carver fields: | |Added cave carver fields: | ||
Latest revision as of 11:11, 17 September 2026
Template:Exclusive Configured carvers are used to add Minecraft:caves and Minecraft:canyons. They are referenced in biomes.
Definition
Configured carvers can be defined in Minecraft:data packs, as part of the directory structure below.
JSON format
- Template:Nbt: The root object.
- Template:Nbt: The ID of carver type; see below.
- Template:Nbt: Configuration values for the carver.
- Template:Nbt: The probability that each chunk attempts to generate carvers. Value between 0 and 1 (both inclusive).
- Template:Nbt: The height at which this carver attempts to generate.
- Additional fields based on Template:Nbt; see below.
Carver Type
The carver type determines the shape of the carving.
Template:Cd
Carves a cave. A cave is a long tunnel that sometimes branches. Sometimes one or more tunnels start from a circular void.
Additional fields:
- Template:NbtTemplate:Nbt: Vertically scales circular voids.
- Template:NbtTemplate:Nbt: The number of cave tunnels to create from a seed chunk. The number must not be negative.
- Template:NbtTemplate:Nbt: Horizonally scales cave tunnels. Doesn't affect the length of tunnels.
- Template:NbtTemplate:Nbt: Vertically scales cave tunnels. Doesn't affect the length of tunnels.
- Template:NbtTemplate:Nbt: Multiplier for the vertical radius of the first segment in each tunnel. If not specified, it defaults to 1.0.
- Template:NbtTemplate:Nbt: Value between -1.0 and 1.0 (both inclusive). Change the shape of the cave's horizontal floor. If 0.0, carves the terrain with ellipsoids. If 1.0, carves with upper semi-ellipsoids, resulting in a level floor.
- Template:NbtTemplate:Nbt: Multiplier for the radius of carved tunnels.
- Template:NbtTemplate:Nbt: If Template:Cd, thickness will be multiplied with a 10% chance (e.g. Template:Cd). If not specified, it defaults to Template:Cd.
Template:Cd
Carves a canyon.
Additional fields:
- Template:NbtTemplate:Nbt: Vertical rotation as a canyon extends.
- Template:Nbt: The shape to use for the ravine.
- Template:NbtTemplate:Nbt: Vertically scales canyons.
- Template:NbtTemplate:Nbt: Scales the length of canyons. Higher values make canyons longer.
- Template:NbtTemplate:Nbt: Scales the breadth and height of canyons.
- Template:NbtTemplate:Nbt: Scales the breadth of canyons. Higher values make canyons wider.
- Template:Nbt: Vertically scales canyons. Higher values make canyons deeper.
- Template:Nbt: Scales the height based on the horizontal distance from the canyon's center, resulting in deeper center.
- Template:Nbt: Higher values smooth canyon walls on the vertical axis. Must be greater than 0.
History
External links
Template:Navbox Java Edition technical
Minecraft:de:Erosionsdefinition Minecraft:fr:Définition de sculpteur de terrain Minecraft:ja:洞窟開削機 Minecraft:pt:Definição de cavernas Minecraft:zh:雕刻器定义格式