-
Notifications
You must be signed in to change notification settings - Fork 0
26.2 Configuration
This document details the configuration file schema, YACL v3 GUI integration, ModMenu entrypoints, and world precedence rules for Item Clumps on Minecraft 26.2.
| Property | Value |
|---|---|
| Config File Path | config/item-clumps.json |
| File Format | JSON (Managed via DasikLibrary ConfigHelper) |
| Current Schema Version | configVersion: 1 |
| Graphical Interface Provider | YetAnotherConfigLib v3 (YACL) via ModMenu |
| Classloading Isolation | Deferred reflection (GuiHelper.getOptionalYaclFactory) |
| Precedence Mandate | Config sets new world defaults; active worlds use GameRules |
⚠️ IMPORTANT NOTICE: Modifyingconfig/item-clumps.jsonor changing settings in the ModMenu GUI defines the baseline default values for newly created worlds. To configure settings for an active or existing world, use the in-game/gamerulecommand or the native Game Rules edit screen.
{
"configVersion": 1,
"enableClumping": true,
"maxClumpSize": 9999,
"renderLabels": true,
"mergeRadius": 1,
"labelMinCount": -1
}| JSON Key | Type | Default | Description |
|---|---|---|---|
configVersion |
Integer | 1 |
Internal schema migration tracker. |
enableClumping |
Boolean | true |
Enables or disables mega-stack item merging. |
maxClumpSize |
Integer | 9999 |
Hard cap on items per clump entity ( |
renderLabels |
Boolean | true |
Renders floating custom name tag counts above clumps. |
mergeRadius |
Integer | 1 |
Horizontal block search radius ( |
labelMinCount |
Integer | -1 |
Threshold before count label displays (-1 = vanilla max stack). |
Item Clumps integrates optional client-side configuration screens via YetAnotherConfigLib (YACL v3) and ModMenu:
+-------------------------------------------------------------------------+
| ITEM CLUMPS CONFIGURATION |
| |
| [ General Settings ] |
| |
| Enable Clumping ............................................ [ ON ] |
| When true, ground items aggressively merge into mega-stacks. |
| |
| Max Clump Size ............................................. [ 9999 ] |
| The hard cap on items per entity. (Hidden if Stack Size Adjuster on) |
| |
| Render Labels .............................................. [ ON ] |
| Renders holographic count above item clumps. |
| |
| Merge Radius ................................... [───●──────────] (1) |
| Horizontal block search radius (1-10 blocks). |
| |
| Label Min Count ............................................ [ -1 ] |
| Minimum item count before label displays (-1 for vanilla max stack). |
| |
| [ Cancel ] [ Save & Quit ] |
+-------------------------------------------------------------------------+
To guarantee that the mod never crashes dedicated servers or clients that do not have YACL or ModMenu installed, screen instantiation is isolated behind GuiHelper.getOptionalYaclFactory:
// ModMenuIntegration.java (MC 26.2)
public class ModMenuIntegration implements ModMenuApi {
@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return GuiHelper.getOptionalYaclFactory(
"item_clumps",
"net.instantgratification.item_clumps.config.YaclScreenHelper",
"createScreen"
);
}
}Item Clumps is engineered with ❤️ by Dasik (Rifaditya) | Licensed under GNU General Public License v3.0 (GPL-3.0-or-later).
📌 Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
- 26.2 Hub
- 26.2 Mega-Stack Clumping
- 26.2 Smart Pickup System
- 26.2 Hopper Integration
- 26.2 Despawn Age Rules
- 26.2 Holographic Labels
- 26.2 Mod Compatibility
- 26.2 GameRules Table
- 26.2 Commands & Admin
- 26.2 Advancements
- 26.2 Configuration
- 26.2 ModVersionGuard
- 26.2 Architecture & Mixins
- 26.2 Developer Setup
- 26.2 API & Addons
- 26.2 FAQ & Diagnostics
- 26.1.2 Hub
- 26.1.2 Mega-Stack Clumping
- 26.1.2 Smart Pickup System
- 26.1.2 Hopper Integration
- 26.1.2 Despawn Age Rules
- 26.1.2 Holographic Labels
- 26.1.2 GameRules Table
- 26.1.2 Commands & Admin
- 26.1.2 Advancements
- 26.1.2 Configuration
- 26.1.2 Architecture & Mixins
- 26.1.2 Developer Setup
- 26.1.2 API & Addons
- 26.1.2 FAQ & Diagnostics