Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow for teleporting to player or relative position #1683

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

EmosewaMC
Copy link
Collaborator

@EmosewaMC EmosewaMC commented Dec 16, 2024

tested with the following chat commands
updated the docs

[15-12-24 22:45:24 SlashCommandHandler.cpp:53] Handling command "tele" with args "EmosewaMC ~"
[15-12-24 22:45:29 SlashCommandHandler.cpp:53] Handling command "tele" with args "EmosewaMC candidmiracleflapjack"
[15-12-24 22:45:39 SlashCommandHandler.cpp:53] Handling command "tele" with args "candidmiracleflapjack emosewamc"
[15-12-24 22:45:41 SlashCommandHandler.cpp:53] Handling command "tele" with args "candidmiracleflapjack emosewamc"
[15-12-24 22:45:46 SlashCommandHandler.cpp:53] Handling command "tele" with args "EmosewaMC candidmiracleflapjack"
[15-12-24 22:45:53 SlashCommandHandler.cpp:53] Handling command "tele" with args "100 100"
[15-12-24 22:45:55 SlashCommandHandler.cpp:53] Handling command "tele" with args "100 100 100"
[15-12-24 22:46:04 SlashCommandHandler.cpp:53] Handling command "tele" with args "EmosewaMC 100"
[15-12-24 22:46:06 SlashCommandHandler.cpp:53] Handling command "tele" with args "EmosewaMC ~"
[15-12-24 22:46:13 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~"
[15-12-24 22:46:18 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~+10"
[15-12-24 22:46:20 SlashCommandHandler.cpp:53] Handling command "tele" with args "~-10 ~+10"
[15-12-24 22:46:27 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~ ~\"
[15-12-24 22:46:28 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~ ~"
[15-12-24 22:46:36 SlashCommandHandler.cpp:53] Handling command "tele" with args "~-10 ~+10 ~-10"
[15-12-24 22:46:45 SlashCommandHandler.cpp:53] Handling command "tele" with args "~-10 ~ ~-10"
[15-12-24 22:46:57 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~+50 ~"
[15-12-24 22:47:01 SlashCommandHandler.cpp:53] Handling command "tele" with args "~ ~+100 ~"

aronwk-aaron
aronwk-aaron previously approved these changes Dec 16, 2024
@jadebenn
Copy link
Collaborator

Does this still preserve the option to teleport by coords?

@EmosewaMC
Copy link
Collaborator Author

Does this still preserve the option to teleport by coords?

lines 6 and 7 of the test cases test this

@aronwk-aaron aronwk-aaron merged commit ba36480 into main Dec 17, 2024
4 checks passed
@jadebenn jadebenn deleted the teleport-addition branch December 17, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants