Skip to content

Better integration of Model into the other libraries #108

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Flashing-Blinkenlights
Copy link
Collaborator

Main change is the creation of BlockGetterMixin and BlockPlacerMixin, which both provide virtual methods for getting and placing blocks respectively. This standardises these interactions across all classes that deal with blocks in a finite 3D space, such as the Model, Editor, and WorldSlice.

In particular, the Model now acts as the de-facto data structure for passing multiple blocks between these three classes.

@Flashing-Blinkenlights
Copy link
Collaborator Author

I still need to do a smoke test

@avdstaaij
Copy link
Owner

This is a very promising concept, but it's gonna be on hold until after #110.

@avdstaaij avdstaaij mentioned this pull request Jan 27, 2025
@avdstaaij avdstaaij force-pushed the master branch 4 times, most recently from c9219ee to 66745c8 Compare February 17, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants