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

Remove deprecated BlockRenderLayerMap#putItem* #4090

Merged

Conversation

PepperCode1
Copy link
Member

These methods turn the item into a block using Block.getBlockFromItem(Item) and use that block for actual registration. Thus, the putIem* methods are unnecessary and in my opinion are a confusing API. The comment that says "in previous snapshots Items had their own map for render layers" also makes me think that these methods were added and should have been removed in the same snapshot cycle, but were not.

@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Sep 13, 2024
@modmuss50 modmuss50 merged commit 91470af into FabricMC:1.21.2 Sep 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me please Pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants