Changes
Page history
added DetermineCondition
authored
Oct 23, 2025
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/fillChest.md
0 → 100644
View page @
5d1a42d8
## 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