Danlib Mod does not add blocks, items, or crafting recipes to your inventory. Instead, it runs quietly in the background to change how block menu screens behave during gameplay.
Why vanilla block screens close
In vanilla Minecraft, opening a block menu screen—such as a crafting table, furnace, or anvil—ties your open interface directly to that exact block type and position. If another mod attempts to open that same menu screen from a different block or an atypical source, the base game's interface checks will normally force the screen to close immediately.
How Block Screen Memory works in-game
Danlib Mod uses code mixins to adjust the base game classes responsible for these interface checks. This provides a feature called Block Screen Memory:
- No premature closing: Once a block menu screen is opened, Danlib keeps the screen active and stable regardless of which block actually triggered it.
- Unchanged normal interactions: While it keeps these screens open for connected mods, it does not alter standard vanilla block interactions. Right-clicking ordinary blocks, crafting, and moving items between slots work exactly as they do in an unmodded game.
- No setup required: You do not need to press any keybinds or run any commands to enable Block Screen Memory; it is active automatically as soon as the world loads.