Skip to content

[26.1.2] Resolve Pool name collision#50

Open
bluebear94 wants to merge 1 commit into
RelativityMC:ver/26.1.2from
bluebear94:mf/pool-renames
Open

[26.1.2] Resolve Pool name collision#50
bluebear94 wants to merge 1 commit into
RelativityMC:ver/26.1.2from
bluebear94:mf/pool-renames

Conversation

@bluebear94
Copy link
Copy Markdown
Collaborator

@bluebear94 bluebear94 commented May 20, 2026

Executive summary

  • net.minecraft.client.util.Pool has been renamed to ObjectPool to remove the name collision with net.minecraft.util.collection.Pool.
  • net.minecraft.util.collection.Pool has been renamed to WeightedPool (the official name is likely WeightedList as mentioned in error messages, but there is an existing class with this as its Yarn name).
  • WeightedList has been renamed to ShufflingList (mentioned in its toString implementation).
  • Several memory-related client util classes have been moved to their own package.

See #51 for 26.2-snapshot-8.

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.

1 participant