Skip to content

1.21.80 #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6ac4317
- Updated old biome format
Xterionix Apr 20, 2025
9b21ddb
- Added biome tags component
Xterionix Apr 20, 2025
653a7f2
- Added dismount mode, and rider enter/exit event
Xterionix Apr 20, 2025
bbc4b96
- Made surface_color not required
Xterionix Apr 20, 2025
d77a12f
- Update float wander goal
Xterionix Apr 20, 2025
1852f39
- Update follow mob behavior
Xterionix Apr 20, 2025
4f98550
- Added music def field
Xterionix Apr 20, 2025
eef94d1
- Added camera fields to rideable
Xterionix Apr 20, 2025
f2c3f7d
- Add array snippet
Xterionix Apr 20, 2025
f4a9062
- Updated leashable component with presets
Xterionix Apr 20, 2025
ca78751
- Made texture field optional in destruction particles
Xterionix Apr 20, 2025
5395c59
- Marked isotropic as stable
Xterionix Apr 20, 2025
b94c4df
- Moved can_be_stolen back
Xterionix Apr 20, 2025
e7e7baf
- Updated tempt goal
Xterionix Apr 20, 2025
8ab192e
- Added float tempt behavior
Xterionix Apr 20, 2025
95f9040
- Made heightmap project optional
Xterionix Apr 20, 2025
aa17d2f
- Added distance based render methods
Xterionix Apr 20, 2025
cc85c02
- Marked tint method as stable
Xterionix Apr 20, 2025
c658365
- Added droop item y offset
Xterionix Apr 20, 2025
46514b6
- Added has_equipment_tag filter
Xterionix Apr 20, 2025
8a05d60
- Remove unnused test.json
Xterionix Apr 20, 2025
e63047c
- Allow for custom components
Xterionix Apr 20, 2025
233cc0a
- Add new block culling support
Xterionix Apr 20, 2025
3ee7708
- Removed enum for biome tags in support of custom biomes
Xterionix Apr 20, 2025
c5bdeca
- Added replace_biomes component
Xterionix Apr 20, 2025
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
4 changes: 4 additions & 0 deletions .vscode/easy.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"prefix": "json.object",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"object\", \n\"additionalProperties\": false,\n\"properties\": {}"
},
"array": {
"prefix": "json.array",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"array\", \n\"items\": {\n \"type\": \"\"\n}"
},
"number": {
"prefix": "json.number",
"body": "\"title\": \"\",\n\"description\": \"\",\n\"type\": \"number\", \n\"minimum\": 0"
Expand Down
58 changes: 23 additions & 35 deletions source/behavior/biomes/biomes.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "minecraft.behavior.biomes",
"$id": "blockception.minecraft.behavior.biome",
"required": ["format_version", "minecraft:biome"],
"type": "object",
"examples": [{ "plains": { "format_version": "1.20.80" } }],
"additionalProperties": {
"type": "object",
"title": "Biomes",
"description": "The definition of a biome.",
"additionalProperties": {
"title": "Tag",
"type": "object",
"description": "Components with no namespace are treated as `tags': any name consisting of alphanumeric characters, `.` and `_` is permitted; the tag is attached to the biome so that either code or data may check for its existence; tag components may not have member fields.",
"additionalProperties": false
},
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },

"minecraft:capped_surface": { "$ref": "./components/capped_surface.json" },
"minecraft:climate": { "$ref": "./components/climate.json" },
"minecraft:consolidated_features": { "$ref": "./components/consolidated_features.json" },
"minecraft:creature_spawn_probability": { "$ref": "./components/creature_spawn_probability.json" },
"minecraft:frozen_ocean_surface": { "$ref": "./components/frozen_ocean_surface.json" },
"minecraft:legacy_world_generation_rules": {
"$ref": "./components/legacy_world_generation_rules.json"
},
"minecraft:mesa_surface": { "$ref": "./components/mesa_surface.json" },
"minecraft:mountain_parameters": { "$ref": "./components/mountain_parameters.json" },
"minecraft:nether_generation_rules": { "$ref": "./components/nether_generation_rules.json" },
"minecraft:nether_surface": { "$ref": "./components/nether_surface.json" },
"minecraft:overworld_generation_rules": { "$ref": "./components/overworld_generation_rules.json" },
"minecraft:overworld_height": { "$ref": "./components/overworld_height.json" },
"minecraft:surface_material_adjustments": { "$ref": "./components/surface_material_adjustments.json" },
"minecraft:surface_parameters": { "$ref": "./components/surface_parameters.json" },
"minecraft:swamp_surface": { "$ref": "./components/swamp_surface.json" },
"minecraft:the_end_surface": { "$ref": "./components/the_end_surface.json" }
"title": "Biome Behavior",
"description": "The minecraft biome behavior specification.",
"additionalProperties": false,
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:biome": { "$ref": "./format/minecraft.biome.json" }
},
"defaultSnippets": [
{
"label": "New biome",
"body": {
"format_version": "${1:1.21.80}",
"minecraft:biome": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}"
},
"components": "^{$4}"
}
}
}
}
}
]
}
31 changes: 0 additions & 31 deletions source/behavior/biomes/components/climate.json

