generated from Turnip-Labs/bta-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
6120150
commit eaf3ffe
Showing
8 changed files
with
59 additions
and
48 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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
<img align="right" height="128" width="128" alt="" loading="lazy" decoding="async" src="./src/main/resources/icon.png"/> | ||
|
||
# Playground | ||
# Sort Chest | ||
|
||
This is the beginning of awesome mods! | ||
Organize your chests instantly with a single keystroke | ||
|
||
> **Important** | ||
> Required [Babric](https://github.com/Turnip-Labs/babric-instance-repo/releases) to run the mod. | ||
## Features | ||
## How to use | ||
|
||
- Feature #1 | ||
- Feature #2 | ||
- Feature #3 | ||
1. Open a chest | ||
2. Press a key: | ||
- `S`: Sort (will also auto merge) | ||
- `M`: Merge (try to merge stacks together) | ||
|
||
## FAQ | ||
|
||
### Server? | ||
|
||
**Yes**, you can use the sort chest mod on a server. However, the item might jump for a while after sorting because the mod will emulate mouse clicks rather than directly changing the inventory data. | ||
|
||
### How does the sort chest mod sort items? | ||
|
||
Items are sorted by their item ID (ascending), followed by its metadata (like wool color code, ascending), and finally by its stack size (descending). |
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
4 changes: 2 additions & 2 deletions
4
...a/rootenginear/playground/Playground.java → ...ava/rootenginear/sortchest/SortChest.java
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
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
2 changes: 1 addition & 1 deletion
2
...ound/mixin/accessor/GuiChestAccessor.java → ...hest/mixin/accessor/GuiChestAccessor.java
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
2 changes: 1 addition & 1 deletion
2
...und/mixin/accessor/GuiScreenAccessor.java → ...est/mixin/accessor/GuiScreenAccessor.java
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
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
{ | ||
"schemaVersion": 1, | ||
"id": "playground", | ||
"version": "${version}", | ||
"name": "Playground", | ||
"description": "This is the beginning of awesome mods!", | ||
"authors": [ | ||
"rootEnginear" | ||
], | ||
"schemaVersion": 1, | ||
"id": "sortchest", | ||
"version": "${version}", | ||
"name": "Sort Chest", | ||
"description": "Organize your chests instantly with a single keystroke", | ||
"authors": [ | ||
"rootEnginear" | ||
], | ||
"icon": "icon.png", | ||
"contact": { | ||
"homepage": "https://github.com/rootEnginear/bta-rootenginear-mods", | ||
"sources": "https://github.com/rootEnginear/bta-rootenginear-mods", | ||
"issues": "https://github.com/rootEnginear/bta-rootenginear-mods/issues" | ||
}, | ||
"license": "CC0-1.0", | ||
"environment": "*", | ||
"entrypoints": { | ||
"main": [ | ||
"rootenginear.playground.Playground" | ||
] | ||
}, | ||
"mixins": [ | ||
"playground.mixins.json" | ||
], | ||
"depends": { | ||
"fabricloader": ">=0.13.3" | ||
} | ||
"contact": { | ||
"homepage": "https://github.com/rootEnginear/bta-rootenginear-mods", | ||
"sources": "https://github.com/rootEnginear/bta-rootenginear-mods", | ||
"issues": "https://github.com/rootEnginear/bta-rootenginear-mods/issues" | ||
}, | ||
"license": "CC0-1.0", | ||
"environment": "*", | ||
"entrypoints": { | ||
"main": [ | ||
"rootenginear.sortchest.SortChest" | ||
] | ||
}, | ||
"mixins": [ | ||
"playground.mixins.json" | ||
], | ||
"depends": { | ||
"fabricloader": ">=0.13.3" | ||
} | ||
} |
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