Files
minecraft-bedrock-json-schemas/source/behavior/loot_tables/conditions/random_difficulty_chance.json
2021-05-26 01:23:51 +02:00

41 lines
1.5 KiB
JSON

{
"$id": "blockception.minecraft.behavior.condition.random_difficulty_chance",
"type": "object",
"additionalProperties": false,
"description": "Sets a random chance of the specified value based on the level difficulty.",
"title": "Random Difficulty Chance",
"properties": {
"condition": { "type": "string", "title": "Condition", "description": "TODO" },
"default_chance": {
"type": "number",
"default": 0,
"description": "The default random chance if the level difficulty is not assigned.",
"title": "Default Chance"
},
"easy": {
"type": "number",
"default": 0,
"description": "The default random chance if the level difficulty is in easy. Omitting this field will set the value to \"default_chance\" field.",
"title": "Easy"
},
"hard": {
"type": "number",
"default": 0,
"description": "The default random chance if the level difficulty is in hard. Omitting this field will set the value to \"default_chance\" field.",
"title": "Hard"
},
"normal": {
"type": "number",
"default": 0,
"description": "The default random chance if the level difficulty is in normal. Omitting this field will set the value to \"default_chance\" field.",
"title": "Normal"
},
"peaceful": {
"type": "number",
"default": 0,
"description": "The default random chance if the level difficulty is in peaceful. Omitting this field will set the value to \"default_chance\" field.",
"title": "Peaceful"
}
}
}