2024-02-11 16:05:56 +05:00
|
|
|
{
|
|
|
|
|
"$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
|
2025-10-15 12:51:49 -05:00
|
|
|
},
|
|
|
|
|
"emit_vibrations": {
|
|
|
|
|
"title": "Emit Vibrations",
|
|
|
|
|
"description": "Whether vibrations are emitted when the item starts or stops being used.",
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
2024-02-11 16:05:56 +05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|