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
Conversation
721aae5
to
d6a523b
Compare
src/mixins/java/org/spongepowered/common/mixin/api/mcp/world/IWorldReaderMixin_API.java
Outdated
Show resolved
Hide resolved
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? |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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
38b5450
to
4f47a11
Compare
c1cd684
to
cf2e539
Compare
46c5b03
to
842adf2
Compare
src/mixins/java/org/spongepowered/common/mixin/api/mcp/world/WorldMixin_API.java
Outdated
Show resolved
Hide resolved
src/mixins/java/org/spongepowered/common/mixin/api/mcp/world/WorldMixin_API.java
Outdated
Show resolved
Hide resolved
Why do those mixins have the API name in their name in invalid? e.g IWorldMixin_LocationBasedDataHolder_API |
I separated them out to invalid so that we don't have a bunch of not implemented methods. |
1cba7cb
to
46fc9b0
Compare
No description provided.