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

Preperations for block containment checking conversion #782

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Atdit
Copy link
Contributor

@Atdit Atdit commented Jun 8, 2021

These changes do not change any game mechanics at all, but will be necessary for the upcoming block containment checking conversion from block positions to coordinates. It will make the final conversion PR a lot more smaller and readable. For the conversion to take effect after this PR, the only changes left have to be done in the individual Region.contains(Block block) methods.

Tested.

Important note: I made changes to the cylinder/(hemi)sphere classes getBlocks() methods to remove redundant code, however, I'm unsure if there was an actual intention behind that code. The only usage for getBlocks() is found in portals, which I tested and still worked.

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.

1 participant