
Modrinth · Minecraft mod
Pym
Library that lets Sable sublevels be resized, with their physics, collisions and mechanics scaling along with them. Designed for Create: Pocket Sized & Suit Yourself.
Quick answer
Which Pym release should I use?
Pym 0.8.0 targets 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is Pym required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Pym 0.8.0 need?
0.8.0. Change the file and its required mods may change too.
Install Sable first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Pym without breaking your instance.
Built for Pym 0.8.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.8.0. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Sable first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.8.0. It opens that exact file at the source.
About this project
What does Pym add?
A library for other mods to scale sublevels safely.
For Create: Pocket Sized & Suit Yourself.
Simulated Contraptions can be miniaturized down to tiny scales while continuing to function, with their mechanics physics and collisions scaled along with them. Mass reduces when shrunken for easy transportation and increases when growing beyond 1x.
Pym 0.8.0 API
Additions to existing sections
Reading scale (Pym.scale())
- .ofBody(body): scale of a physics body
- .isAt(subLevel, x): true if it's at scale x
- .linkFactor(a, b): scale two sublevels share, 1.0 if they differ
Resizing (Pym.resize())
- .reachable(): ScaleBounds.ANY, every scale Pym can hold
- .defaultTransitionTicks(): how long a resize takes by default (9 ticks)
Coordinates (Pym.frames())
- .presentedPose(subLevel): where the sublevel is shown
- .presentedToWorld / .presentedToLocal, plus the vector, direction and length versions: same as the regular versions, but use where the sublevel is shown instead of where its physics is. Only differs for worn builds.
Entities (Pym.entities())
- .renderScale(entity, partialTick): scale to draw the entity at this frame
Connections (Pym.connections())
- .resizeGroup(origin, joints): every sublevel a resize of origin would carry along
Extensions (Pym.extensions())
- .register(SchematicListener): save and restore your own data with scaled sublevels in Create schematics
- .massCoupling(ScaleCoupling): your own groups of sublevels whose mass is handled together while scaled
- .links(function): extra sublevels a resize should carry along
Events
- ResizeFollowedEvent: an entity was resized along with a sublevel
Sublevel lifecycles
Detached sublevels live outside the normal physics world, stored or carried without physics.
- Detached.create(level, id): new detached sublevel
- Detached.open(level, id, plot): load one from saved plot data
- Detached.close(detached): unload it, returns its plot data
- Detached.release(detached): turn it back into a normal physics sublevel
- Detached.attach(child, parent) / Detached.detach(child): carry one detached sublevel on another
- Detached.rules(detached, Rules): what players can do to it: interact, split, collide
Hosted builds are worn builds that keep real physics. Their physics runs at a hidden site, and they're shown on the wearer.
- Hosted.host(detached) / Hosted.unhost(root): start and stop hosting a build
- Hosted.wearables(resolver, ...): tell Pym which build a player is wearing
- Hosted.worn(player): the build a player is wearing
- Hosted.present(root, pose): where to show it
- Hosted.physical(subLevel): where its physics actually is
- Hosted.isHosted / rootOf / members: find hosted builds and their parts
Plots and bodies
- Plots.free(container, x, z): a free plot near x, z
- Plots.move(plot, from, to): move saved plot data to another dimension
- Plots.localise(point, subLevel): bring a point that wrapped into the wrong plot back into this one
- Plots.components(blocks): split a set of blocks into connected pieces
- PhysicsBodies.rebuildScaledCollider(subLevel): rebuild a scaled sublevel's collision after changing its blocks
- SchematicScale.read(stack) / SchematicScale.record(stack, scale): scale saved on a schematic item
Client (com.misterblusky9.pym.api.client)
- Mirrors.open(level, id, plot): show a saved build on the client, for previews
- Portrait.drawFitted(subLevel, poseStack, size): draw a sublevel as a small picture in a GUI or item
- RenderDetail.worthDrawing(detail, reference): skip detail past a 16:1 size ratio
- EntityRenderScale.apply(...): apply an entity's scale when you render it yourself
- ParticleScale.emitAt(scale): try-with-resources, particles spawned inside are scaled
- LineEmitter.firedBy(params, entity): scale Create outline lines to whoever fired them
Mixin helpers
- MixinHooks.warnMissing(mod, version, target, mixin): logs a warning when another mod's mixin target is gone, instead of failing silently
Getting Pym
Source: https://github.com/misterblusky9/pym
Maven: https://misterblusky9.github.io/pym/
repositories {
maven { url = "[https://misterblusky9.github.io/pym/](https://misterblusky9.github.io/pym/)" }
}
dependencies {
implementation "com.misterblusky9.pym:pym:0.8.0"
}
Declare Pym as a required dependency in your neoforge.mods.toml instead of bundling it, so every mod that uses Pym shares one copy.
Project description from Modrinth.
Pick your setup
Pym by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Pym versions and loaders
0.8.0
pym-0.8.0.jar
6 Dec 2026
0.8.0
pym-0.8.0.jar
6 Dec 2026
0.7.1
pym-0.7.1.jar
23 Nov 2026
0.4.0
pym-0.4.0.jar
16 Oct 2026
Looking for an older file? The official Modrinth project page is in Resources.