Loot
Loot configuration is closely integrated with item/block/entity configurations. This integration is vital to ensure that items/blocks/entities are properly registered as loot and can be invoked within the condition system.
Unique Key Names for Loot:
Every piece of loot should have a unique key name. No two loot items can have the same key name, preventing any potential conflicts.
Integration with Other Configurations:
For an item/block/entity to be registered as loot, it must be combined with its respective configuration. This ensures that the system recognizes the loot and its associated properties.
Condition System Invocation:
Once registered, the loot can be called upon within the condition system. This allows for more complex gameplay mechanics, such as spawning specific loot under certain conditions or scenarios.
Nick:
Determines what the loot shows like in fish finder and the return value of {nick} Every loot should have a nick, but most of the cases you don't have to manually set it. If a loot is item type, it would use "display.name" as nick if nick is not set, otherwise the nick would the loot ID.
Example:
Visibility in Fish Finder:
Determines if the loot is visible or detectable when using a fish finder tool.
Example:
Disable Statistics:
If enabled, statistics related to this specific loot won't be tracked or displayed.
Example:
Disable Global Event:
If enabled, those events configurated in config.yml would no longer take effects on this loot
Example:
Disable Mini-Games:
Indicates if mini-games associated with this loot are disabled. Some items might be too worthless, making it preferable to skip the mini-game phase.
Example:
Immediate Mini-Game Start:
If set to true, upon encountering the loot, the related mini-game will commence immediately without any delay.
Example:
Prevent grabbing:
Prevent players from grabbing the dropped loots
Example:
Competition Score:
Represents the score or value of the loot when used within competitions.
Example:
Loot Group:
The group of the loot, making it easier to modify the weight. If you don't know what weight is, read the article below
Weight systemExample:
Statistics key:
If you want different loots to share the same statistics you can add statistics key to the loot. For instance you have "tuna_fish", "tuna_fish_silver_star" and "tuna_fish_golden_star", if you want %fishingstats_size-record_tuna% to return the max size of three, you can add this section to the three loots as follows:
Base effects:
Set the initial effects of the loot.
Custom data: (since 2.2.20)
Custom data allows you customize some special data for the loot and use it with internal placeholder {data_xxx}
for instance {data_max_weight}
. This allows you do many cool things for instance create weight properties to the item. Here's an example:
Last updated