Skip to content

Add configurable shield blocking delay#771

Open
vhs03 wants to merge 1 commit into
Winds-Studio:ver/1.21.11from
vhs03:ver/1.21.11
Open

Add configurable shield blocking delay#771
vhs03 wants to merge 1 commit into
Winds-Studio:ver/1.21.11from
vhs03:ver/1.21.11

Conversation

@vhs03

@vhs03 vhs03 commented Jun 10, 2026

Copy link
Copy Markdown

Adds a new shield blocking delay option to leaf-global.yml

Shields normally take 5 ticks before they start blocking after being raised and there was no easy way to change that anymore after Paper removed their option for it in the 1.21.5 update

This adds the setting back in Leaf so you can control the delay again

Lower values make shields feel more responsive which is useful for pvp servers where even a few ms can make a difference

@vhs03

vhs03 commented Jun 11, 2026

Copy link
Copy Markdown
Author

Im aware that you can already do this now by using data component
The difference is that this only affects the specific shields where the component is actually changed
It does not automatically apply to every normal shield on the server such as crafted shields
This setting is more convenient when you just want all shields to be more responsive globally without having to replace every shield or make custom items for it

This basically just changes the default value

@vhs03

vhs03 commented Jun 11, 2026

Copy link
Copy Markdown
Author

This just changes the default value which is a lot easier than making a custom plugin which permanently has to detect and edit the data components of every shield

So this change makes more sense in the server software rather than in a plugin

@Dreeam-qwq Dreeam-qwq added the type: feature Pull request for adding new features label Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Pull request for adding new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants