HomeJavaModsBag of Yurting
Bag of Yurting
ModsJava

Bag of Yurting

by Commoble · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.20.1 · Forge⬇ Download for 1.19.1–1.19.2 · Forge⬇ Download for 1.17.1 · Forge⬇ Download for 1.16.4–1.16.5 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Bag of Yurting — screenshot 1Bag of Yurting — screenshot 2Bag of Yurting — screenshot 3

Bag of Yurting uses the Forge Modloader! Looking for something similar on Fabric? Click this sentence to check out doctor4t's Nomad Books!

 

 

The Bag of Yurting is a powerful, versatile, dyeable, upgradeable, all-purpose yurt storage tool.

 

Using the bag on a block will store the surrounding blocks into the bag; the area of effect is a cube, the bottom of which is centered on the block the bag was used on. Using the bag again will unload the stored blocks in a similar manner. The internal states of any furnaces, chests, etc. in your yurt will be stored in the bag as well.

 

Combining two bags at a crafting table upgrades the size. The bags can also be dyed, to help you remember which yurt is stored in which bag. See IMAGES above for crafting recipes.

 

 

 

Technical Info

The bag's size and color are stored as NBT in itemstacks of the bag. The size is stored with the "radius" key; the color is stored in the same manner as leather armor.

 

Players and ops with command access can spawn a bag with size x with this command:

 

/give PlayerName bagofyurting:bag_of_yurting{radius:x} 

<br />A bag with radius x will have an area of effect with diameter (2*x) + 1, so a bag of radius 5 will have an 11x11x11 area of effect.

 

The upgrade recipe json uses a special recipe type. It parses like a regular shaped recipe json, so this recipe can be adjusted as needed, with the caveats that A) it must be a shaped recipe, and B) at least one of the ingredients must be a Bag of Yurting. The output bag will have a radius value equal to X+1, where X is the smallest radius of any bag used as an ingredient.

 

There are three block tags added by the mod: bagofyurting:blacklist, bagofyurting:whitelist, and bagofyurting:replaceable.

 

The blacklist and whitelist tags define which blocks can be stored into the bag. A block is storeable if it is whitelisted and not blacklisted. If the whitelist tag is empty, all blocks are considered to be whitelisted. Blocks that cannot be stored by the player will be ignored when blocks are loaded into the bag.

 

The replaceable tag defines which blocks in the world are allowed to be overwritten when unloading the bag. Any block with a replaceable material (such as tall grass) is always replaceable. If, when unloading the bag, any blocks that would be replaced are unable to be replaced by the contents of the bag, the unloading will fail and the bag's contents will remain in the bag.

 

Players who are in creative mode or have sufficient permission level ignore these tags; this permission level defaults to 2 and can be configured in the server config.

 

The storing or unloading of a block can also be prevented by other mods by cancelling the BlockEvent.BreakEvent or the BlockEvent.EntityMultiPlaceEvent forge events, respectively.

 

 

 

This mod was made as part of the MMDJam 2020 mod jam.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more