Refactored item
This commit is contained in:
42
source/behavior/items/format/components/shooter.json
Normal file
42
source/behavior/items/format/components/shooter.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter",
|
||||
"title": "Shooter",
|
||||
"description": "Shooter Item Component.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ammunition": {
|
||||
"title": "Ammunition",
|
||||
"description": "Ammunition",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Ammunition",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" },
|
||||
"use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" },
|
||||
"search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" },
|
||||
"use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" },
|
||||
"launch_power_scale": {
|
||||
"title": "Launch Power Scale",
|
||||
"description": "Launch power scale. Default is set to 1.0.",
|
||||
"default": 1.0,
|
||||
"type": "number"
|
||||
},
|
||||
"max_draw_duration": { "title": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" },
|
||||
"max_launch_power": { "title": "Maximum Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" },
|
||||
"scale_power_by_draw_duration": {
|
||||
"title": "Scale Power By Draw Duration",
|
||||
"description": "Scale power by draw duration? Default is set to false.",
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user