Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 103 additions & 34 deletions data/bedrock/1.26.20/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -5633,6 +5633,81 @@
]
]
},
{
"name": "overworld_rules",
"type": [
"option",
"BiomeOverworldRules"
]
},
{
"name": "multi_noise_rules",
"type": [
"option",
"BiomeMultiNoiseRules"
]
},
{
"name": "legacy_rules",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeConditionalTransformation"
}
]
]
},
{
"name": "replacements_data",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeReplacementData"
}
]
]
},
{
"name": "has_village_type",
"type": "bool"
},
{
"name": "village_type",
"type": [
"switch",
{
"compareTo": "has_village_type",
"fields": {
"true": "u8"
}
}
]
},
{
"name": "surface_builder_data",
"type": [
"option",
"BiomeSurfaceBuilderData"
]
},
{
"name": "subsurface_builder_data",
"type": [
"option",
"BiomeSurfaceBuilderData"
]
}
]
],
"BiomeSurfaceBuilderData": [
"container",
[
{
"name": "surface_materials",
"type": [
Expand Down Expand Up @@ -5671,58 +5746,52 @@
]
},
{
"name": "overworld_rules",
"name": "noise_gradient_surface",
"type": [
"option",
"BiomeOverworldRules"
"BiomeNoiseGradientSurfaceData"
]
},
}
]
],
"BiomeNoiseGradientSurfaceData": [
"container",
[
{
"name": "multi_noise_rules",
"name": "non_replaceable_blocks",
"type": [
"option",
"BiomeMultiNoiseRules"
"array",
{
"countType": "varint",
"type": "lu32"
}
]
},
{
"name": "legacy_rules",
"name": "gradient_blocks",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeConditionalTransformation"
}
]
"array",
{
"countType": "varint",
"type": "lu32"
}
]
},
{
"name": "replacements_data",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeReplacementData"
}
]
]
"name": "noise_seed_string",
"type": "string"
},
{
"name": "has_village_type",
"type": "bool"
"name": "first_octave",
"type": "li32"
},
{
"name": "village_type",
"name": "amplitudes",
"type": [
"switch",
"array",
{
"compareTo": "has_village_type",
"fields": {
"true": "u8"
}
"countType": "varint",
"type": "lf32"
}
]
}
Expand Down
46 changes: 34 additions & 12 deletions data/bedrock/1.26.20/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2814,6 +2814,25 @@ BiomeChunkGeneration:
mountain_parameters?: BiomeMountainParameters
# SurfaceMaterialAdjustments is a list of surface material adjustments.
surface_material_adjustments?: BiomeElementData[]varint
# OverworldRules is optional information to specify the biome's overworld rules, such as rivers and hills.
overworld_rules?: BiomeOverworldRules
# MultiNoiseRules is optional information to specify the biome's multi-noise rules.
multi_noise_rules?: BiomeMultiNoiseRules
# LegacyRules is a list of legacy rules for the biomes using an older format, which is just a list of
# weighted biomes.
legacy_rules?: BiomeConditionalTransformation[]varint
# ReplacementsData is a list of biome replacement data.
replacements_data?: BiomeReplacementData[]varint
has_village_type: bool
village_type: has_village_type ?
if true: u8
# SurfaceBuilderData is optional information for surface building.
surface_builder_data?: BiomeSurfaceBuilderData
# SubsurfaceBuilderData is optional information for subsurface building.
subsurface_builder_data?: BiomeSurfaceBuilderData

