Jar It!
This mod allows you to place various objects into special jars. It was created for the ModFest Singularity 2022 event.
How to Use
Creating a jar involves several simple steps:
- Build a cube of special jar glass around the object you want to place in the jar
- Use the jar cork on one of the top glass blocks (not on a corner or edge block)
- The jar's contents are compressed into a single jar block that can be carried
- To expand the jar back, use the jar opener on a placed jar block
Commands
/jar-it create <size> [<id>]- Creates a new jar in the jar dimension without prior construction, gives you a jar item. You can specify the identifier of the new jar/jar-it destroy <id> [force]- Destroys a jar with the specified identifier, moving all players and loaded entities to spawn in the regular world. Useforceto skip confirmation/jar-it enter [<target>] id <id>- Teleports the user or specified target into the jar with the given identifier/jar-it enter [<target>] at <block-position>- Teleports the user or specified target into the jar at the block position/jar-it give <id>- Gives the player a jar item for the specified identifier/jar-it list- Shows a list of all jars in the world/jar-it lock <id>- Locks a jar, preventing it from being opened with a jar opener/jar-it unlock <id>- Unlocks a locked jar
Known Issues
- Jar interiors are not rendered, and being inside a jar doesn't show what's happening outside
- Jars don't track if their items or blocks get destroyed, which can lead to "orphaned" jars. Commands can be used for such cases
- Jars that are not loaded when destroyed via command don't move their entities to spawn in the regular world