Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Show whitespace changes
Inline
Side-by-side
skills/mechanics/fillChest.md
0 → 100644
View page @
38502e7a
## Description
Fills a chest with a list of items, or a
[
droptable
](
/drops/DropTables
)
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| items | item, i | Items to fill a chest with. Can be a comma-separated list of items, or a DropTable | NONE |
| shouldStack | stack | Should the given items stack if possible. true/false | |
| shouldempty | empty | Should the container be emptied before the items are added. true/false | |
## Examples
Example of filling a chest with specific items.
```
yaml
Skills
:
-
fillchest{i=diamond_sword,diamond} @Location{x=#;y=#;z=#} ~onDeath
```
##
Example of filling a chest with a droptable.
```
yaml
Skills
:
-
fillchest{i=SkeletonKingDrops} @Location{x=#;y=#;z=#} ~onSpawn
```
## Aliases
-
[x] populateChest
-
[x] fillContainer
-
[x] populateContainer
<!--TAGS-->
<!--tag:Item-->
<!--tag:Inventory-->
<!--tag:World-->
\ No newline at end of file