Inventory Slots

When looking at someone's inventory, easily specify an inventory slot.

  • In some contexts, you can use the any slot keyword and the whole inventory will be considered.

    • You may also use an asterisk *


  • The only dynamic slot is the mainhand, which you can target with that keyword.

You can target the item held by a player in their cursor with that keyword.

You know, when they have their inventories open. Also targetted by any.

Operations for Slots

Ranges

You may specify a range of slots to check. Lets say, the hotbar: 0-8


Multiple Slots

You may include several slots or ranges as a comma-separated list: 0,27,18-22,9,head,chest,offhand


Shorthands (GooP 1.10)

The keyword armor stands for head,chest,legs,feet or, intercheangeably, helmet, chestplate, leggings, boots

The keyword hands stands for mainhand,offhand


Shulker Boxes

You may specify which slots to check of shulker boxes, and which slots of the inventory these shulker boxes should be, according to the format <Inventory Slot>.<Shulker Box Slot>:

  • Slot #9 within a shulker box in the first inventory slot: 0.9

  • Any slot within shulker boxes in the hotbar: 0-8.*

  • Middle row of any shulker box in the ender chest: ec*.9-17

  • Middle row of a shulker box in the third ender chest slot: ec3.9-17


Inventories / Locations

You can specify where the slots target by the use of a prefix:


If looking at a GooP Containers location (c or |<Personal Container>|), one may access their defined aliases by, instead of specifying a slot number or a keyword, writing the alias between angle brackets:

As an example, using arbitrary alias "FRAME", and an example Personal Container called "Void_Bag":

  • c<FRAME> - All slots from the observed container that meet this alias.

  • c<FRAME>.0-8 - All slots from the top row of shulker boxes in slots that match this alias in the observed container.

  • |Void_Bag|<FRAME> - All slots from that player's Void_Bag that meet the FRAME alias.

You can see them in action in the video-tutorial in the MMOItems Count Gems page.

The %provided-slot% placeholder

In some very specific places where GooP runs commands through the clicking of an inventory ( OnApply Stat, Containers ) you may use %provided-slot% as what slot was clicked. In the case of Containers, this will include the c prefix.

It is not a PlaceholderAPI placeholder, it is parsed by GooP before sending the command to the console.

A video tutorial going through some examples of slots.

The command used is NBT-SetItem, which sets item in the target slot, I use it to easily show what slots the sintax is targetting, though you can use this sintax anywhere within GooP that has a <slot> argument.

Because the normal version of it (%provided-slot%) parses when sending the command, there wouldn't be an easy way of getting the value of it with MythicSkills. In this case, you will want to use <goop.slot.provided>, which will return the integer value of the last 'provided slot' of the caster. This will not include the c prefix when the last slot was a container.

Comment from the Dev:

Im very proud of this feature. It has a lot of power, and its very universal, if you were to ask me why GooP is better than any other nbt editor plugins, its because of this.