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.7.0 for Forge (1.20-1.20.1)

File namestope-forge-2.7.0-1.20-1.20.1.jar
Uploader
ScottKillenScottKillen
Uploaded
Nov 20, 2026
Downloads
8
Size
396.4 KB
Mod Loaders
Forge
File ID
9710138
Type
R
Release
Supported game versions
  • 1.20.1
  • 1.20

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:stope-1779366:9710138")

Learn more about Curse Maven

What's new

New API for advancements: criteria triggers a mod fires for a player, advancement files written from a mod's data generator, and events for picking up an item, for a mod's sapling growing into a tree, and for a group member's death that says whether it led. Nothing changes in game until a mod uses it. Mods built for 2.0 through 2.6 run on 2.7.0 unchanged.

API

  • Added AdvancementTriggers and AdvancementTrigger (experimental, server): register a criteria trigger under the mod's own ID and fire it for a player, with an optional subject ID that criteria can require; a firing that meets none of the player's unmet criteria allocates nothing.
  • Added AdvancementData (experimental, data generation): build an advancement in code, with a parent or a tab background, an icon, a frame, criteria on a Stope trigger or on items in the inventory, and English fallback text, and write it from a Fabric data generator with provider; it never writes a reward.
  • Added ItemPickedUpCallback (experimental, server): a player picked up a dropped item's whole stack, fired before the item entity is removed, so its EntityData can still be read.
  • Added TreeGrownCallback (experimental, server): a sapling whose grower came from SaplingGrowers grew into a tree, with the sapling's position and state; a sapling that fails to grow fires nothing.
  • Added MobGroupMemberKilledCallback (experimental, server): a group member died, reported before it leaves its group, with the group, the killer, and whether it was the group's leader.
  • Changed ReactionStartedCallback's Javadoc: besides logging, a listener may credit a player the reaction involves, such as firing an advancement trigger for its source. It still gives the group's mobs no orders.

This mod has no additional files