promotional bannermobile promotional banner

Stope

This project adds a shared library for my mods, holding the code that breaks between Minecraft versions so each mod ports with less work.
Back to Files

Stope 2.12.0 for Fabric (1.20-1.20.1)

File namestope-fabric-2.12.0-1.20-1.20.1.jar
Uploader
ScottKillenScottKillen
Uploaded
Nov 27, 2026
Downloads
5
Size
766.6 KB
Mod Loaders
Fabric
File ID
9858118
Type
R
Release
Supported game versions
  • 1.20.1
  • 1.20

Curse Maven Snippet

Fabric

modImplementation "curse.maven:stope-1779366:9858118"

Learn more about Curse Maven

What's new

New API for mod developers:

  • Client events: a worn armor piece losing durability.
  • Inventory tools: a click plan that rearranges the player's own inventory without silencing the events a refill listens for.

One fix changes what a player sees, in every mod's settings screen: an on/off row or a row that steps through choices keeps its tooltip after it is clicked, where it lost it at the first click. Mods built for 2.0 through 2.11.0 run on 2.12.0; one that sorts the inventory through a click plan now holds back a refill for a second after the sort in single player too, as it already did on a server.

API

  • Added ArmorWearCallback (experimental, client): the server's update wore the item in one of the player's armor slots, with the armor slot, its index in the player's inventory, the stack, and the uses left, on a server with or without the listening mod. ToolWearCallback covers the hands.
  • Added InventoryTransport#executeInInventory (experimental, client): starts a click plan whose every click is on a slot over the player's own inventory, without keeping ItemDepletedCallback and ItemReplacedCallback silent; a plan with any other click, a throw, or a shift click outside the inventory menu throws.
  • Changed InventoryTransport#executeRefill: sent as simulated clicks, it takes every inventory slot a click changed as the server's, where a shift click's destination slot was left out.
  • Changed ToolWearCallback: its Javadoc states that another stack of the same item with more damage taking the slot reads as wear; the behavior is 2.10.0's.
  • Changed InventoryTransport#execute: a plan the server answers within the tick it was started in keeps ItemDepletedCallback and ItemReplacedCallback silent for the 20 ticks after, as the two events' Javadoc says and its own now does; in single player such a plan silenced nothing.
  • Changed SettingsScreen: a toggle or choice row keeps its tooltip when its value changes.

This mod has no additional files