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

Allow querying block entity data from archetype #3931

Merged
merged 4 commits into from
May 5, 2024

Conversation

aromaa
Copy link
Member

@aromaa aromaa commented Dec 7, 2023

Allows creating a BlockEntityArchetype from a BlockSnapshot that is able to query the underlying block entity data. Gabi has some concerns regarding this how it interacts with mods. With the old API 7 system we had problems with tile entities related to the block operations but is the impact here now as big as it was?

This data would be only available when a plugin developer asks for it and the mods do not have access to the Level which they came from which limits the bad things mods could do. Imo no mod should do anything that has side effects in serialization and we should instead ask them to do something alternative.

@aromaa aromaa marked this pull request as ready for review May 5, 2024 23:16
@aromaa aromaa merged commit 97b5c0a into api-11 May 5, 2024
13 checks passed
@aromaa aromaa deleted the data/entity-archetype-data branch May 5, 2024 23:24
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.

1 participant