Update blocks and items to newest format (#215)
* Add emit_vibration * Add min and max bounds to collision_box * Remove experimental label from crafting_table * Fix flammable definition * Add geometry.cross * Add culling property to block_culling_rules * Add max length to loot * Remove part visibility * Remove experimental label from placement filter * Add min max bounds to selection box * Remove unit cube as deprecated * Remove armor component * Add protection to wearable * Remove render offsets * Remove on_dig * Remove dye powder * Remove knockback resistance * Update durability * Remove foil * Add glint * Update hand_equipped * Update food * Remove frame from :icon * Remove max damage * Remove on_use * Remove on_use_on * Update max stack size * Update repairable * Updated :shooter * Update stacked by data * Add use modifiers * Remove use_duration * Remove weapon * Add allow_off_hand * Add can_destroy_in_creative * Add damage * Fix max_stack_size * Add enchantable * Add hover text color * Add liquid clipped * Add record * Add should_despawn * Tags component * Add use_animation * Update item components * Update block components * Update source/behavior/entities/format/events.json --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
22
source/behavior/items/format/components/use_modifiers.json
Normal file
22
source/behavior/items/format/components/use_modifiers.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:use_modifiers",
|
||||
"additionalProperties": false,
|
||||
"required": ["use_duration"],
|
||||
"type": "object",
|
||||
"title": "Use Modifiers",
|
||||
"description": "How long to use before item is done being used.",
|
||||
"properties": {
|
||||
"movement_modifier": {
|
||||
"title": "Movement Modifier",
|
||||
"description": "Modifier value to scale the players movement speed when item is in use.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"use_duration": {
|
||||
"title": "Use Duration",
|
||||
"description": "How long the item takes to use in seconds.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user