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

File namestope-forge-2.13.0-1.20-1.20.1.jar
Uploader
ScottKillenScottKillen
Uploaded
Nov 29, 2026
Downloads
0
Size
814.7 KB
Mod Loaders
Forge
File ID
9920124
Type
R
Release
Supported game versions
  • 1.20.1
  • 1.20

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

New API for mod developers:

  • Registry lookups: a block's ID, every block state in ID order, a biome's key, the biomes a biome tag holds on a running server, and a vanilla creative tab's key.
  • Blocks: whether a block state is a full opaque cube.
  • World generation: a chunk section's block counts with no allocation after a thread's first count, whether a block can stay where a feature would place it, and the random a placed feature got in a chunk.
  • Lifecycle events: a server starting, with tags bound and before its levels exist, so what world generation reads is ready for the spawn area.

One fix for mod developers: a setting whose value is written as JSON null, such as an empty optional, stays in the settings file, where it was left out and the file was rewritten at every load. Nothing changes for players. Mods built for 2.0 through 2.12.1 run on 2.13.0.

API

  • Added RegistryLookups#blockId (experimental): the ID a block is registered under.
  • Added RegistryLookups#biomeTag (experimental): the biomes a biome tag holds on a server, as last loaded from data packs, in tag order.
  • Added RegistryLookups#blockStates (experimental): every block state, as a list whose index is the state's ID.
  • Added RegistryLookups#biomeKey (experimental): a biome's key by its ID.
  • Added RegistryLookups#creativeTabKey (experimental): the key of a creative tab by its ID, for CreativeTabs#addAfter, since vanilla's own tab keys are private in Minecraft 1.20.1. addAfter's Javadoc and example name a vanilla tab through it.
  • Added BlockPlacement#isFullOpaqueCube (experimental): whether a block state is a full, opaque cube when nothing is around it.
  • Added SectionCounts (experimental): adds a chunk section's block counts, of every block or of a fixed grid of them, to a caller's array, allocating nothing after a thread's first call.
  • Added WorldGenBlocks#canSurvive (experimental): whether a block state can stay at a position in a level a feature places into.
  • Added FeatureRandoms (experimental): a new random in the state world generation handed a placed feature in a chunk, for recomputing what the feature rolled there.
  • Added ServerStartingCallback (experimental): once per server start, on the server thread, with data packs applied and tags bound, before the server creates its levels.
  • Changed ConfigSpec.Builder#define: a value whose codec writes JSON null is written to the settings file as null, under $defaults too, where the key was left out, so each load found it missing and rewrote the file. No released mod has such a key.

This mod has no additional files