Vault Drawers (0.0.0-beta.8)
Curse Maven Snippet
What's new
v0.0.0-beta.8 - Fix recipe sync disconnect on world join
Fixed
- Client disconnect on world join (recipe sync): all five custom recipe serializers in
ModRecipesbuilt theirMapCodecwithMapCodec.unit(X::new)(a fresh recipe instance on every datapack load) but theirStreamCodecwithStreamCodec.unit(new X())(a different fixed instance).StreamCodec.unitchecks identity on encode, so sending theneoforge:recipe_contentpayload to the client threwIllegalStateException: Can't encode ...@a, expected ...@b→EncoderException→ the client was dropped right after joining. Each recipe now uses a single shared singleton instance for both codecs. - Recipe
personal_key_cofhdropped with warning: the recipe referenced the item tag#cofh_core:crafting/locks; when that tag is empty or absent, 26.2 discarded the whole recipe ("can't be placed due to empty ingredients"). It is now wrapped in aneoforge:not+neoforge:tag_emptyload condition so it only loads when the tag is populated.
Removed
- Empty Java package directories: the dead
com/jaquadro/**tree inherited from the original mod's package name, plusclient/gui,event,framingandrecipeundercom/stalkingdragons/minecraft/vaultdrawers/.
Technical Changes
ModRecipes: added oneprivate static finalsingleton per custom recipe (ADD_UPGRADE,KEYRING,REMOTE_GROUP_UPGRADE,DETACHED_UPGRADE,PERSONAL_KEY), passed to bothMapCodec.unit(...)andStreamCodec.unit(...).data/vault_drawers/recipe/personal_key_cofh.json: addedneoforge:conditionsblock.
JAR: vault_drawers-26.2-neoforge-26.2.0.57-0.0.0-beta.8.jar
Tag: 26.2-neoforge-beta.8
This mod has no additional files

