Loot Table
This argument must be in a valid SNBT format or a valid loot table key. If the SNBT table doesn't exist, it will create a new one. It returns LootTable
. Example:
Kotlin
StellarCommand("loot-table")
.addArgument("get")
.addLootTableArgument(name = "table")
.addExecution<Player> {
val table = getArgument<LootTable>("table")
selectedLootTable = table
}