# BiomeSurfaceBuilderData specifies the surface building configuration for a biome.
BiomeSurfaceBuilderData:
# SurfaceMaterials is a set of materials to use for the surface layers of the biome.
surface_materials?: BiomeSurfaceMaterial
# HasDefaultOverworldSurface is true if the biome has a default overworld surface.
Expand All @@ -2828,18 +2847,21 @@ BiomeChunkGeneration:
mesa_surface?: BiomeMesaSurface
# CappedSurface is optional information to specify the biome's capped surface, i.e. in the Nether.
capped_surface?: BiomeCappedSurface
# OverworldRules is optional information to specify the biome's overworld rules, such as rivers and hills.
overworld_rules?: BiomeOverworldRules
# MultiNoiseRules is optional information to specify the biome's multi-noise rules.
multi_noise_rules?: BiomeMultiNoiseRules
# LegacyRules is a list of legacy rules for the biomes using an older format, which is just a list of
# weighted biomes.
legacy_rules?: BiomeConditionalTransformation[]varint
# ReplacementsData is a list of biome replacement data.
replacements_data?: BiomeReplacementData[]varint
has_village_type: bool
village_type: has_village_type ?
if true: u8
# NoiseGradientSurface is optional information for noise gradient surface generation.
noise_gradient_surface?: BiomeNoiseGradientSurfaceData

# BiomeNoiseGradientSurfaceData specifies noise gradient surface data for a biome.
BiomeNoiseGradientSurfaceData:
# NonReplaceableBlocks is a list of block runtime IDs that cannot be replaced by the gradient.
non_replaceable_blocks: lu32[]varint
# GradientBlocks is a list of block runtime IDs to use for the gradient.
gradient_blocks: lu32[]varint
# NoiseSeedString is the seed string used for noise generation.
noise_seed_string: string
# FirstOctave is the first octave of the noise.
first_octave: li32
# Amplitudes is a list of amplitudes for each octave of the noise.
amplitudes: lf32[]varint

# BiomeClimate represents the climate of a biome, mainly for ambience but also defines certain behaviours.
BiomeClimate:
Expand Down
137 changes: 103 additions & 34 deletions data/bedrock/1.26.30/protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -5712,6 +5712,81 @@
]
]
},
{
"name": "overworld_rules",
"type": [
"option",
"BiomeOverworldRules"
]
},
{
"name": "multi_noise_rules",
"type": [
"option",
"BiomeMultiNoiseRules"
]
},
{
"name": "legacy_rules",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeConditionalTransformation"
}
]
]
},
{
"name": "replacements_data",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeReplacementData"
}
]
]
},
{
"name": "has_village_type",
"type": "bool"
},
{
"name": "village_type",
"type": [
"switch",
{
"compareTo": "has_village_type",
"fields": {
"true": "u8"
}
}
]
},
{
"name": "surface_builder_data",
"type": [
"option",
"BiomeSurfaceBuilderData"
]
},
{
"name": "subsurface_builder_data",
"type": [
"option",
"BiomeSurfaceBuilderData"
]
}
]
],
"BiomeSurfaceBuilderData": [
"container",
[
{
"name": "surface_materials",
"type": [
Expand Down Expand Up @@ -5750,58 +5825,52 @@
]
},
{
"name": "overworld_rules",
"name": "noise_gradient_surface",
"type": [
"option",
"BiomeOverworldRules"
"BiomeNoiseGradientSurfaceData"
]
},
}
]
],
"BiomeNoiseGradientSurfaceData": [
"container",
[
{
"name": "multi_noise_rules",
"name": "non_replaceable_blocks",
"type": [
"option",
"BiomeMultiNoiseRules"
"array",
{
"countType": "varint",
"type": "lu32"
}
]
},
{
"name": "legacy_rules",
"name": "gradient_blocks",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeConditionalTransformation"
}
]
"array",
{
"countType": "varint",
"type": "lu32"
}
]
},
{
"name": "replacements_data",
"type": [
"option",
[
"array",
{
"countType": "varint",
"type": "BiomeReplacementData"
}
]
]
"name": "noise_seed_string",
"type": "string"
},
{
"name": "has_village_type",
"type": "bool"
"name": "first_octave",
"type": "li32"
},
{
"name": "village_type",
"name": "amplitudes",
"type": [
"switch",
"array",
{
"compareTo": "has_village_type",
"fields": {
"true": "u8"
}
"countType": "varint",
"type": "lf32"
}
]
}
Expand Down
Loading
Loading