® LootChest Type registration

You can register your own lootchest type using "registrations.yml".

1. File overview

regular:
  animation: regular
mystic:
  animation: mystic
spooky:
  animation: spooky

2. Register your own type

The registration format:

<TypeID>: #The typeID is your desire.
  animation: <animationID>

There can be more field in the future but currently there is only "animation".

Animation ID available: "regular", "mystic", "spooky"

3. After registration

That's not the end, you still have to do some works before function

1. Make a config

Step 1: Navigate to "/lootchests" folder.

Step 2: Make a yml file named exactly same with the <TypeID> above.

Step 3: Just configure it as tutorial from this

2. Add a template

Step 1: Navigate to your template file and open.

Step 2: Add template for new type:

<TypeID>:
  <Template settings>...

You have to ensure you did everything right, or you can use setup menu for higher accuracy.

That's it! You have completely register your own type independent with others.

Last updated