Vault Drawers (0.0.0-beta.6)
Curse Maven Snippet
What's new
v0.0.0-beta.6 - Fix FerriteCore crash + unbound block access
Fixed
- FerriteCore crash on startup:
IllegalStateExceptioninBlockMeta.<init>caused byIntegerSetPropertyreturning non-deterministic value order. Fixed by sorting values ingetPossibleValues(). - Unbound block access crashes:
NullPointerException: Trying to access unbound valueforvault_drawers:keybutton_drawerandvault_drawers:meta_indicator. Fixed by deferring block lookups inside DeferredRegister suppliers for both BlockItems and BlockEntityTypes.
Technical Changes
IntegerSetProperty.getPossibleValues()now returns a sortedList<Integer>for FerriteCore FastMap compatibility.ModItems.registerBlockLazy()— BlockItems now capture block holders and resolve them lazily when the item supplier executes.ModBlockEntities— BlockEntityType suppliers now resolve valid blocks inside the supplier, after blocks are registered.
Note: These crashes occurred during the RegisterEvent phase when items/block entities tried to access blocks that hadn't been fully registered yet. The fix ensures all block lookups happen after the block registration phase completes.
JAR: vault_drawers-26.2-neoforge-26.2.0.57-0.0.0-beta.6.jar
Tag: 26.2-neoforge-beta.6
This mod has no additional files

