Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.100/components/minecraft.throwable.json

32 lines
1.5 KiB
JSON
Raw Normal View History

2021-01-05 00:13:27 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:",
2021-01-18 01:29:00 +01:00
"title": "Throwable",
2021-01-05 00:13:27 +01:00
"description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object",
"additionalProperties": false,
"properties": {
"do_swing_animation": {
2021-03-21 15:18:38 +01:00
"title": "Do Swing Animation",
2021-01-05 00:13:27 +01:00
"description": "Whether the item should use the swing animation when thrown. Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
2021-03-21 15:18:38 +01:00
"title": "Launch Power Scale",
2021-01-05 00:13:27 +01:00
"description": "The scale at which the power of the throw increases. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
2021-03-21 15:18:38 +01:00
"max_draw_duration": { "title": "Max Draw Duration", "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"min_draw_duration": { "title": "Min Draw Duration", "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "The maximum power to launch the throwable item. Default is set to 1.0.", "default": 1.0, "type": "number" },
2021-01-05 00:13:27 +01:00
"scale_power_by_draw_duration": {
2021-03-21 15:18:38 +01:00
"title": "Scale Power By Draw Duration",
2021-01-05 00:13:27 +01:00
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",
"default": false,
"type": "boolean"
}
}
}