- Item Tables -Introduction
This page will explain you how to create an item table that will be used to randomly spawn items in a container
Here is an example automatically generated with the file
The minimum amount of different items that will be set in the container
The maximum amount of different items that will be set in the container
The list of all the different items that will be randomly chosen
Every section name within the Items section marks the beginning of an item section
It is the Minecraft material name
When in-game you can press F3 + H to show the item material name
You can set the material name to any custom internal item name if you wish to set a custom item in the container
If you set the Material to 'Potion', the Effect section must be provided
It is the relative chance for the item to be found in the container
If you don't know what it is, read the Relative Chance section
The minimum amount of this specific item that will be set in the container
The maximum amount of this specific item that will be set in the container
The Minecraft potion effect. Must be provided if the Material is set to 'Potion'
The potion effect level. Default is 1
The name of the plugin you'r referring to when setting an external item (example: MythicMobs)
The name of the external item. Must be provided if the Provider is set
The plugin use a relative chance system which means that it's not in percentage.
If you set 3 different items with each Chance set to 1 it means that each of them will have 1 chance out of 3 to be chosen.
Formula: Item Chance / Total Chance = Probability for this item to be set in the container
In the example above the golden apple has 3 chance out of 15 to be set in the container (between 1 and 3 copies of it). -> 3 / (2+1+3+4+5) = 3/15
I will add more features in future updates