Skip to main content

EMI Redefined sharing and configuration

Mod version shipped with FlammiCraft: 1.1.45+1.21.1+neoforge

Handbook overview

Recipe sharing

Recipes with an ID can be shared using the share button when EMI Redefined is installed on both the client and server. Shared recipes appear in chat with ingredient tooltips and can be clicked to open them. Sharing is limited to once every three seconds per player. The button and incoming previews can be disabled in EMI settings. If EMI Recipe Sharing is installed, its share button remains in charge.

Items can also be shared using the configurable Share Item in Chat binding (Ctrl + Shift + S by default). Hover an item in the inventory, EMI sidebar or a recipe and press the configured key. The chat link preserves stack count and components, shows the item tooltip, and opens item recipes when clicked. Item and recipe sharing use the same three-second cooldown. Incoming item shares can be disabled in EMI settings. Item data is limited to 16 KiB per share.

Mod recipe layouts, including JEI categories imported into EMI, use the same recipe share button. They need a stable recipe ID and matching recipes on the receiving client; categories without recipe IDs cannot currently be shared.

Recipe sharing is adapted from EMI Recipe Sharing by Starforcraft under the MIT license; see LICENSE-recipe-sharing.txt.

JEI-style recipe view

The recipe view includes the appearance of EMI JEI Style directly on Fabric and NeoForge. It is enabled automatically and requires neither the separate addon nor JEI. Small rounded gray frames and a one-pixel shadow separate recipe panels; their palette remains replaceable through assets/emi/textures/gui/recipe_palette.png. Minecraft's font and EMI's existing hover accents keep the controls familiar.

Recipes share the available vertical space evenly, with frame sizes, side buttons and bottom workstations included in the layout. A page counter above the category tabs appears when the categories span multiple tab pages; the screen reserves room for it at smaller GUI sizes. Recipe previews use the same panel renderer.

The integration is adapted from EMI JEI Style 0.7.0, published by CurseForge user Uiu____ under MIT as declared in the addon metadata. See LICENSE-emi-jei-style.txt for attribution and licensing. The addon is integrated into EMI's own classes and resources, without its additional mixins or mod dependency.

Focused layout and rendering checks: rtk proxy python tools/test_jei_style.py. These headless checks do not replace in-game verification of GUI scaling, recipe buttons and resource packs.

Configuration

Settings are stored in config/emi-client.toml on both Fabric and NeoForge. Existing emi.css values are imported automatically when the TOML file is absent; legacy files remain unchanged. Defaults may be supplied through defaultconfigs/emi-client.toml. The existing in-game configuration, presets and global/local toggle remain available. Global settings and the selection flag share global/emi/emi-client.toml in the normal Minecraft user directory.

Invalid configuration files are preserved and writes are suspended until the file is corrected. Reopening EMI's configuration retries a failed load. Unknown TOML values retain their types when saving. The emi.config system property may point to emi-client.toml; an old CSS path is accepted as a migration source and writes go to the sibling TOML file.

rtk proxy .\gradlew.bat check runs all headless regression scripts, including configuration migration and recovery. These checks do not start Minecraft.