HomeJavaModsSDM Ore Stages
SDM Ore Stages
ModsJava

SDM Ore Stages

by Sixik · on CurseForge

Adds stage-based progression for blocks and ores — hide or replace them until players unlock specific SDM Stages.

⬇ Download on CurseForge

SDM Ore Stages

SDM Ore Stages is a modern reworking of the classic mod Ore Stages, adapted for new versions of Minecraft (1.21 and higher) and fully integrated into the ecosystem of SDM Stages.

The mod allows you to restrict access to blocks step by step — hide, replace or make them inaccessible until the player reaches the desired stage of progression.

Main Features

Requirements

⚠️ Only versions of Minecraft 1.21 and higher are supported.
Older versions (1.20.x and below) are not supported and will not work. (Maybe make a port sometime later.)

How it works ?

If the player ** does not have the required stage**:

Examples: KubeJS

// server_scripts/example.js

// Replaces the grass with an oak log until the "one" stage is opened
OreStages.addOreStageBlockReplaced("one", "minecraft:grass_block", "minecraft:oak_log");

// Replaces iron ore with stone until the "two" stage is opened
OreStages.addOreStageBlockReplaced("two", "minecraft:iron_ore", "minecraft:stone");

// Hides diamond ore up to the "three" stage
OreStages.addOreStageBlockState("three", "minecraft:diamond_ore");

/*
OreStages.addOreStageBlock(stage as String, hidden as Block);            // By default, stone or deep slate is used.        
OreStages.addOreStageBlockState(stage as String, hidden as BlockState);  // By default, stone or deep slate is used.       

OreStages.addOreStageBlockReplaced(stage as String, hidden as Block, replaced as Block);
OreStages.addOreStageBlockStateReplaced(stage as String, hidden as BlockState, replaced as BlockState);
*/

Examples: CraftTweaker

import mods.orestages.OreStages;

// Replaces the grass with an oak log until the "one" stage is opened
OreStages.addOreStage("one", <blockstate:minecraft:grass_block:snowy=false>, <blockstate:minecraft:oak_log:axis=y>);

// Replaces iron ore with stone until the "two" stage is opened
OreStages.addOreStage("two", <block:minecraft:iron_ore>, <block:minecraft:stone>);

// Hides diamond ore up to the "three" stage
OreStages.addOreStage("three", <block:minecraft:diamond_ore>);

/*
OreStages.addOreStage(stage as string, hidden as Block);          // By default, stone or deep slate is used.        
OreStages.addOreStage(stage as string, hidden as BlockState);     // By default, stone or deep slate is used.    

OreStages.addOreStage(stage as string, hidden as Block, replaced as Block);
OreStages.addOreStage(stage as string, hidden as BlockState, replaced as BlockState);
*/

Integrations

Mod Description
SDM Stages The stage system and player progression
CraftTweaker Configuration via ZS scripts
KubeJS Configuration via JS scripts

A note for modpackers

The mod is perfect for:

The original

This project is based on the original mod Ore Stages (author: Darkhax), but completely rewritten and updated for modern versions of Minecraft, with integration into the SDM API and improved performance.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SDM Ore Stages is a free Minecraft Java mod. Compatible with Minecraft 1.21.1, 1.20.1, 1.19.2, 1.18.2 and newer. Downloaded 363,792 times (via CurseForge). Download it and open it directly in the game.

Explore more