LootManager
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.loot.LootManager;
Description
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.
Members
Getter
Gets the loot modifiers manager.
script.zs
Refer to LootModifierManager
for additional info.
// LootManager.modifiers as LootModifierManagermyLootManager.modifiers
Return Type:
LootModifierManager
Getter
Gets the loot table manager.
script.zs
Refer to LootTableManager
for additional info.
// LootManager.tables as LootTableManagermyLootManager.tables
Return Type:
LootTableManager