Refactor
This commit is contained in:
13
source/behavior/loot_tables/conditions/random_chance.json
Normal file
13
source/behavior/loot_tables/conditions/random_chance.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user