EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
837 stars 545 forks source link

Flag blocking Riptide dash #1805

Open DrBennelly opened 3 years ago

DrBennelly commented 3 years ago

Is your feature request related to a problem? Please describe. Players can skip jumps by using a Trident with Riptide in an Atlantica based dungeon (water everywhere)

Describe the solution you'd like A flag that blocks the dash from Riptide.

wizjany commented 3 years ago

iirc this is clientside and can't reliably be blocked by the server, not terribly interested in whatever hacky workarounds would be needed to trick the client for this.

YanisBft commented 3 years ago

wouldn't be possible to have a flag which checks for riptide enchantment on tridents, and cancels the throw?

L3v3lup commented 3 years ago

Setting the velocity 1 tick after the "OnRipTideEvent" to 0 (or 1.5) works!