LootManager
Link to lootmanager
The main entry point for everything loot related.
This entry point can be obtained via the loot
global in scripts and allows you to manipulate everything related to loot or query loot tables.
Импорт класса
Link to импорт-класса
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.loot.LootManager;
Enum Constants
Link to enum-constants
LootManager is an enum. It has 1 enum constants. They are accessible using the code below.
ZenScript CopyLootManager.INSTANCE
Свойства
Link to свойства
Название | Тип | Имеет Getter | Имеет Setter | Описание |
---|---|---|---|---|
Название modifiers | Тип LootModifierManager | Имеет Getter true | Имеет Setter false | Описание Gets the loot modifiers manager. Refer to LootModifierManager for additional info. |
Название tables | Тип LootTableManager | Имеет Getter true | Имеет Setter false | Описание Gets the loot table manager. Refer to LootTableManager for additional info. |