Download Loot Stages — Minecraft Mods — MetaMods

Loot Stages

Active

Downloads

11

Last update

1 year ago

Versions

1.18.2 — 1.20.1
Client and server
Forge
Game mechanics
Utils
Addons

Loot Stages - Control Over Loot Through Game Stages

This mod enables you to link individual items and loot tables to various game stages from the Game Stages mod. Similar functionality is available in mods like Recipes Stages, Mob Stages, and others.

Currently supported loot table types include: chest contents, entity drops, chest items, block drops, and fishing loot.

Requires installation of Game Stages and CraftTweaker mods.

Usage Examples

import mods.lootstages.LootStages;

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

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

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

// Configuring block drops
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>);
Project members
Sixik

Sixik

Developer

Created: 15 Jan 2024

ID: 19265