Minecraft Data Packs / Technology

Disable Inventory Slots Techdemo

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 843 views, 2 today
  • 26 downloads, 0 today
  • 3
  • 2
  • 6
imalittlhigh avatar imalittlhigh
Level 43 : Master Sweetheart
21
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.

1
12/16/2022 11:12 am
Level 1 : New Miner
Outdex
Outdex avatar
i'd like to disable all rows besides hotbar, not columns
1
12/17/2022 5:49 pm
Level 43 : Master Sweetheart
imalittlhigh
imalittlhigh 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
10/03/2022 9:49 am
Level 1 : New Miner
YesImSawz
YesImSawz avatar
You have no idea how useful this is for my upcoming project. Thank you so much!
1
10/03/2022 11:03 am
Level 43 : Master Sweetheart
imalittlhigh
imalittlhigh avatar
keep in mind, that you can put these items in containers rn ^^
2
09/06/2022 2:43 am
Level 30 : Artisan Miner
Lordphenex
Lordphenex 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
09/06/2022 3:12 am
Level 43 : Master Sweetheart
imalittlhigh
imalittlhigh avatar
Thats a really good Idea ^^ Ty
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome