Data Packs Technology

Disable Inventory Slots Techdemo

  • 3.7k views 1 today
  • save_alt 171 downloads
Compatibility
Minecraft 1.19
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Predicates
  • 7
  • 5
  • 6
imalittlhigh
Lvl 67High Grandmaster Sweetheart Stack
143
This is a Techdemo on how to disable Inventory Slots in Datapacks.

The Item will drop, if you drop it. It can be killed easily though with the help of its CustomModelData.

If you cant get all you need from the Code, just watch the Video, I am too lazy to type a tutorial.

You can Change the Item and its name, use something that cant be placed though!
(You will have to change the nbt in all the predicates and functions!)


Feel free to use this as you wish.

Send me creations of yours with this concept pls ^^

More like this

  Have something to say?

Outdex
12/16/2022 11:12 am
Level 1 : New Miner
i'd like to disable all rows besides hotbar, not columns
1
imalittlhigh
12/17/2022 5:49 pm
Level 67 : High Grandmaster Sweetheart Stack
cant rly give u a full rundown, but if u look at my "code" you should be able to do that quite easily, just change the slot numbers basically ^^
1
YesImSawz
10/03/2022 9:49 am
Level 1 : New Miner
You have no idea how useful this is for my upcoming project. Thank you so much!
1
imalittlhigh
10/03/2022 11:03 am
Level 67 : High Grandmaster Sweetheart Stack
keep in mind, that you can put these items in containers rn ^^
1
Lordphenex
09/06/2022 2:43 am
Level 44 : Master Miner
I think you can use a chest minecart instead of a donkey as it doesn't drop itself when killed by /kill command, only its content. But anyway that's a good tech demo !
2
imalittlhigh
09/06/2022 3:12 am
Level 67 : High Grandmaster Sweetheart Stack
Thats a really good Idea ^^ Ty
2

Welcome