Files
minecraft-bedrock-json-schemas/source/behaviour/loot_tables/conditions/random_chance.json
2021-02-01 18:39:12 +01:00

28 lines
685 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.condition.random_chance",
"type": "object",
"additionalProperties": false,
"description": "Sets a random chance of the specified value.",
"title": "Random chance",
"properties": {
"condition": {
"type": "string",
"title": "Condition",
"description": "TODO"
},
"chance": {
"type": "number",
"default": 0,
"description": "TODO",
"title": "Chance"
},
"max_chance": {
"type": "number",
"default": 0,
"description": "The maximum random chance value allowed.",
"title": "Max chance"
}
}
}