Mechanic

fillChest

Fills a container with loot

Aliases

populateChestfillContainerpopulateContainer

Configuration Fields (3)

NameTypeDefaultDescription
items
item, i
DropTableThe item(s) or a droptable to use to fill the chest
shouldEmptyChest
empty
booleanfalseClears the container before filling it with new items
shouldStack
stack
booleanfalseWhether the item(s) should stack to a similar item

Examples & Notes

Examples

Example of filling a chest with specific items.

  Skills:
  - fillchest{i=diamond_sword,diamond} @Location{x=#;y=#;z=#} ~onDeath

Example of filling a chest with a droptable.

  Skills:
  - fillchest{i=SkeletonKingDrops} @Location{x=#;y=#;z=#} ~onSpawn

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.