From e786383e10104aa9ad7747baee6d7e7446b73dbc Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Wed, 21 Jan 2026 19:22:52 +0100 Subject: [PATCH] make interactions with empty hand work --- .../Item/Unarmed/Interactions/Empty.json | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 src/main/resources/Server/Item/Unarmed/Interactions/Empty.json diff --git a/src/main/resources/Server/Item/Unarmed/Interactions/Empty.json b/src/main/resources/Server/Item/Unarmed/Interactions/Empty.json new file mode 100644 index 0000000..84c077d --- /dev/null +++ b/src/main/resources/Server/Item/Unarmed/Interactions/Empty.json @@ -0,0 +1,96 @@ +{ + "Interactions": { + "Wielding": "Double_Jump", + "Primary": { + "Settings": { + "Adventure": { + "Cooldown": { + "Id": "BlockInteraction", + "Cooldown": 0.35 + } + }, + "Creative": { + "AllowSkipChainOnClick": true, + "Cooldown": { + "Id": "BlockInteraction_Creative", + "Cooldown": 0.35, + "ClickBypass": true + } + } + }, + "Interactions": [ + { + "Type": "Simple", + "Next": { + "Type": "UseBlock", + "Failed": "Unarmed_Attack" + } + } + ] + }, + "Use": { + "Settings": { + "Adventure": { + "Cooldown": { + "Id": "BlockInteraction", + "Cooldown": 0.35 + } + }, + "Creative": { + "Cooldown": { + "Id": "BlockInteraction_Creative", + "Cooldown": 0.35, + "ClickBypass": true + } + } + }, + "Interactions": [ + { + "Type": "Simple", + "Effects": { + "ItemAnimationId": "Interact" + }, + "Next": { + "Type": "UseBlock", + "Failed": { + "Type": "UseEntity", + "Failed": { + "Type": "BreakBlock", + "Harvest": true + } + } + } + } + ] + }, + "Pick": { + "Settings": { + "Adventure": { + "Cooldown": { + "Id": "BlockInteraction", + "Cooldown": 0.35 + } + }, + "Creative": { + "Cooldown": { + "Id": "BlockInteraction_Creative", + "Cooldown": 0.35, + "ClickBypass": true + } + } + }, + "Interactions": [ + { + "Type": "Simple", + "Effects": { + "ItemAnimationId": "Interact" + }, + "Next": { + "Type": "PickBlock" + } + } + ] + }, + "Secondary": "Block_Secondary" + } +}