19 lines
821 B
JSON
19 lines
821 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.condition.random_chance_with_looting",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"description": "Sets a random chance of the specified value. Looting enchantment increase the random chance multiplier.",
|
|
"title": "Random Chance With Looting",
|
|
"properties": {
|
|
"condition": { "type": "string", "title": "Condition", "description": "TODO" },
|
|
"chance": { "type": "number", "default": 0, "description": "The random chance of the value.", "title": "Chance" },
|
|
"looting_multiplier": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The multiplier for the chance if the target entity has the looting enchant that affects the actor.",
|
|
"title": "Looting Multiplier"
|
|
}
|
|
}
|
|
}
|