Skip to main content
Cobbleloots provides commands for server operators and mapmakers to manage loot balls, reset player claim history, and configure mod behavior in-game. All commands require Operator Permission Level 2 (OP) or higher.

/cobbleloots reset loot_ball

Resets the opened state of loot balls so that players can open them again. This command supports lazy reconciliation: if chunks or entities are currently unloaded, the reset timestamp is stored in the world save data (CobblelootsWorldData) and reconciled automatically the moment a player interacts with any loot ball.

target — Targeted Loot Ball

Resets the specific loot ball the player is looking at (within a 16-block line of sight).
Infinite Loot Balls: Infinite loot balls (uses = -1) always retain infinite uses regardless of restore_uses.

all — Global Reset

Globally resets all loot balls in the world, including unloaded ones via world saved data.

entity — Selected Entities

Resets specific loot ball entities matched by a Minecraft entity selector.

undo — Revert Last Reset

Reverts the last global or per-player reset action, restoring the previous opened state and cooldowns.
How Undo Works: The undo system tracks the previous reset timestamp in CobblelootsWorldData. If no previous reset was performed during the current world lifecycle, the command will notify you that there is no action to undo.

/cobbleloots debug

Provides diagnostic tools for mapmakers, pack developers, and server administrators to inspect Loot Ball candidate pools, verify spawn probability weights, and evaluate filter conditions in-place.

weights — Loot Ball Spawn Chances

Displays a ranked table of eligible Loot Balls for the target position and biome, including raw weight and relative percentage chance.

check — Filter Diagnostic Evaluation

Runs a detailed condition-by-condition diagnostic evaluating all configured filters (biome, dimension config, dimension, structure, ground/spawn block, fluid, position, light, time, weather, date, poke rod) with visual [PASS] / [FAIL] and [+] / [-] indicators.

Quick Reference & Examples


Configuration Commands (MidnightLib)

Server operators can inspect and change mod configuration values directly in-game:
For a complete list of available configuration options, see the Configuration Guide.