Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Adding GUIS

Minimine edited this page May 4, 2018 · 7 revisions

JSON format

{
  "guis": [
    {
     "id": 1,
     "texture": "customguis/1"
    },
    {
     "id": 2,
     "texture": "customguis/2",
     "inventory": false
    }
  ]
}
  • The creating of an Inventory is nearly the same as the creating of a block, but we just can use one texture, not 6. As parent it has a diamond_shovel. We suppose you to use our Custom invenory template To place this Inventory type:
/setblock ~ ~ ~ minecraft:chest{Items:[{Slot:0b,id:"minecraft:diamond_shovel",Count:1b,tag:{Unbreakable:1b,Damage:1}}]} replace
  • If you want not to make an Inventory, but to make an another Gui, write this: "inventory": false in the definition. We suppose you to use our gui template To give you this GUI type
/give @s minecraft:diamond_shovel{Unbreakable:1b,Damage:1} 1

Info: You can also define a parent, if for you 1562 blocks aren't enough. It works like the parent on items.

Clone this wiki locally