-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d122fed
Showing
280 changed files
with
6,831 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
tab_width = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.gradle] | ||
indent_style = tab | ||
|
||
[*.java] | ||
indent_style = tab | ||
|
||
[*.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[quilt.mod.json] | ||
indent_style = tab | ||
tab_width = 2 | ||
|
||
[*.toml] | ||
indent_style = tab | ||
tab_width = 2 | ||
|
||
[*.properties] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
*.java text eol=lf diff=java | ||
*.gradle text eol=lf diff=java | ||
*.kt text eol=lf diff=kotlin | ||
*.kts text eol=lf diff=kotlin | ||
gradlew text eol=lf | ||
*.bat text eol=crlf | ||
|
||
*.md text eol=lf diff=markdown | ||
|
||
.editorconfig text eol=lf | ||
|
||
*.json text eol=lf | ||
*.json5 text eol=lf | ||
*.properties text eol=lf | ||
*.toml text eol=lf | ||
*.xml text eol=lf diff=html | ||
|
||
# Modding specific | ||
*.accesswidener text eol=lf | ||
|
||
# These files are binary and should be left untouched | ||
# (binary is a macro for -text -diff) | ||
*.class binary | ||
*.dll binary | ||
*.ear binary | ||
*.jar binary | ||
*.jks binary | ||
*.png binary | ||
*.so binary | ||
*.war binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build Mod | ||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Eclipse Temurin 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 21 | ||
- name: Build with Gradle | ||
run: gradle build | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build-artifacts | ||
path: build/libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Gradle | ||
.gradle/ | ||
build/ | ||
out/ | ||
classes/ | ||
|
||
# Quilt Loom | ||
remappedSrc/ | ||
run/ | ||
|
||
# Eclipse | ||
*.launch | ||
|
||
# IntelliJ Idea | ||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# Fleet | ||
.fleet/ | ||
|
||
# Visual Studio Code | ||
.settings/ | ||
.vscode/ | ||
bin/ | ||
.classpath | ||
.project | ||
|
||
# Eclipse JDT LS | ||
workspace/ | ||
|
||
# macOS | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright © 2024 Ennui Langeweile, All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Ennui's Bigger Inventories | ||
|
||
Ennui's Bigger Inventories is an inventory overhaul mod that does such in a way that fits vanilla Minecraft naturally: it adds a tenth column not only to the player inventory but also to chests, barrels, shulker boxes, and everything! | ||
|
||
See more on the [Modrinth page](https://modrinth.com/mod/ennuis_bigger_inventories)! | ||
|
||
## Download | ||
|
||
This mod is available for download on: | ||
|
||
- [Modrinth (recommended)](https://modrinth.com/mod/ennuis_bigger_inventories) | ||
- [CurseForge](https://www.curseforge.com/minecraft/mc-mods/ennuis-bigger-inventories) | ||
- [GitHub Releases](https://github.com/EnnuiL/ennuis_bigger_inventories/releases) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
plugins { | ||
id 'maven-publish' | ||
alias libs.plugins.quilt.loom | ||
} | ||
|
||
base { | ||
archivesName = project.archives_base_name | ||
} | ||
|
||
version = "$project.version+${libs.versions.minecraft.get()}" | ||
group = project.maven_group | ||
|
||
repositories { | ||
mavenLocal() | ||
} | ||
|
||
loom { | ||
mods { | ||
"ennuis_bigger_inventories" { | ||
sourceSet("main") | ||
} | ||
} | ||
|
||
// Do not use this at all! It'll get confused by a mixed mapped/unmapped name and then crash and burn! | ||
/* | ||
mixin { | ||
useLegacyMixinAp = false | ||
} | ||
*/ | ||
} | ||
|
||
// All the dependencies are declared at gradle/libs.version.toml and referenced with "libs.<id>" | ||
// See https://docs.gradle.org/current/userguide/platforms.html for information on how version catalogs work. | ||
dependencies { | ||
minecraft libs.minecraft | ||
mappings variantOf(libs.quilt.mappings) { classifier 'intermediary-v2' } | ||
modImplementation libs.quilt.loader | ||
|
||
// QSL is not a complete API; You will need Quilted Fabric API to fill in the gaps. | ||
// Quilted Fabric API will automatically pull in the correct QSL version. | ||
modImplementation libs.quilted.fabric.api | ||
} | ||
|
||
processResources { | ||
inputs.property 'version', version | ||
|
||
filesMatching('quilt.mod.json') { | ||
expand 'version': version | ||
} | ||
} | ||
|
||
tasks.withType(JavaCompile).configureEach { | ||
it.options.encoding = 'UTF-8' | ||
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17. | ||
it.options.release = 17 | ||
} | ||
|
||
java { | ||
// Still required by IDEs such as Eclipse and Visual Studio Code | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
|
||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task if it is present. | ||
// If you remove this line, sources will not be generated. | ||
withSourcesJar() | ||
|
||
// If this mod is going to be a library, then it should also generate Javadocs in order to aid with development. | ||
// Uncomment this line to generate them. | ||
// withJavadocJar() | ||
} | ||
|
||
// If you plan to use a different file for the license, don't forget to change the file name here! | ||
jar { | ||
from('LICENSE.md') { | ||
rename { "${it}_${base.archivesName.get()}" } | ||
} | ||
} | ||
|
||
// Configure the maven publication | ||
publishing { | ||
publications { | ||
mavenJava(MavenPublication) { | ||
from components.java | ||
} | ||
} | ||
|
||
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. | ||
repositories { | ||
// Add repositories to publish to here. | ||
// Notice: This block does NOT have the same function as the block in the top level. | ||
// The repositories here will be used for publishing your artifact, not for | ||
// retrieving dependencies. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# About the mod's design | ||
|
||
What, do you think I was just a supervillain who randomly thought "I'm gonna gaslight people into thinking 10x4 inventories are normal!"? No! That was only 50% of it! | ||
|
||
This mod was the answer to a problem that I noticed, and the answer that this mod provides? It looks simple but it affects the whole game in more ways that you'd imagine! | ||
|
||
## The inventory problem | ||
|
||
As you might know, the universal constants of all inventories have been pretty much left unchanged since their inception. In fact? Even the mockup carries over the exact same dimensions that modern Minecraft would still carry: 9 columns, 3 rows, with a fourth row exclusive to the player acting as a hotbar. This was perfectly fine in a game that didn't really have a diversity of items and blocks, but on a game that now has thousands of them? The current inventories are no longer suitable. | ||
|
||
The reason for that is because at this point? You are capable of doing a whole lot on this game, and yet, the game still asks to manage your inventory carefully, and to plan out what exactly you want to do. If you want to explore? You might have to ignore some of the tasks you wanted to do and come back another day in order to do them. This is perfectly fine! But now the possibilities of what you can do on this game have diversified, you have many different types of stone, wood literally has a whole family now, you many way more ores than you initially had, heck, you can get way more ore per ore than before! | ||
|
||
Due to all of that, you can find yourself managing your inventory way more than desired, and well? It was time to have some sort of relief. So, what do I propose? | ||
|
||
## Solution: Add a tenth column where applicable | ||
|
||
I don't remember exactly why I decided to try out this idea in the first place other than "I felt a little evil during summer break mid-2023 and oh my god i love it! it feels so natural!", but the conclusion was: if you want to do an inventory overhaul in a way that would fit vanilla Minecraft perfectly? You don't do something majorly ridiculous like all those YouTubers keep recommending! You begin with something small! | ||
|
||
The idea is simple: what if you changed all nines into tens? Well I changed all correct nines into tens and the result? You have what could be a nice version of the inventory overhaul! It doesn't break anything on the default resolution, it only gives players 4 more slots, and it gives all chests, ender chests, barrels and shulker boxes 3 more slots! While this would look like an unbalanced change? Keep in mind: the maximum slot sizes are the same as before, so this means more unstackables can fit in your chests while you can fit in slightly more loot inside an automated farm for instance. | ||
|
||
By adding only a few more slots to the player, exploration should no longer be much of a nuisance thanks to them, and due to only being a small buff? They are still encouraged to not do all tasks in a single go, but rather in many expeditions; However, the need to go back will pop up later than with a smaller inventory, and bundles are still a great complement that can help managing your inventory! | ||
|
||
## Alternatives | ||
|
||
I'd like to talk about why alternatives to the solution I propose might be riskier or even a bit dangerous compared to it, but for now? I'd rather focus on other stuff for now! I need a break! But stay tuned for an expansion of this doc (hopefully). | ||
|
||
## Considerations | ||
|
||
Interestingly, by expanding the inventories, the need for Iron Chest mods, where tiered chests are added, might be lessened for the case of Vanilla+! However, if you're dealing with modded Minecraft? Oh boy, be ready to use some sort of storage mod, because those heckers *love* their blocks and items. | ||
|
||
A side effect of slightly buffing all sorts of storage blocks, however, was slightly buffing creepers, and while developing the mod, I came to the conclusion that by buffing any sort of storage, you indirectly buff creepers and their capability of Being Pretty Frustrating. Creepers never really felt fair on Vanilla, but something that I realized was that: they were mildly annoying when they destroyed structures, but when they destroyed your chests? That was when it felt like a line was being crossed. It gets even worse on modpacks where they let you create the Omega Chest or whatever! It can feel amazing to have a gigantic screen with all these items inside, but secretly? Creepers were the strongest enemy on your world, they just had to spawn and explode nearby your beloved Omega Chest, and then it's Game Over. My plan to address this problem is to perhaps create a special harness for chests that can protect them against creeper explosions, with them being destroyed after such, but I'll have to think about it. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Gradle Properties | ||
org.gradle.jvmargs = -Xmx1G | ||
org.gradle.parallel = true | ||
|
||
# Mod Properties | ||
version = 0.1.0 | ||
maven_group = io.github.ennuil | ||
archives_base_name = ennuis_bigger_inventories | ||
|
||
# Dependencies are managed at gradle/libs.versions.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[versions] | ||
# The latest versions are available at https://lambdaurora.dev/tools/import_quilt.html | ||
minecraft = "1.20.1" | ||
quilt_mappings = "1.20.1+build.23" | ||
quilt_loader = "0.24.0" | ||
|
||
quilted_fabric_api = "7.5.0+0.91.0-1.20.1" | ||
libfuturecollage = "0.1.0+1.20.1" | ||
|
||
[libraries] | ||
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" } | ||
quilt_mappings = { module = "org.quiltmc:quilt-mappings", version.ref = "quilt_mappings" } | ||
quilt_loader = { module = "org.quiltmc:quilt-loader", version.ref = "quilt_loader" } | ||
|
||
quilted_fabric_api = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api", version.ref = "quilted_fabric_api" } | ||
quilted_fabric_api_deprecated = { module = "org.quiltmc.quilted-fabric-api:quilted-fabric-api-deprecated", version.ref = "quilted_fabric_api" } | ||
|
||
libfuturecollage = { module = "io.github.ennuil:libfuturecollage", version.ref = "libfuturecollage" } | ||
|
||
# If you have multiple similar dependencies, you can declare a dependency bundle and reference it on the build script with "libs.bundles.example". | ||
[bundles] | ||
quilted_fabric_api = ["quilted_fabric_api", "quilted_fabric_api_deprecated"] | ||
|
||
[plugins] | ||
quilt_loom = { id = "org.quiltmc.loom", version = "1.5.7" } |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.