SDM Loot Stages

Quick rating

Community listing page, reviews here may not be monitored by the author.

SDM Loot Stages

By SixikOwner

No reviews yet

Create a step-by-step progression for loot tables!

Mod Loaders
Minecraft

About

Description

SDM Loot Stages

SDM Loot Stages allows you to create stage-based loot progression, similar in concept to GameStages. All versions below Minecraft 1.21 are outdated and no longer supported.

This mod enables you to limit, replace, or modify loot tables and their contents depending on a player's progression stage. You can redefine drops from blocks, entities, chests, or fishing loot based on stages — providing full control over how players obtain rewards as they progress.

Description

SDM Loot Stages integrates with KubeJS and CraftTweaker, giving modpack developers and server owners the ability to manage loot in a flexible and scriptable way. It serves as a tool for building progression-based experiences, such as gated exploration, quest rewards, or staged resource unlocking.

Usage Example

KubeJS

// Server_Script
LootStages.builder("minecraft:blocks/dirt", "one")
    .replaceLootTable("minecraft:chests/village/village_fisher")
    .build();

LootStages.builder("minecraft:chests/village/village_fisher", "two")
    .replaceItem('minecraft:wheat_seeds', 'minecraft:diamond')
    .build();

CraftTweaker

import mods.lootstages.LootStages;

LootStages.builder(<resource:minecraft:blocks/dirt>, "one")
    .replaceLootTable(<resource:minecraft:chests/village/village_fisher>)
    .build();

LootStages.builder(<resource:minecraft:chests/village/village_fisher>, "two")
    .replaceItem(<item:minecraft:wheat_seeds>, <item:minecraft:diamond>)
    .build();

Features

  • Adds stage-based progression for all loot sources (blocks, entities, chests, fishing, etc.)
  • Full support for KubeJS and CraftTweaker
  • Allows replacing entire loot tables or individual items
  • Supports additional restrictions by biome and dimension
  • Simple and intuitive builder-style scripting API
  • Fully rewritten for Minecraft 1.21+

Notes

All versions of the mod for Minecraft 1.20 and below are deprecated and will not receive further updates. This mod does not add content on its own — it serves as a library and progression tool for modpack creators and scripters.

This mod will allow you to add individual tables or items from the loot tables to stages from the Game Stages mod. Similar mods Recipes Stages, Mob Stages and others

At the moment there is a chest loot table, an Entity Loot Table, a Chest Item Table, Block Loot Table, Fishing Loot Table

If you have any ideas how to complement this mod, then write!

You need Game Stages and CraftTweaker

Examples

import mods.lootstages.LootStages;

 

LootStages.addChestItemStage(String stage, ResourceLocation table, IItemStack itemStack);
LootStages.addChestItemStage("one", <resource:minecraft:chests/village/village_butcher>, <item:minecraft:beef>);

 

LootStages.addChestTableStage(String stage, ResourceLocation table, ResourceLocation replaceTable);
LootStages.addChestTableStage("two", <resource:minecraft:chests/village/village_butcher>, <resource:minecraft:chests/village/village_mason>);

 

LootStages.addEntityTableStage(String stage, ResourceLocation table, ResourceLocation replaceTable);
LootStages.addEntityTableStage("three", <resource:minecraft:entities/pig>, <resource:minecraft:chests/village/village_butcher>);

 

LootStages.addBlockTableStages(String stage, Block block, ResourceLocation replaceTable);

LootStages.addBlockTableStages(String stage, Block block, IItemStack itemStack);

LootStages.addBlockTableStages("test1", <block:minecraft:dirt>, <resource:minecraft:chests/village/village_mason>);

LootStages.addBlockTableStages("test2", <block:minecraft:dirt>, <item:minecraft:beef>);