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

implement World/ServerWorld #2627

Merged
merged 1 commit into from Jul 1, 2020
Merged

implement World/ServerWorld #2627

merged 1 commit into from Jul 1, 2020

Conversation

Faithcaio
Copy link
Contributor

No description provided.

@Faithcaio Faithcaio force-pushed the api8/world branch 2 times, most recently from 721aae5 to d6a523b Compare May 30, 2020 17:40
@Faithcaio Faithcaio marked this pull request as ready for review May 30, 2020 22:27
return false;
}
default boolean setBlock(int x, int y, int z, org.spongepowered.api.block.BlockState blockState, BlockChangeFlag flag) {
return IWorldGenerationReaderMixin_API.super.setBlock(x, y, z, blockState, flag); // TODO is capture needed here?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gabizou api7 code was capturing stuff in this method. Is this needed here?
Otherwise IWorldGenerationReaderMixin_API already has the redirect to the shadow$setBlockState

}

@Override
default void setRawData(final int x, final int y, final int z, final DataView container) throws InvalidDataException {
default boolean spawnEntity(Entity entity) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gabizou api7 code was capturing stuff in this method. Is this needed here?
Otherwise IWorldWriterMixin_API already has the redirect to the shadow$addEntity

@Zidane
Copy link
Member

Zidane commented Jun 29, 2020

Why do those mixins have the API name in their name in invalid?

e.g IWorldMixin_LocationBasedDataHolder_API

@Faithcaio
Copy link
Contributor Author

I separated them out to invalid so that we don't have a bunch of not implemented methods.

@Faithcaio Faithcaio force-pushed the api8/world branch 2 times, most recently from 1cba7cb to 46fc9b0 Compare June 30, 2020 19:52
@Faithcaio Faithcaio merged commit b1b9afa into api-8 Jul 1, 2020
@Faithcaio Faithcaio deleted the api8/world branch July 1, 2020 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants