Download Item Stages — Minecraft Mods — MetaMods

Item Stages

Active

Downloads

21

Last update

1 year ago

Versions

1.12.2 — 1.20.3
Client and server
Forge
Adventure
Libraries
Utils

Item Stages

This mod is an extension for GameStages API that enables creation of custom progression systems for items and blocks. With Item Stages, modpack developers can establish phased access to various game elements.

Configuration

Configuration is handled through CraftTweaker using a special ZenScript method. You can restrict access to specific items and blocks, as well as entire groups via ore dictionary. The main configuration method: mods.ItemStages.addItemStage(String stage, Item/Block/OreDict);

Restriction Functionality

When an item becomes restricted, a comprehensive set of protective mechanisms activates:

  • Automatic item dropping when attempting to hold it
  • Inability to equip in armor or additional equipment slots
  • Blocking interaction through right and left clicking
  • Replacement of standard description with restriction message
  • Hiding the item from JEI interface

Configuration Example

// Example script

// Restricts stone to stage "one"
mods.ItemStages.addItemStage("one", <minecraft:stone>);

// Restricts all records to stage "two"
mods.ItemStages.addItemStage("two", <ore:record>);

// Restricts all mod items to stage "one"
mods.ItemStages.stageModItems("one", "minecraft");

// Restricts liquid to stage "nine" (JEI only)
mods.ItemStages.stageLiquid("nine", <liquid:water>);
Project members
Darkhax

Darkhax

Developer

DarkhaxDev

DarkhaxDev

Created: 9 Jun 2023

ID: 5329