Answers for "how to detect if a player is in a minecart"

2

how to check if player is in minecart using /execute

/execute as @a[nbt={RootVehicle:{Entity:{id:"minecraft:minecart"}}}] run ...
Posted by: Guest on May-09-2021

Code answers related to "how to detect if a player is in a minecart"

Browse Popular Code Answers by Language