Custom BEWLR system and fixes#3
Merged
V972 merged 1 commit intoApr 24, 2026
Merged
Conversation
- Added mixin and accesstransformers. - Modified BEWLR class so it works with the new system. - Added "DinnerwareBEWLRManager" to handle BEWLRs internally and their registration. - Added "FMLClientSetupEvent" to "ModEventBusClientEvents", its used to register the custom BEWLR. - Removed forge BEWLR logic from "PlateBlockBlockItem". - Added helper method in "TrayItem" that retrieves the games partialTick, to fix the model from jittering. - Added "ItemRendererMixin" that applies the custom BEWLRs (see class for more details). - Added a custom "registry object", its essentially just a supplier that can be used to lazily initialize an object, which upon creation gets cached. - removed: "parent": "builtin/entity" from the tray item model, as its no longer needed or wanted. - Added mixins json. - Added accesstransformer file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DinnerwareBEWLRManagerto handle BEWLRs internally and their registration.FMLClientSetupEventtoModEventBusClientEvents, its used to register the custom BEWLR.PlateBlockBlockItem.TrayItemthat retrieves the games partialTick, to fix the models jittering.ItemRendererMixinthat applies the custom BEWLRs (see class for more details)."parent": "builtin/entity"from the tray item model, as its no longer needed or wanted.dinnerware.mixins.jsonfile.accesstransformer.cfgfile.