1.21.120 (#392)
* - Fix typo "torse" -> "torso" * - Added "main_hand" as an equipment location * - Added support for "beta" version of script modules * - Update point lights to local light * - Added precipitation_interactions * - Added control flags field to more goals * - Update fire_resistant to not accept direct values * - Added swing_duration component * - Added emissive block rendering * - Added emit_vibrations field to use_modifiers * - Added underwater ambient sounds - Added chance field to ambient sound addition * - Added alpha_masked_tint * - Added apply_knockback_to_blocking_targets field to projectile
This commit is contained in:
@@ -2,18 +2,11 @@
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:fire_resistant",
|
||||
"title": "Fire Resistant",
|
||||
"description": "Determines whether an item is immune to burning when dropped in fire or lava",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
15
source/behavior/items/format/components/swing_duration.json
Normal file
15
source/behavior/items/format/components/swing_duration.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items.minecraft:swing_duration",
|
||||
"title": "Swing Duration",
|
||||
"description": "Duration, in seconds, of the item's swing animation played when mining or attacking. Affects visuals only and does not impact attack frequency or other gameplay mechanics.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "Duration, in seconds, of the item's swing animation played when mining or attacking. Affects visuals only and does not impact attack frequency or other gameplay mechanics.",
|
||||
"minimum": 0,
|
||||
"type": "number",
|
||||
"default": 0.3
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,12 @@
|
||||
"description": "How long the item takes to use in seconds.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"emit_vibrations": {
|
||||
"title": "Emit Vibrations",
|
||||
"description": "Whether vibrations are emitted when the item starts or stops being used.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
"minecraft:storage_item": { "$ref": "./components/storage_item.json" },
|
||||
"minecraft:storage_weight_limit": { "$ref": "./components/storage_weight_limit.json" },
|
||||
"minecraft:storage_weight_modifier": { "$ref": "./components/storage_weight_modifier.json" },
|
||||
"minecraft:swing_duration": { "$ref": "./components/swing_duration.json" },
|
||||
"minecraft:tags": { "$ref": "./components/tags.json" },
|
||||
"minecraft:throwable": { "$ref": "./components/throwable.json" },
|
||||
"minecraft:use_animation": { "$ref": "./components/use_animation.json" },
|
||||
|
||||
Reference in New Issue
Block a user