Minecraft Data Packs / Game Mechanic

Inventory Improvements | Access your inventory from your hotbar

  • check_circle Advancements
  • check_circle Functions
  • 3,446 views, 6 today
  • 122 downloads, 0 today
  • 9
  • 4
  • 5
Lordphenex's Avatar Lordphenex
Level 39 : Artisan Miner
17
If you're a builder you know how much of a pain it is to only have nine slots in your hotbar, especially when using a lot of different blocks. This datapack aims to solve part of this problem by letting you rotate your inventory. And so you can change your hotbar to contain whatever you need. You are now also able to rotate only one column at a time to keep your hotbar clean.

But how does it work ?
It is really simple : you only have to cycle through your hotbar and doing so, your inventory will rotate.
Your inventory will go upward one row if you pass from slot nine to one and will go downward if you go the other way around.
To change how the pack behave, just use the following command /trigger Inv_rotation set Mode
There are currently 3 modes available : disabled (Mode=0), enabled when sneaking (Mode=1) and always enabled (Mode=2).
If anything is not clear enough please ask me in the comments.

The column rotation is triggered when you really briefly
sneak (I mean really briefly, just hit your sneak key). Doing so will rotate the column you are selecting downward.
You can toggle it by using following command :
/trigger ToggleColumnRotNote that if your server is a bit laggy, you may not be able to use this functionality. I'm sorry but it is as it is.


What's next for this datapack ?
I plan to add more content to this datapack later on. By the way, it was inspired by Xisumavoid's Inventory Update video. I will probably implement some other stuff from that video. And if you find any bug or want to improve something, please tell me in the comment, so it can benefit others as well.

Compatibility and Licensing
This datapack should be compatible with any other as long as the other datapacks don't modify the yellow_shulker_box loot table (except the ones respecting MC Datapacks conventions).
This work is placed under CC BY-NC-SA 4.0 license.
CreditCredit to Xisumavoid for showing the idea in his Inventory Update video. Credit to Misode who makes my datapack possible thanks to his website.
CompatibilityMinecraft 1.16
toMinecraft 1.19
Tags

2 Update Logs

Update #2 : by Lordphenex 10/18/2022 1:41:23 pmOct 18th, 2022

Now works as intended in 1.19.
LOAD MORE LOGS

Create an account or sign in to comment.

2
10/14/2022 11:47 am
Level 55 : Grandmaster Blockhead
blockerlocker
blockerlocker's Avatar
I really love the concept of this! I couldn't get it to work in-game, every time I held shift and scrolled it would just clear my whole inventory. Regardless, based on description, the functionality seems really simple and effective!
1
10/14/2022 1:16 pm
Level 39 : Artisan Miner
Lordphenex
Lordphenex's Avatar
I tried to replicate it on newer versions as I only tested it in 1.16.5 previously but I was not able to.
Is your world at least 256 blocks tall ? Cause I need to place a shulker_box at y level 255.
2
10/14/2022 2:12 pm
Level 55 : Grandmaster Blockhead
blockerlocker
blockerlocker's Avatar
This happened in version 1.19.2, I'm sure some command syntax has slightly changed since 1.16.5 so that's likely the issue.
1
10/14/2022 4:30 pm
Level 39 : Artisan Miner
Lordphenex
Lordphenex's Avatar
I found the problem ! It comes from a little loot table change from 1.18...
I should have properly tested it
1
10/14/2022 1:03 pm
Level 39 : Artisan Miner
Lordphenex
Lordphenex's Avatar
Oh... Thanks for your report !
On what version did that happen ?
Does it also happen when scrolling without sneaking ?
Was the column rotation option toggled ?
Does it happen when scrolling to right and left ?
I'll try to replicate what could have happened...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome