Minecraft Data Packs / Technology

Disable Inventory Slots Techdemo

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 1,951 views, 1 today
  • 72 downloads, 0 today
  • 5
  • 4
  • 6
imalittlhigh's Avatar imalittlhigh
Level 62 : High Grandmaster Sweetheart
110
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 ^^
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

Outdex
12/16/2022 11:12 am
Level 1 : New Miner
Outdex's Avatar
i'd like to disable all rows besides hotbar, not columns
1
imalittlhigh
12/17/2022 5:49 pm
Level 62 : High Grandmaster Sweetheart
imalittlhigh's Avatar
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
YesImSawz's Avatar
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 62 : High Grandmaster Sweetheart
imalittlhigh's Avatar
keep in mind, that you can put these items in containers rn ^^
1
Lordphenex
09/06/2022 2:43 am
Level 40 : Master Miner
Lordphenex's Avatar
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 62 : High Grandmaster Sweetheart
imalittlhigh's Avatar
Thats a really good Idea ^^ Ty
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome