SeededContainerLoot

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.

script.zs
import crafttweaker.api.item.component.SeededContainerLoot;

Members

Getter
script.zs
// SeededContainerLoot.lootTable as ResourceKey<LootTable>
mySeededContainerLoot.lootTable

Return Type: ResourceKey<LootTable>

static of(lootTable as ResourceKey<LootTable>, seed as long) as SeededContainerLoot
script.zs
// SeededContainerLoot.of(lootTable as ResourceKey<LootTable>, seed as long) as SeededContainerLoot;
SeededContainerLoot.of(myResourceKey, myLong);

Parameters:

seed Type: long

Return Type: SeededContainerLoot

Getter
script.zs
// SeededContainerLoot.seed as long
mySeededContainerLoot.seed

Return Type: long