effect give @s[gamemode=adventure] minecraft:levitation 1 3 true
execute as @s[gamemode=adventure] if entity @s[type=minecraft:player,predicate=effect:levitation] run function effect:levitation/check
return 1