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

Rework the provider system #5087

Open
wants to merge 32 commits into
base: 2.x
Choose a base branch
from
Open

Conversation

JRoy
Copy link
Member

@JRoy JRoy commented Aug 24, 2022

it's perfect

event providers are still ugly and im not touching them

@JRoy JRoy added type: enhancement Features and feature requests. module: main Issues or PRs for the main Essentials module labels Aug 24, 2022
@JRoy JRoy added this to the 2.20.0 milestone Aug 24, 2022
@JRoy JRoy requested review from mdcfe and pop4959 August 24, 2022 00:00
Copy link
Member

@pop4959 pop4959 left a comment

Choose a reason for hiding this comment

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

initial look-through

@JRoy JRoy requested a review from pop4959 August 24, 2022 01:20
pop4959
pop4959 previously approved these changes Aug 24, 2022
@pop4959
Copy link
Member

pop4959 commented Aug 24, 2022

should rebase to dev/2.20 branch, otherwise lgtm

JRoy added 2 commits October 13, 2022 11:44
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/IEssentials.java
pop4959
pop4959 previously approved these changes Oct 15, 2022
Copy link
Member

@pop4959 pop4959 left a comment

Choose a reason for hiding this comment

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

lgtm v2

JRoy added 2 commits November 8, 2022 11:56
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignEnchant.java
@JRoy JRoy modified the milestones: 2.20.0, 2.21.0 Apr 28, 2023
mdcfe
mdcfe previously requested changes Dec 18, 2023
Copy link
Member

@mdcfe mdcfe left a comment

Choose a reason for hiding this comment

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

Every provider getter is still objectively worse to both read and write than before. I'm still in favour of improving provider internals, but this PR either needs to retain the old provider getters, or significantly clean up provider usage to remove the repeated getter calls everywhere.

people may forget what these things do later
JRoy added 8 commits December 26, 2023 10:59
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
#	Essentials/src/main/java/com/earth2me/essentials/IEssentials.java
#	Essentials/src/main/java/com/earth2me/essentials/Kit.java
#	Essentials/src/main/java/com/earth2me/essentials/MetaItemStack.java
#	Essentials/src/main/java/com/earth2me/essentials/Settings.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandanvil.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandcartographytable.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandcreatekit.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandessentials.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandgrindstone.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandloom.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandsmithingtable.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandstonecutter.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/EssentialsCommand.java
#	Essentials/src/main/java/com/earth2me/essentials/items/FlatItemDb.java
#	Essentials/src/main/java/com/earth2me/essentials/items/LegacyItemDb.java
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignAnvil.java
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignCartography.java
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignGrindstone.java
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignLoom.java
#	Essentials/src/main/java/com/earth2me/essentials/signs/SignSmithing.java
#	Essentials/src/main/java/com/earth2me/essentials/utils/LocationUtil.java
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
#	Essentials/src/main/java/com/earth2me/essentials/IEssentials.java
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
#	Essentials/src/main/java/com/earth2me/essentials/IEssentials.java
#	Essentials/src/main/java/com/earth2me/essentials/RandomTeleport.java
#	Essentials/src/main/java/com/earth2me/essentials/commands/EssentialsCommand.java
#	Essentials/src/main/java/com/earth2me/essentials/items/FlatItemDb.java
#	providers/BaseProviders/src/main/java/net/ess3/provider/providers/BasePotionDataProvider.java
#	providers/BaseProviders/src/main/java/net/ess3/provider/providers/LegacyPotionMetaProvider.java
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/AlternativeCommandsHandler.java
@mdcfe mdcfe modified the milestones: 2.21.0, 2.21.1 Sep 15, 2024
JRoy added 2 commits October 13, 2024 18:44
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/commands/Commandrecipe.java
@JRoy JRoy requested a review from mdcfe November 9, 2024 15:07
JRoy added 7 commits November 24, 2024 18:21
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Essentials.java
#	Essentials/src/main/java/com/earth2me/essentials/RandomTeleport.java
# Conflicts:
#	Essentials/src/main/java/com/earth2me/essentials/Settings.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: main Issues or PRs for the main Essentials module type: enhancement Features and feature requests.
Projects
None yet
4 participants