199 lines
6.9 KiB
Markdown
199 lines
6.9 KiB
Markdown
# Collapsible Groups Guide
|
|
|
|
Group files live in `config/collapsiblegroups/groups/`. Each file collapses a set of JEI items into a single expandable group.
|
|
|
|
---
|
|
|
|
## File Structure
|
|
|
|
```json
|
|
{
|
|
"id": "snake_case_id",
|
|
"name": {
|
|
"translate": "collapsible_groups.group.snake_case_id",
|
|
"fallback": "Mod Name: Category"
|
|
},
|
|
"enabled": true,
|
|
"filter": { ... }
|
|
}
|
|
```
|
|
|
|
The `translate` key must match the `id` field with the prefix `collapsible_groups.group.`.
|
|
|
|
---
|
|
|
|
## Naming Convention
|
|
|
|
Fallback strings follow `"Mod Display Name: Category Noun"` — no possessives, colon + space separator.
|
|
|
|
| Correct | Wrong |
|
|
|---|---|
|
|
| `"GeOre: Clusters"` | `"GeOre's Clusters"` |
|
|
| `"Silent Gear: Example Gear"` | `"Silent Gear's Example Gear"` |
|
|
| `"Productive Bees: Spawn Eggs"` | `"Productivebees: Spawn Eggs"` |
|
|
|
|
When the mod's official name contains an apostrophe (Farmer's Delight, Steve's Carts 2, Fargo's Talismans), keep it — those are proper nouns, not possessives applied by us.
|
|
|
|
---
|
|
|
|
## Filter Rule Syntax
|
|
|
|
All confirmed-working rule types:
|
|
|
|
```json
|
|
{ "type": "item", "namespace": "modid" }
|
|
{ "type": "item", "id": "modid:item_path" }
|
|
{ "item_path_starts_with": "prefix_" }
|
|
{ "item_path_ends_with": "_suffix" }
|
|
{ "item_path_contains": "substring" }
|
|
{ "not": { ... } }
|
|
{ "all": [ ... ] }
|
|
{ "any": [ ... ] }
|
|
```
|
|
|
|
For multi-namespace mods, wrap namespace checks in `any`:
|
|
```json
|
|
{ "any": [
|
|
{ "type": "item", "namespace": "oritech" },
|
|
{ "type": "item", "namespace": "oritechthings" }
|
|
]}
|
|
```
|
|
|
|
---
|
|
|
|
## Rule Preference Order
|
|
|
|
Prefer rules over explicit item lists whenever possible:
|
|
|
|
1. **Single item ID** — use when all variation is NBT/component-only (e.g., `obtrophies:trophy`).
|
|
2. **Namespace + path rule** — use for all other cases. Prefer `starts_with` or `ends_with`; fall back to `contains` when items share a substring but not a clean prefix/suffix.
|
|
3. **Explicit stack list** — only when tier/classification is modpack-defined and no path pattern exists (e.g., Ars Nouveau glyph tiers, suspicious stew NBT variants).
|
|
|
|
---
|
|
|
|
## Mod Display Names
|
|
|
|
Namespaces this pack's groups actually use.
|
|
|
|
| Namespace | Display name |
|
|
|---|---|
|
|
| `actuallyadditions` | `Actually Additions` |
|
|
| `advanced_ae` | `Advanced AE` |
|
|
| `antiblocksrechiseled` | `AntiBlocksReChiseled` |
|
|
| `apothic_enchanting` | `Apothic Enchanting` |
|
|
| `ars_caelum` | `Ars Caelum` |
|
|
| `ars_elemental` | `Ars Nouveau` |
|
|
| `ars_nouveau` | `Ars Nouveau` |
|
|
| `betterblockz` | `Better Blockz` |
|
|
| `cabletiers` | `Cabletiers` |
|
|
| `cataclysm` | `Cataclysm` |
|
|
| `chisel` | `Chisel` |
|
|
| `comforts` | `Comforts` |
|
|
| `compactmachines` | `Compact Machines` |
|
|
| `compressedblocks` | `Compressed Blocks` |
|
|
| `computercraft` | `Computer Craft` |
|
|
| `connectedglass` | `Connected Glass` |
|
|
| `cookingforblockheads` | `Cooking For Blockheads` |
|
|
| `create` | `Create` |
|
|
| `draconicevolution` | `Draconic Evolution` |
|
|
| `fargostalismans` | `Fargo's Talismans` |
|
|
| `farmersdelight` | `Farmer's Delight` |
|
|
| `framedblocks` | `Framed Blocks` |
|
|
| `ftbquests` | `FTB Quests` |
|
|
| `geneticsresequenced` | `Genetics Resequenced` |
|
|
| `geore` | `GeOre` |
|
|
| `georenouveau` | `GeOre Nouveau` |
|
|
| `glassential` | `Glassential Renewed` |
|
|
| `hostilenetworks` | `Hostile Neural Networks` |
|
|
| `immersiveengineering` | `Immersive Engineering` |
|
|
| `industrialforegoing` | `Industrial Foregoing` |
|
|
| `ironfurnaces` | `Iron Furnaces` |
|
|
| `justdirethings` | `Just Dire Things` |
|
|
| `little_big_redstone` | `Little Big Redstone` |
|
|
| `malum` | `Malum` |
|
|
| `mekanism` | `Mekanism` |
|
|
| `mekanismadditions` | `Mekanism` |
|
|
| `mffs` | `Modular Force Field System` |
|
|
| `mininggadgets` | `Mining Gadgets` |
|
|
| `mob_grinding_utils` | `Mob Grinding Utils` |
|
|
| `modularrouters` | `Modular Routers` |
|
|
| `morered` | `More Red` |
|
|
| `mysticalagriculture` | `Mystical Agriculture` |
|
|
| `neovitae` | `Neovitae` |
|
|
| `occultism` | `Occultism` |
|
|
| `oritech` | `Oritech` |
|
|
| `oritechthings` | `Oritech` |
|
|
| `pneumaticcraft` | `Pneumatic Craft` |
|
|
| `powah` | `Powah` |
|
|
| `productivebees` | `Productive Bees` |
|
|
| `productivelib` | `Productive Lib` |
|
|
| `railways` | `Railways` |
|
|
| `reliquary` | `Reliquary` |
|
|
| `rftoolsbuilder` | `RFTools Builder` |
|
|
| `rftoolsstorage` | `RFTools` |
|
|
| `rftoolsutility` | `RFTools` |
|
|
| `silentgear` | `Silent Gear` |
|
|
| `simplylight` | `Simply Light` |
|
|
| `sophisticatedbackpacks` | `Sophisticated Backpacks` |
|
|
| `sophisticatedstorage` | `Sophisticated Storage` |
|
|
| `stevescarts` | `Steve's Carts 2` |
|
|
| `supplementaries` | `Supplementaries` |
|
|
| `tropicraft` | `Tropicraft` |
|
|
| `utilitarian` | `Utilitarian` |
|
|
| `waystones` | `Waystones` |
|
|
|
|
---
|
|
|
|
## Powah Type Groups
|
|
|
|
Powah items follow `powah:<type>_<tier>`. Groups are organised by type (all tiers in one group), not by tier. Confirmed types:
|
|
|
|
| File | Filter |
|
|
|---|---|
|
|
| `powah_batteries.json` | `starts_with "battery_"` |
|
|
| `powah_capacitors.json` | `starts_with "capacitor_"` |
|
|
| `powah_ender_cells.json` | `starts_with "ender_cell_"` |
|
|
| `powah_ender_gates.json` | `starts_with "ender_gate_"` |
|
|
| `powah_energizing_rods.json` | `starts_with "energizing_rod_"` |
|
|
| `powah_energy_cables.json` | `starts_with "energy_cable_"` |
|
|
| `powah_energy_cells.json` | `starts_with "energy_cell_"` |
|
|
| `powah_energy_dischargers.json` | `starts_with "energy_discharger_"` |
|
|
| `powah_energy_hoppers.json` | `starts_with "energy_hopper_"` |
|
|
| `powah_furnators.json` | `starts_with "furnator_"` |
|
|
| `powah_magmators.json` | `starts_with "magmator_"` |
|
|
| `powah_player_transmitters.json` | `starts_with "player_transmitter_"` |
|
|
| `powah_reactors.json` | `starts_with "reactor_"` |
|
|
| `powah_solar_panels.json` | `starts_with "solar_panel_"` |
|
|
| `powah_thermo_generators.json` | `starts_with "thermo_generator_"` |
|
|
|
|
Non-tiered Powah items (`energizing_orb`, `binding_card`, crystals, etc.) are intentionally ungrouped.
|
|
|
|
---
|
|
|
|
## Known Legitimate Stack-List Files
|
|
|
|
These cannot be converted to rules; leave them as explicit lists.
|
|
|
|
| File | Reason |
|
|
|---|---|
|
|
| `ars_tier_1_glyphs.json` | Tier boundary is modpack-defined; items span 6+ namespaces with no path pattern |
|
|
| `ars_tier_2_glyphs.json` | Same |
|
|
| `ars_tier_3_glyphs.json` | Same |
|
|
| `malum_weaves.json` | Includes `esoteric_spool` (no `weave` suffix) + `astral_weave` exclusion |
|
|
| `minecraft_suspicious_stew.json` | Same item ID, differentiated by NBT components only |
|
|
| `silent_gear_example_gear.json` | No clean rule separates gear from parts within the namespace |
|
|
| `silent_gear_part_examples.json` | Includes one `irons_jewelry` item with complex component data |
|
|
|
|
---
|
|
|
|
## Compressed Blocks
|
|
|
|
One group per base block/item, holding all ten tiers. Generated by `local/gen_collapsible_groups.py`; rerun after a Compressed Blocks update.
|
|
|
|
| File pattern | Contents | Count |
|
|
|---|---|---|
|
|
| `compressedblocks_<base>.json` | `c0_<base>` .. `c9_<base>` | 264 |
|
|
| `compressedblocks_crate_<base>.json` | `crated_<base>` .. `giga_crated_<base>` | 175 |
|
|
|
|
Tier order for crates is `crated`, `double_`, `triple_`, `quadruple_`, `quintuple_`, `sextuple_`, `septuple_`, `octuple_`, `mega_`, `giga_`.
|