This file was deleted.

8 changes: 0 additions & 8 deletions source/behavior/biomes/components/consolidated_features.json

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions source/behavior/biomes/components/mesa_surface.json

This file was deleted.

8 changes: 0 additions & 8 deletions source/behavior/biomes/components/nether_surface.json

This file was deleted.

32 changes: 0 additions & 32 deletions source/behavior/biomes/components/overworld_height.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.capped_surface",
"$id": "blockception.minecraft.behavior.biomes.minecraft.capped_surface",
"title": "Capped Surface",
"description": "Generates surface on blocks with non-solid blocks above or below.",
"type": "object",
Expand All @@ -11,29 +11,31 @@
"description": "Materials used for the surface ceiling.",
"minItems": 1,
"items": {
"title": "Block Reference",
"description": "A block reference.",
"$comment": "UNDOCUMENTED",
"type": "string"
"$ref": "../../../../general/block/reference.json"
}
},
"floor_materials": {
"title": "Floor Materials",
"description": "Materials used for the surface floor.",
"minItems": 1,
"items": {
"title": "Block Reference",
"description": "A block reference.",
"$comment": "UNDOCUMENTED",
"type": "string"
"$ref": "../../../../general/block/reference.json"
}
},
"sea_material": { "title": "Sea Material", "description": "Material used to replace air blocks below sea level.", "type": "string" },
"sea_material": {
"title": "Sea Material",
"description": "Material used to replace air blocks below sea level.",
"$ref": "../../../../general/block/reference.json"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Material used to repalce solid blocks that are not surface blocks.",
"type": "string"
"$ref": "../../../../general/block/reference.json"
},
"beach_material": { "title": "Beach Material", "description": "Material used to decorate surface near sea level.", "type": "string" }
"beach_material": {
"title": "Beach Material",
"description": "Material used to decorate surface near sea level.",
"$ref": "../../../../general/block/reference.json"
}
}
}
52 changes: 52 additions & 0 deletions source/behavior/biomes/format/components/climate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"$id": "blockception.minecraft.behavior.biomes.minecraft.climate",
"title": "Climate",
"description": "Describes temperature, humidity, precipitation, etc. Biomes without this component will have default values.",
"type": "object",
"additionalProperties": false,
"properties": {
"ash": {
"title": "Ash",
"description": "Density of ash precipitation visuals.",
"type": "number"
},
"blue_spores": {
"title": "Blue Spores",
"description": "Density of blue spore precipitation visuals.",
"type": "number"
},
"downfall": {
"title": "Downfall",
"description": "Amount that precipitation affects colors and block changes.",
"type": "number"
},
"red_spores": {
"title": "Red Spores",
"description": "Density of blue spore precipitation visuals.",
"type": "number"
},
"snow_accumulation": {
"title": "Snow Accumulation",
"description": "Minimum and maximum snow level, each multiple of 0.125 is another snow layer.",
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
},
"temperature": {
"title": "Temperature",
"description": "Temperature affects a variety of visual and behavioral things, including snow and ice placement, sponge drying, and sky color.",
"type": "number"
},
"white_ash": {
"title": "White Ash",
"description": "Density of white ash precipitation visuals.",
"type": "number"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$id": "minecraft.behavior.biomes.components.minecraft.creature_spawn_probability",
"$id": "blockception.minecraft.behavior.biomes.minecraft.creature_spawn_probability",
"title": "Creature Spawn Probability",
"description": "Probability that creatures will spawn within the biome when a chunk is generated.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
{
"$id": "minecraft.behavior.biomes.1.12.0.components.minecraft.frozen_ocean_surface",
"$id": "blockception.minecraft.behavior.biomes.minecraft.frozen_ocean_surface",
"title": "Frozen Ocean Surface",
"description": "Similar to overworld_surface. Adds icebergs.",
"type": "object",
"minProperties": 0,
"maxProperties": 6,
"additionalProperties": false,
"required": ["top_material", "mid_material", "sea_floor_material", "foundation_material", "sea_material", "sea_floor_depth"],
"properties": {
"top_material": { "title": "Top Material", "description": "Controls the block type used for the surface of this biome.", "string": "string" },
"top_material": {
"title": "Top Material",
"description": "Controls the block type used for the surface of this biome.",
"$ref": "../../../../general/block/reference.json"
},
"mid_material": {
"title": "Mid Material",
"description": "Controls the block type used in a layer below the surface of this biome.",
"string": "string"
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_material": {
"title": "Sea Floor Material",
"description": "Controls the block type used as a floor for bodies of water in this biome.",
"string": "boostringlean"
"$ref": "../../../../general/block/reference.json"
},
"foundation_material": {
"title": "Foundation Material",
"description": "Controls the block type used deep underground in this biome.",
"string": "string"
"$ref": "../../../../general/block/reference.json"
},
"sea_material": {
"title": "Sea Material",
"description": "Controls the block type used for the bodies of water in this biome.",
"string": "string"
"$ref": "../../../../general/block/reference.json"
},
"sea_floor_depth": {
"title": "Sea Floor Depth",
Expand Down
Loading
Loading