Download Player Stages — Minecraft Mods — MetaMods

Player Stages

Active

Downloads

20

Last update

1 year ago
Client
Fabric
Quilt
Forge
Neoforge
Utils
Addons

Player Stages

This mod provides the ability to impose various restrictions on player actions in Minecraft. If you have suggestions for adding new features, you can share them in our community.

Main Features

With Player Stages you can:

  • Prevent players from breaking certain blocks
  • Restrict access to inventory
  • Block the use of armor and tools
  • Remove potion effects
  • Limit trading with villagers
  • Control item enchanting both on the enchantment table and anvil

Usage Examples

Here are some code examples for setting up restrictions:

import mods.playerStage.PlayerStage;

PlayerStage.addItem("testA", <item:minecraft:iron_pickaxe>);
PlayerStage.addItem("testB", <item:minecraft:golden_sword>, true);

PlayerStage.addArmor("a1", <item:minecraft:diamond_chestplate>, true);

PlayerStage.addBlock("test", <blockstate:minecraft:grass_block:snowy=false>);

PlayerStage.addMerchant("test1", <item:minecraft:potato>,<item:minecraft:emerald>);
PlayerStage.addMerchant("test1", <item:minecraft:carrot> * 22,<item:minecraft:emerald>);

PlayerStage.addEnchant("e2", <item:minecraft:iron_sword>, <enchantment:minecraft:unbreaking>, true);

PlayerStage.addInventory("inv1", ["hello", "hellos"] as stdlib.List<string>);
Project members
Sixik

Sixik

Created: 13 Apr 2024

ID: 26854