Skip to content

Mechanics: dropInventory

muhahahahe edited this page Jan 13, 2018 · 3 revisions

Use this mechanic to items from the targeted slots or inventory to the ground.

Attributes

Attribute Aliases Description Default
item "where=[HAND][OFFHAND][ARMOR][INVENTORY][ANY]
material=[MATERIAL_TYPE][ANY]
lore=[TEXT]
amount=[NUMBER]"
pickupdelay pd delay in ticks when the items are able to pick up again 20
pieces p | amount | a how many pieces regardless of itemstack 1

Example

- dropinventory{item="where=ANY,material=ANY,amount=64";pieces=41} @trigger ~onDamaged
This will drop all slots of a players inventory.
Clone this wiki locally