1

Need help typing a command so the player sinks in the water

Bottetoundra719's Avatar Bottetoundra7198/23/23 11:38 am
1 emeralds 167
Hi everyone,

I am trying to prevent the player from swiming(sprint underwater) and swimming upwards, does anyone know how to do that?

I don't know if I've typed the command wrong...
Here's the command:
execute... if block ~ ~ ~ minecraft:water if block ~ ~-0.1 ~ minecraft:water at @s run tp @s ~ ~-0.3 ~

Thank you in advance
Posted by Bottetoundra719's Avatar
Bottetoundra719
Level 19 : Journeyman Warrior
1

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome