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

Advancements implementation #1645

Merged
merged 19 commits into from
Dec 31, 2017

Conversation

Cybermaxke
Copy link
Contributor

@Cybermaxke Cybermaxke commented Dec 11, 2017

API | Common | Forge | Vanilla

This is the implementation of the advancements API.

@@ -66,13 +76,13 @@

@Shadow @Nullable public Advancement parent;
@Shadow @Final private ResourceLocation id;
@Shadow @Final private String[][] requirements;
Copy link
Member

Choose a reason for hiding this comment

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

Are these no longer final? Or are you mutating them later with the added AT? In all honesty, you could still set them internally because @Mutable and @Final still allows you to set these values within code. The only time you realistically have to mark them as non final is if you want to make a method overridable. Unless I'm mistaken and @Mumfrey can correct me on the statement above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not very familiar with all the available features in mixin, that's why I used the AT. I replaced most of the AT entries with @Mutable fields in the latest commit.

@Cybermaxke Cybermaxke changed the title [WIP] Advancements implementation Advancements implementation Dec 27, 2017
@parlough parlough removed the status: wip Work in progress label Dec 31, 2017
gabizou added a commit that referenced this pull request Dec 31, 2017
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
@gabizou gabizou merged commit b917de7 into SpongePowered:bleeding Dec 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement version: 1.12 (u) API: 7 (unsupported since May 21st 2021)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants