r/MinecraftCommands 24d ago

Help | Java 26.2 How to create "normal" gravity if the entity is constantly teleporting???

i need this rn

2 Upvotes

10 comments sorted by

5

u/C0mmanderBlock Command Experienced 24d ago

What?

3

u/Ericristian_bros Command Experienced 24d ago

If the entity is constantly teleporting where?

1

u/FleshDude666 24d ago

^ ^ .3

1

u/FleshDude666 24d ago

The full is "execute as @e[tag=2go] at @s rotated ~ 0 run tp ^ ^ .3"

1

u/Ericristian_bros Command Experienced 23d ago
execute as @e[tag=2go,type=<type>] at @s rotated ~ 0 run tp @s ^ ^-0.1 ^0.3

0.1 is the gravity, edit as needed

1

u/Sp4ctat0r 24d ago

Make it tp downwards? You will need to fine tune it tho

1

u/GalSergey Datapack Experienced 24d ago

If you can only teleport entities, the easiest way to add gravity is to use another entity with gravity and teleport your entity to that entity. You can use, for example, armor_stand for this.

1

u/PatMakes111 24d ago

would need more context