-
Notifications
You must be signed in to change notification settings - Fork 34
Custom Items
Ryandw11 edited this page Jun 29, 2020
·
1 revision
In custom structures you can use custom items inside of loot tables.
In order to use custom items in a structure you must create it.
- Hold the item you want in your primary hand.
- Run
/cstructure additem {key}
{key}
is what the item will go by in the loot table file.
To add a custom item to a loot table just add the following:
item3:
Type: 'CUSTOM'
Key: 'test'
Amount: 5
Weight: 20
item3
can be anything (just like normal loot table items.)
Type
tells the loot table that item3
is a custom item.
Key
is the custom item key you defined when running the additem command in-game.
Weight
and Amount
works just like a normal loot table item.
Disclaimer: Due to the way Spigot handles saving items, custom items may not work from version to version. (For example: If you update your server to 1.16, Custom Items from 1.15 may not work.)
Custom Structure WIKI
- Main Page
- Installation
- Commands
- Creating Schematics
-
Structure Configuration
- Structure Configuration File
- Configuration Signs
- Weighted Probability
- Updating The Plugin
- Addons
- Developer API