Mod
Bro Know My Emi Folder
No reviews yet
Bro Know My EMI Folder is an EMI addon for Minecraft NeoForge. It adds collapsible groups to EMI's index sidebar, with group definitions driven by KubeJS.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Bro Know My EMI Folder

Bro Know My EMI Folder is an EMI addon for Minecraft 1.21.1 / NeoForge. It adds collapsible groups to EMI's index sidebar, with group definitions driven by KubeJS.
The folding behavior is inspired by REI's collapsible entries. Friendly link: RoughlyEnoughItems.
Features
- Collapse EMI index entries into KubeJS-defined groups.
- Search still works for folded entries. Searching for a folded member shows the matching stack.
- Search results are automatically deduplicated. If one stack belongs to multiple fold groups, it appears once and its tooltip lists every owning group.
- One item can belong to multiple fold groups in the normal EMI index.
- Left-click a collapsed group to expand it. Alt-left-click an expanded member to collapse its group.
- Folded previews use a card spread layout with configurable spacing and background color.
- KubeJS
RecipeViewerEvents.groupEntriesdefinitions are also consumed as fold groups where practical.
What's New In v0.0.2
- Added
foldModfor folding entries by mod namespace. - Added
foldSpawnEggsfor folding items implemented as MinecraftSpawnEggItem, independent of item id naming. - Added
unfold,unfoldFluid,unfoldId,unfoldAll,unfoldAllFluid, andunfoldAllIdfor excluding entries from one group or every group. - Added fuller KubeJS API documentation and a commented client script example.
- Fixed folded preview render layering in some cases.
Usage
Add a KubeJS client script:
RecipeViewerEvents.fold(event => {
event.fold('broknowmyemifolder:ores', 'translate:emi_group.broknowmyemifolder.ores', '#c:ores')
event.fold('broknowmyemifolder:tools', 'translate:emi_group.broknowmyemifolder.tools', ['#c:tools', 'minecraft:shears'])
event.foldId('broknowmyemifolder:boats', 'translate:emi_group.broknowmyemifolder.boats', ['minecraft:oak_boat', 'minecraft:spruce_boat'], {
spread: 4,
color: 'rainbow'
})
event.foldMod('broknowmyemifolder:citadel', 'translate:emi_group.broknowmyemifolder.citadel', '@citadel', {
color: 'random'
})
event.foldSpawnEggs('broknowmyemifolder:spawn_eggs', 'Spawn Eggs', {
spread: 4,
color: 'random'
})
event.unfoldAll('quark:seed_pouch')
})
Group names may be literal text, components, or strings prefixed with translate:.
Available methods:
event.fold(id, name, filter, options?)
event.fold(name, filter, options?)
event.foldFluid(id, name, filter, options?)
event.foldFluid(name, filter, options?)
event.foldId(id, name, ids, options?)
event.foldId(name, ids, options?)
event.foldMod(id, name, mods, options?)
event.foldMod(name, mods, options?)
event.foldSpawnEggs(id, name, options?)
event.foldSpawnEggs(name, options?)
event.unfold(groupId, filter)
event.unfoldFluid(groupId, filter)
event.unfoldId(groupId, ids)
event.unfoldAll(filter)
event.unfoldAllFluid(filter)
event.unfoldAllId(ids)
unfold removes matching entries from one fold group. unfoldAll removes matching entries from every fold group.
foldMod folds entries by EMI stack id namespace. It accepts mod ids with or without a leading @, such as '@citadel'.
foldSpawnEggs folds items implemented as Minecraft SpawnEggItem, independent of whether their item id ends with _spawn_egg.
Options:
{
spread: 4,
color: 'rainbow'
}
spread controls the horizontal pixel offset between preview cards. color accepts a number, '#RRGGBB', 'rainbow', or 'random'.
See GitHub for the supported script methods and options.
中文
Bro Know My EMI Folder 是一个适用于 Minecraft 1.21.1 / NeoForge 的 EMI 附属模组。它为 EMI 的索引侧边栏添加可折叠分组,并通过 KubeJS 定义分组内容。
这个折叠行为受到 REI collapsible entries 的启发。友情链接:RoughlyEnoughItems。
功能
- 将 EMI 索引侧边栏中的条目折叠成由 KubeJS 定义的分组。
- 折叠后仍支持正常搜索。搜索组内物品时,会显示匹配到的具体条目。
- 搜索结果会自动去重。同一个物品属于多个折叠组时,只显示一次,并在 tooltip 中列出它所属的所有组。
- 普通 EMI 索引中允许同一个物品进入多个折叠组。
- 左键点击折叠组展开;Alt+左键点击展开后的成员收起对应组。
- 折叠预览使用扑克牌式平铺,支持自定义间距和背景颜色。
- 会尽量兼容 KubeJS 原有的
RecipeViewerEvents.groupEntries定义。
v0.0.2 新增
- 新增
foldMod,支持按 mod 命名空间折叠条目。 - 新增
foldSpawnEggs,支持自动折叠底层实现为 MinecraftSpawnEggItem的刷怪蛋,不依赖物品 id 命名。 - 新增
unfold、unfoldFluid、unfoldId、unfoldAll、unfoldAllFluid、unfoldAllId,支持从指定折叠组或所有折叠组中排除条目。 - 补充了更完整的 KubeJS API 文档和带注释的客户端脚本示例。
- 修复了部分情况下折叠预览渲染层级不正确的问题。
使用
添加一个 KubeJS client script:
RecipeViewerEvents.fold(event => {
event.fold('broknowmyemifolder:ores', 'translate:emi_group.broknowmyemifolder.ores', '#c:ores')
event.fold('broknowmyemifolder:tools', 'translate:emi_group.broknowmyemifolder.tools', ['#c:tools', 'minecraft:shears'])
event.foldId('broknowmyemifolder:boats', 'translate:emi_group.broknowmyemifolder.boats', ['minecraft:oak_boat', 'minecraft:spruce_boat'], {
spread: 4,
color: 'rainbow'
})
event.foldMod('broknowmyemifolder:citadel', 'translate:emi_group.broknowmyemifolder.citadel', '@citadel', {
color: 'random'
})
event.foldSpawnEggs('broknowmyemifolder:spawn_eggs', '刷怪蛋', {
spread: 4,
color: 'random'
})
event.unfoldAll('quark:seed_pouch')
})
组名可以是普通文本、文本组件,或带 translate: 前缀的翻译键字符串。
可用方法:
event.fold(id, name, filter, options?)
event.fold(name, filter, options?)
event.foldFluid(id, name, filter, options?)
event.foldFluid(name, filter, options?)
event.foldId(id, name, ids, options?)
event.foldId(name, ids, options?)
event.foldMod(id, name, mods, options?)
event.foldMod(name, mods, options?)
event.foldSpawnEggs(id, name, options?)
event.foldSpawnEggs(name, options?)
event.unfold(groupId, filter)
event.unfoldFluid(groupId, filter)
event.unfoldId(groupId, ids)
event.unfoldAll(filter)
event.unfoldAllFluid(filter)
event.unfoldAllId(ids)
unfold 会把匹配条目从指定折叠组里拿出来。unfoldAll 会把匹配条目从所有折叠组里拿出来。
foldMod 会按 EMI stack id 的命名空间折叠条目。它接受带或不带 @ 前缀的 mod id,例如 '@citadel'。
foldSpawnEggs 会折叠底层实现为 Minecraft SpawnEggItem 的物品,不依赖物品 id 是否以 _spawn_egg 结尾。
可选参数:
{
spread: 4,
color: 'rainbow'
}
spread 控制预览卡片之间的横向像素偏移。color 支持数字、'#RRGGBB'、'rainbow' 或 'random'。
支持的脚本方法和参数见 GitHub。
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources