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

File namestope-forge-2.5.0-1.20-1.20.1.jar
Uploader
ScottKillenScottKillen
Uploaded
Nov 19, 2026
Downloads
14
Size
351.6 KB
Mod Loaders
Forge
File ID
9696838
Type
R
Release
Supported game versions
  • 1.20.1
  • 1.20

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

New API for mods that ship optional textures: a resource pack inside the mod's jar that players turn on in Options → Resource Packs. Nothing changes in game until a mod uses it. Mods built for 2.0 through 2.4 run on 2.5.0 unchanged.

The API documentation is rewritten as pages by area, with examples and quick starts. Six step-by-step guides walk through common tasks, starting with Wear a path where players walk, and the sidebar lists them under Guides. Each API type's Javadoc in the api-sources jar now gives the version it was added in and its side, and its thread wherever that is settled; which thread runs CommandRegistrationCallback's listeners and which reads BiomeFeatures.add's enabled are still open.

API

  • Added BuiltinPacks (experimental, client): list a resource pack from a mod's jar in the resource pack screen, off by default, on Fabric and Forge.

The Javadoc now states these contracts of experimental types. The code behind each is the same as in 2.4.0:

  • Changed PlayerMountFootfallCallback: the first footfall after mounting fires when the mount's supporting block differs from the block the player last stood on, and rider's sneaking and sprinting are the rider's input; the mount's own state is on mount.
  • Changed MobGroups: define may run on a DataReloaders handler's thread, which at world load is the thread that loads the world; groupOf is for the server thread and is always null for a mob on the client.
  • Changed LeaderChoice.LARGEST: a baby leads only when no adult is present.
  • Changed MobOwnership.isKeptByPlayer: it consults no names or tags; a mod with its own rules for kept mobs checks them itself.
  • Changed ConfigFile.load and save: they return null only if the view function does, and an exception from the view function propagates from load, leaving the current view as it was.
  • Changed SettingsScreen.Builder's section, toggle, intField, and decimalField: a key another row of the screen already has throws IllegalArgumentException.
  • Changed RegistryLookups.entityTypeId: a type that was never registered gives the registry's default ID, minecraft:pig, not an error.
  • Changed SaplingGrowers.of: pass the grower to the constructor of the mod's own SaplingBlock subclass, since vanilla's constructor is protected.
  • Changed BiomeFeatures.add: enabled is read once per server start, with no thread named; it was documented as read on the server thread.
  • Changed LootAdditions.addPool and replaceBrushed: a null argument throws NullPointerException.

This mod has no related projects