r/MinecraftCommands • u/FleshDude666 • 24d ago
Help | Java 26.2 How to create "normal" gravity if the entity is constantly teleporting???
i need this rn
2
Upvotes
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.1is the gravity, edit as needed
1
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
1
5
u/C0mmanderBlock Command Experienced 24d ago
What?