-
Notifications
You must be signed in to change notification settings - Fork 0
Reward Datapacks
fantastruco edited this page Aug 15, 2026
·
3 revisions
Reward Bag contents use normal Minecraft 1.21.1 loot tables.
Place the ZIP directly inside:
<world>/datapacks/
Then run:
/reload
/datapack list enabled
data/cobblecoop/loot_table/cobblecoop/rewards/
|-- common/basic.json
|-- uncommon/basic.json
|-- rare/basic.json
|-- epic/basic.json
`-- legendary/basic.json
The template uses the same IDs as CobbleCoop, so these files replace the five default pools.
{
"type": "minecraft:item",
"name": "minecraft:diamond",
"weight": 5,
"quality": 2,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 1,
"max": 3
}
}
]
}| Value | Meaning |
|---|---|
name |
Complete registered item ID. |
weight |
Relative chance inside this JSON pool. |
quality |
Optional Minecraft Luck influence. |
min / max
|
Item amount range. |
rolls |
Number of entries the pool tries to select. |
Any registered modded item can be used when its owning mod is installed.
Use another namespace or file name:
data/myserver/loot_table/cobblecoop/rewards/rare/berries.json
CobbleCoop discovers it automatically after /reload. If a tier has three JSON
files, each file has a one-in-three chance of being selected. Item weight
values do not change the chance of selecting a different file.
/loot give @s loot cobblecoop:cobblecoop/rewards/common/basic
/give @s cobblecoop:common_reward_bag
Use loot_table, singular. Use normal /reload for datapacks. The
/cobblecoop reload command only reloads TOML configuration.
CobbleCoop Wiki
- Home
- Installation
- Configuration
- Handicaps
- Battle Presets
- Rewards
- Reward Datapacks
- Commands and Debug
- Compatibility and Help
Downloads