Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
Affects Version/s: Minecraft 17w50a
-
Fix Version/s: None
-
Labels:
-
Confirmation Status:Unconfirmed
Description
The Bug:
Functions that teleport entities will refer to their initial location when executing commands after the teleportation.
How to Reproduce:
- Create a function with these two commands:
tp @s ~4 ~ ~ setblock ~ ~-1 ~ red_concrete
- Use this function in the world.
→ You would expect for this function to move you, then set a concrete block under your new location, but the concrete block is under where you were before you were teleported.
Attachments
Issue Links
- duplicates
-
MC-122726 Command execution position within a function not updated by tp command
- Resolved