Jar It!
You can put things in jars.
ModFest

This mod is a submission for the 2022 ModFest: Singularity.
Usage
- Surround whatever you want to jar in a cube of Jar Glass.
- Use the Jar Cork on one of the top blocks of the jar glass. This block must not be on an edge or a corner.
- The jar's contents are collapsed into a single Jar block that can be picked up and brought wherever.
- Use the Jar Opener on a placed jar to expand it again back into the cube of Jar Glass with contents preserved.
Commands
/jar-it create <size> [<id>]- Allows you to create a new jar in the jar-dimension without having to build it first, giving you a jar item for the jar just created. Optionally, the id of the newly created jar can be specified. If a jar with that id already exists, you are still given a jar item for that jar, but a new jar is not created and an error message is printed./jar-it destroy <id> [force]- Destroys a jar with the given id, moving all players and any loaded entities to overworld spawn. Useforceto skip the "are you sure" dialog./jar-it enter [<target>] id <id>- Teleports the user or an optionally giventargetinto the jar with the given id./jar-it enter [<target>] at <block-pos>- Teleports the user or an optionally giventargetinto the jar at the given block position./jar-it give <id>- Gives the player a Jar item for the specified jar id./jar-it list- Lists all the jars in the world./jar-it lock <id>- Locks a jar so that it cannot be opened with a Jar Opener./jar-it unlock <id>- Unlocks a locked jar so that it can be opened with a Jar Opener.
Known Issues
- Jars do not render their insides and being inside a jar does not render what is outside the jar.
- Jars do not track if their item or block gets destroyed, meaning that jars can be orphaned. Commands can be used to obtain items for these jars.
- Jars that are not loaded when they're destroyed via command do not transport their entities to overworld spawn.
How to Install Jar It! (Mod)
Jar It! by Kneelawk is verified for Quilt across Minecraft versions 1.19.2 (latest release: 0.1.11+1.19.2, file size: 347 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.2) and platform (Quilt).
- Make sure you have the compatible loader or environment installed for Quilt.
- Move the downloaded Jar It! file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionJar It! version 0.1.11 for Minecraft 1.19.2
Changes:
- Adds a command to lock a jar and prevent it from being opened.
/jar-it lock <id>- This command locks a jar and prevents it from being opened with a Jar Opener./jar-it unlock <id>- This command unlocks a locked jar and allows it to be opened with a Jar Opener.- Makes
/jar-it destroy <id>'s confirm button suggest the command to actually destroy the jar, instead of straight-up
- Makes management commands broadcast to ops.
- Fixes some lang errors.
Jar It! version 0.1.10 for Minecraft 1.19.2
Changes:
- Fixes the reported size of jars in some commands.
Jar It! version 0.1.9 for Minecraft 1.19.2
Changes:
- Adds some commands to allow operators to manage a world's jars.
/jar-it create <size> [<id>]- Allows you to create a new jar in the jar-dimension without having to build it
specified. If a jar with that id already exists, you are still given a jar item for that jar, but a new jar is not
created and an error message is printed.
/jar-it destroy <id> [force]- Destroys a jar with the given id, moving all players and any loaded entities to
force to skip the "are you sure" dialog./jar-it enter [<target>] id <id>- Teleports the user or an optionally giventargetinto the jar with the
/jar-it enter [<target>] at <block-pos>- Teleports the user or an optionally giventargetinto the jar at the
/jar-it give <id>- Gives the player a Jar item for the specified jar id./jar-it list- Lists all the jars in the world.
Jar It! version 0.1.8 for Minecraft 1.19.2
Changes:
- Fixes chunk loading info sometimes not getting saved.
- Jars tick slower to reduce impact on TPS.
- Made invalid jar blocks break instantly instead of waiting for someone to attempt to open them.
Jar It! version 0.1.7 for Minecraft 1.19.2
Changes:
- Fixes issue where mobs in a jar without a player also in it never end up being teleported back when the jar is opened.
- This is done by having jars that are loaded also load their contents, meaning that machines in a loaded jar will
Jar It! version 0.1.6 for Minecraft 1.19.2
Changes:
- Fixes de-sync issues with jars capturing players which also allows jars to capture all entities.
- Fixes jars not actually enforcing their size cap.
- Fixes blocks that get replaced by expanding jars not dropping anything.
- Fixes jars not checking for gaps in their walls.
- Adds helpful messages telling you what is wrong with your jar.
Known Issues:
- Mobs in a jar are not returned when a jar is opened unless a player is also in the jar.
- In order to fix this, I'll have to setup a jar-ticking chunk-loading system.
Jar It! version 0.1.5 for Minecraft 1.19.2
Changes:
- Replaces some
printlnstatements with a logger. - Removes the reference to the empty
mixins.jsonfile.
Jar It! version 0.1.4 for Minecraft 1.19.2
Changes:
- Updates mod icon.
Jar It! version 0.1.3 for Minecraft 1.19.2
Changes:
- Jars now copy block-entity NBT properly.
- Made it so that shrinking a jar places the jar block at the bottom and expanding a jar assumes the jar being expanded
- Fix some blocks breaking when jarred.
Jar It! version 0.1.2 for Minecraft 1.19.2
Changes:
- Jars capture players.
Jar It! version 0.1.1 for Minecraft 1.19.2
Changes:
- Fixes LNS and QKL dependencies.