From bead9a5e995929fa114968e27955761c4fba6b03 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 7 Jun 2022 20:19:06 +0200 Subject: [PATCH] Added vibration_damper --- .../movement_sound_distance_offset.json | 17 +++++++++++++++++ .../format/components/vibration_damper.json | 9 +++++++++ 2 files changed, 26 insertions(+) create mode 100644 source/behavior/entities/format/components/movement_sound_distance_offset.json create mode 100644 source/behavior/entities/format/components/vibration_damper.json diff --git a/source/behavior/entities/format/components/movement_sound_distance_offset.json b/source/behavior/entities/format/components/movement_sound_distance_offset.json new file mode 100644 index 00000000..4b39eb9b --- /dev/null +++ b/source/behavior/entities/format/components/movement_sound_distance_offset.json @@ -0,0 +1,17 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.movement_sound_distance_offset", + "type": "object", + "title": "Movement Sound Distance Offset", + "description": "Sets the offset used to determine the next step distance for playing a movement sound.", + "required": ["value"], + "properties": { + "value": { + "type": "integer", + "default": 1.0, + "description": "The higher the number, the less often the movement sound will be played.", + "title": "Value" + } + }, + "additionalProperties": false, + "examples": [{ "value": 1.0 }, { "value": 0.5 }, { "value": 1.5 }] +} diff --git a/source/behavior/entities/format/components/vibration_damper.json b/source/behavior/entities/format/components/vibration_damper.json new file mode 100644 index 00000000..1ba3793e --- /dev/null +++ b/source/behavior/entities/format/components/vibration_damper.json @@ -0,0 +1,9 @@ +{ + "$id": "blockception.minecraft.behavior.entities.minecraft.vibration_damper", + "type": "object", + "title": "Vibration Damper", + "additionalProperties": false, + "required": [], + "properties": {}, + "description": "Vibrations emitted by this entity will be ignored." +}