Set Material

Solely changes the material of the target item

/goop nbt setMaterial <player> <slot> <material>

Materials are the vanilla name of items - STONE, DIAMOND_SWORD, STICK, etc...

Args Breakdown (What everything does)

<Player>

  • Player whose inventory items' NBT will be edited.

  • Supports a few vanilla selectors.

  • [1.6.5] May be an Entity (dropped item) UUID

<Slot>

  • The slot in the player's inventory in which items will be transmutated. To read on slots see Inventory Slots.

  • Examples: mainhand, offhand, chest, feet, any, 0-8, ec*

<Material>

  • The material to transform this item to

Tips

  • Changing the material of an item keeps all NBT data except durability.

    • Funny for april fools jokes.

Simple Examples:

/goop nbt setMaterial cocopad head ACACIA_BOAT

Changes cocopad's helmet material to an Acacia Boat. Will retain all its original attributes and NBT data.


/goop nbt setMaterial %player% c<FLASH> RED_STAINED_GLASS_PANE

Changes the material of all the GooP Container slots labeled 'FLASH' into red stained glass panes