Skip to content

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