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

25w04a stuff I missed #4099

Merged
merged 1 commit into from
Jan 23, 2025
Merged

25w04a stuff I missed #4099

merged 1 commit into from
Jan 23, 2025

Conversation

Shnupbups
Copy link
Contributor

There's still a couple things left that I've not touched (for example, a datafix I don't know what to name, a functional interface I can't find what it's used for, the item subpredicate stuff for which my brain's too fried right now to make heads or tails of, etc.) but this should likely be my last PR for this snapshot :)

There's still a couple things left that I've not touched (for example, a datafix I don't know what to name, a functional interface I can't find what it's used for, the item subpredicate stuff for which my brain's too fried right now to make heads or tails of, etc.) but this should likely be my last PR for this snapshot :)
@Shnupbups Shnupbups added refactor A PR that renames existing names. new A PR that maps mainly new names snapshot A PR that targets a snapshot version of Minecraft labels Jan 23, 2025
@Shnupbups Shnupbups requested review from apple502j and a team January 23, 2025 11:08
@@ -0,0 +1,12 @@
CLASS net/minecraft/class_10719 net/minecraft/client/world/DataCache
Copy link
Contributor

Choose a reason for hiding this comment

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

I was hesitating on whether or not to call this one a cache, but considering that it can regenerate the stored data at any time, this is probably the right choice.

However, I think this name is way too generic for the two specific usages it has. I like the change from "world" to "context" (since the type parameter implies there could be other kinds of contexts in the future, even though it's only used with ClientWorld right now), so maybe ContextDependentDataCache?

@apple502j apple502j merged commit 3bc66c7 into FabricMC:25w04a Jan 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new A PR that maps mainly new names refactor A PR that renames existing names. snapshot A PR that targets a snapshot version of Minecraft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants