Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/random_offset.json
Xterionix 5503ea5612 1.21.100 (#363)
* - Added replacements for enderman block place/take behaviors
* - Added transport items goal
* - Added grass_is_shaded property
* - Removed experimental tag for movable component
* - Remove experimental tag from random offset
* - Added can_wear_armor field
* - Added "none" heightmap projection
* - Improved descriptions for jigsaw rule
* - Added blockstate and random block state predicates
* - Improve rule descriptions
* - Added min and max values for terrain texture variations
* - Update template pool with empty pool
* - Improved surface builder component
* - Added humidity biome component
* - Added partially frozen biome component
* - Renamed to rotation_axis_aligned
* - Added map_tints biome component
2025-08-08 15:59:24 +02:00

56 lines
1.6 KiB
JSON

{
"$id": "blockception.minecraft.behavior.blocks.minecraft.random_offset",
"title": "Random Offset",
"description": "This allows for blocks to randomly offset like foliage does in the Vanilla game",
"type": "object",
"additionalProperties": false,
"definitions": {
"entry": {
"type": "object",
"additionalProperties": false,
"properties": {
"range": {
"title": "Range",
"description": "This is the range of possible values we can pick from",
"type": "object",
"additionalProperties": false,
"properties": { //TODO: Find out if -4 and 4 are the min and max values allowed
"min": {
"title": "Min",
"description": "Lower bound",
"type": "integer"
},
"max": {
"title": "Max",
"description": "Upper bound",
"type": "integer"
}
}
},
"steps": {
"title": "Steps",
"description": "This is the equally spaced steps across the given range. Provide 0 for all possible values in the range",
"type": "integer"
}
}
}
},
"properties": {
"x": {
"title": "X",
"description": "Random offset on the x-axis",
"$ref": "#/definitions/entry"
},
"y": {
"title": "Y",
"description": "Random offset on the y-axis",
"$ref": "#/definitions/entry"
},
"z": {
"title": "Z",
"description": "Random offset on the z-axis",
"$ref": "#/definitions/entry"
}
}
}