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

Use built-in ResourceLocation type #811

Merged
merged 13 commits into from
Jun 10, 2024

Conversation

AlexProgrammerDE
Copy link
Contributor

No description provided.

# Conflicts:
#	protocol/src/main/java/org/geysermc/mcprotocollib/protocol/data/game/item/component/AdventureModePredicate.java
#	protocol/src/main/java/org/geysermc/mcprotocollib/protocol/data/game/item/component/ItemCodecHelper.java
#	protocol/src/main/java/org/geysermc/mcprotocollib/protocol/data/game/item/component/ToolData.java
@Camotoy
Copy link
Member

Camotoy commented Jun 1, 2024

I'm neutral on this and will delegate it to Bas or someone else to merge. I absolutely know that Keys are easier to use instead of loads of string splitting, but I did some testing and they do take up more memory, even with the minecraft prefix shared across all Key instances. So it's a tradeoff, and it's not one I'd prefer to push the merge button on.

# Conflicts:
#	protocol/src/test/java/org/geysermc/mcprotocollib/protocol/MinecraftProtocolTest.java
@AlexProgrammerDE AlexProgrammerDE requested a review from basaigh June 9, 2024 18:40
@basaigh basaigh merged commit 97b68ed into GeyserMC:master Jun 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants