Skip to content

Functional trays, Advancements, shitton of fixes and some QoL#5

Merged
V972 merged 17 commits into
masterfrom
feature/functional-tray-advancements
May 5, 2026
Merged

Functional trays, Advancements, shitton of fixes and some QoL#5
V972 merged 17 commits into
masterfrom
feature/functional-tray-advancements

Conversation

@V972
Copy link
Copy Markdown
Owner

@V972 V972 commented May 5, 2026

+ Add gold tray and rename old one to iron tray;
* Update tray model, courtesy of QueeZeR
+ Add placing and picking up plates with trays;
+ Add Manual Trigger advancement criterion;
+ Add 4 advancements and Datagen;
+ Add tags for mod items, apply them instead of arrays/sets iteration wherever possible.
+ Add "Food Blacklist" option to forbid eating items inside it, even if they can be placed inside and apply it;
+ Add Dynamic offset for plate towers (5-16) on trays;
+ Add trayDynamicPlateOffset config option;
* Rewrite entityInside to actually check plate AABB and only from sides/top;
* Fix entity-in-block check to check for plate AABB + some graze instead of a whole ass block space;
+ Add 'fragile_plate_ignored' tag;
* Partially fix recipe datagen (iron plate messing bucket recipe)
* Semi-fix recipe unlock criteria shitting itself because of tags
+ Make wooden plates can be used as fuel for 0.75 of an item.
* Fix description id for subtitles.
* Configure sounds.json a bit;
* Add translations for new stuff;
* Merge #3 and #4 by andrew0030 with Tray BEWLR and advancement detection fixes;
* Add andrew0030 to credits;
* Update ReadMe-s;
* Bump patch version a few times.

Also includes commented out and unused draft for cut future features.

Vladyslav Kholiev and others added 17 commits April 24, 2026 00:26
+ Add Manual Trigger advancement criterion;
+ Add Datagen for advancements;
+ Add 4 advancements;
+ Add gold tray and rename old one to iron tray;
+ Adapt bundle code to not have a "weight" limit;
+ Add placing and picking up plates with trays;
+ Configure advancements detections for manual trigger;
* Add translations for new stuff;
* Bump patch version;
- 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.
… wherever possible.

* Fix bottom plate being too low and clipping through the tray now that its visible
* Add andrew0030 to credits
- Fixed "QUICK_CRAFT" advancement not getting triggered, by implementing an internal cache to keep track of what slots are being changed. After all other logic has finished, it is then used to determine if an item was inserted that should trigger the advancement.
- Cleaned up "PlateMenu" code.
- Added a new accesstransformer for "quickcraftSlots".
…ments

Fixed "QUICK_CRAFT" advancement trigger
* Fix tray sounds not playing when picking up plates in world;
* Configure tray to use Pickup sound for loading, no sound for unloading and use bundle sounds in inventory;
* Fix plate placing sound not playing;
* Configure sounds.json a bit;
* Fix tray placing a plate inside entity;
* Bump patch-version, ever closer to release.
…if they can be placed inside and apply it:

+ Add config field;
+ Add relaxed validation to only crash if user added some bs to the list;
+ Add translatable blacklist message;
* Apply blacklist check to eating attempt;
* Apply blacklist check to slot fetching for both non-aim eating modes;
* Fix description id for subtitles.
+ Add trayDynamicPlateOffset config option;
* Pass displayContext from BEWLR to helper method;
+ Add logic to plates positioning code to offset plates. More info in the comments in the methods themselves.
…d fragile-breaking:

* Rewrite entityInside to actually check plate AABB and only from sides/top;
* Fix entity-in-block check to check for plate AABB + some graze instead of a whole ass block space;
* Add missing advancement check on GUI actions;
* Bump patch version
+ Add burnTime field  and override the burnTime method;
+ Add constructor with burn time param, default one now sets 0;
* Adjust wooden plates constructors;
@V972 V972 merged commit 0f292f3 into master May 5, 2026
@V972 V972 deleted the feature/functional-tray-advancements branch May 5, 2026 10:07
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.

2 participants