Community listing page, reviews here may not be monitored by the author.
Craftable Infinite Shulker Box
No reviews yet
A simple mod that lets you place an infinite number of Shulker Boxes inside a Shulker Box
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
A lightweight Minecraft Forge mod that:
- allows every vanilla shulker box (undyed and all 16 colors) to be placed inside another shulker box;
- applies the same behavior to sided inventory insertion used by automation such as hoppers; and
- adds a shaped recipe for one undyed shulker box made from nine chests.
The implementation deliberately relies on vanilla inventory/NBT handling. It adds no custom item, block, capability, packet, or persistent data format.
A separate JAR is published for each supported Minecraft version. Use the JAR that matches your Minecraft version; they are not interchangeable.
| Minecraft | Forge | Java | JAR |
|---|---|---|---|
| 1.18.2 | 40.3.12 | 17 | craftable_infinite_shulker_box-mc1.18.2-<version>.jar |
| 1.19.2 | 43.5.2 | 17 | craftable_infinite_shulker_box-mc1.19.2-<version>.jar |
| 1.19.4 | 45.4.3 | 17 | craftable_infinite_shulker_box-mc1.19.4-<version>.jar |
| 1.20.1 | 47.4.23 | 17 | craftable_infinite_shulker_box-mc1.20.1-<version>.jar |
| 1.21.1 | 52.1.16 | 21 | craftable_infinite_shulker_box-mc1.21.1-<version>.jar |
Each JAR accepts any Forge release in its major version line (for example Forge 47 for 1.20.1), and itsย mods.tomlย restricts it to its own Minecraft version so the wrong JAR fails fast with a clear message instead of misbehaving.
Install the JAR in theย modsย directory on both the client and server. Installing it on both sides is recommended because GUI validation occurs on both sides and automation is server-side.
Fill every slot of a crafting table with oneย minecraft:chestย (nine chests total) to craft oneย minecraft:shulker_box. The recipe unlocks when a player obtains a chest.
Build every supported version at once:
./gradlew build
Collect all JARs into a single directory (build/libs):
./gradlew collectJars
Build only one version:
./gradlew :versions:1.20.1:build
Each version's JAR is written toย versions/<mc_version>/build/libs/.
IDE run configurations are generated per version, for exampleย ./gradlew :versions:1.20.1:genIntellijRunsย orย :versions:1.20.1:genEclipseRuns.
ForgeGradle forks external JVMs (Access Transformer, renamer, decompiler) that doย notย inheritย org.gradle.jvmargs. On a machine with little RAM those forks can die withย OutOfMemoryError, which leaves a truncated JAR in the ForgeGradle cache and produces a confusing "Could not find net.minecraftforge:forge:..." error on the next run. Give the forked JVMs their own heap:
JAVA_TOOL_OPTIONS=-Xmx1600m ./gradlew build
If a build already failed this way, delete the affected cache entry (~/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/<version>_mapped_*) before retrying.
common/ Java sources + Mixin config shared by every version
gradle/forge-mod.gradle the ForgeGradle build logic shared by every version
versions/<mc_version>/ per-version gradle.properties + data-pack resources
The Java code is shared: both Mixin targets (ShulkerBoxSlot.mayPlaceย andย ShulkerBoxBlockEntity.canPlaceItemThroughFace) have identical signatures in all supported Minecraft versions, so only build settings and data-pack resources differ.
ShulkerBoxSlotMixinย permits vanilla shulker-box items in the shulker GUI.ShulkerBoxBlockEntityMixinย permits them through sided inventory insertion.- The recipe and recipe-unlock advancement are ordinary data-pack JSON resources.
- Mixins only intercept the vanilla shulker-box rejection case; behavior for other items remains untouched.
These are the version-specific details the per-version resources handle:
- Data pack format: 9 (1.18.2), 10 (1.19.2), 12 (1.19.4), 15 (1.20.1), 48 (1.21.1).
- Data folder names: 1.21 renamed the folders to singular, so 1.21.1 usesย
data/<namespace>/recipe/ย andยadvancement/ย while older versions useยrecipes/ย andยadvancements/. - Recipe result: 1.21.1 usesย
"result": {"id": ..., "count": ...}; earlier versions useย"result": {"item": ..., "count": ...}. - Recipe metadata:ย
categoryย andยshow_notificationย only exist from 1.19.4 on, so the 1.18.2 and 1.19.2 recipes omit them. The only valid crafting categories areยbuilding,ยredstone,ยequipmentย andยmisc. - Advancement item predicate: 1.21.1 takes an ID/tag string (
"items": "minecraft:chest"); earlier versions take a list. - Java / Mixin: 1.20.5+ ships Java 21, and Mixin 0.8.5 has noย
JAVA_21ย compatibility level, so 1.21.1 uses the Mixin 0.8.7 that Forge 52 bundles. - Reobfuscation: pre-1.20.5 runs on Searge names, so those JARs are reobfuscated and ship a refmap. 1.20.5+ runs on the same official mappings used at compile time, so 1.21.1 is neither reobfuscated nor ships a refmap.
Repeat for each version you intend to ship:
- Obtain a chest and confirm the recipe appears in the recipe book.
- Fill a 3x3 crafting grid with chests and craft the undyed shulker box.
- Insert undyed and colored shulker boxes through the shulker GUI.
- Create at least three nesting levels, then place, break, and reopen each box to verify contents persist.
- Use a hopper to insert a shulker box into a placed shulker box.
ๆฌModใซ็นๅฎใฎใชใผใใณใฝใผในใฉใคใปใณใน๏ผMIT็ญ๏ผใฏ่จญๅฎใใฆใใใพใใใ
- ใฒใผใ ใใฌใคใปๅ็ปใป้ ไฟก็ญใงใฎๅฉ็จ: ่ช็ฑใซใๅฉ็จใใใ ใใพใใ
- ๆนๅคใปไบๆฌก้ ๅธใปModpackๅๆขฑใปใณใผใๆต็จ:ย ๅฟ ใไบๅใซไธ่จใๅฃฐใใใปใ้ฃ็ตก๏ผGitHub Issue็ญ๏ผใใใใ ใใใฐๆนๅคใปๅฉ็จๅฏ่ฝใงใใ
- ็ฆๆญขไบ้ : ็กๆญใงใฎๆนๅคใป็กๆญๅ้ ๅธใป่ปข่ผใป่ชไฝ็บ่จใป่ฒฉๅฃฒใฏ็ฆๆญขใใใใพใใ
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources