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

Add back //flip and //rotate #253

Open
wants to merge 25 commits into
base: clipboard
Choose a base branch
from
Open

Conversation

inxomnyaa
Copy link
Owner

See #252

@inxomnyaa inxomnyaa linked an issue Jul 9, 2022 that may be closed by this pull request
10 tasks
- Selection now takes in Vector3 instead of integers
- Fixed a (potential, faced it due to a bug) crash when loading sessions from json caused by undefined shape properties
- Removed some unnecessary return values from methods
- Fixed some crashes when updating Outline or Scoreboard
- Updated rotate action to use the API method
- Added Shape::rotate()
- Fixed crash with ScoreFactory when leaving the server
- Added many try-catch blocks and debug TODO remove
TODO make compatible with JE debug stick NBT
- Inform user about crashed tasks
- Fix empty rotation data on async threads (hack, TODO store globabally/shared)
- Use libblockstate's replaceBlockStateValue method for rotate/flip/debug stick
- Change blockstates in replace/flip
- Added API::entryToState() and API::stateToEntry()
- Added API::rotateBlockState() to allow rotating on async and main thread
- removed old var_dump()'s
- Require libblockstate 0.1.0 to support rotation/flip
No idea why usersession would be null.. but it happened, so here is a fix.
Fixed void chunks, place offset works again
Removed fast chunk render hack
Replace leftover AsyncChunkManager with AsyncWorld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TODO] Reimplement //rotate and //flip
1 participant