Interface SeededContainerLoot.Builder
- All Superinterfaces:
DataComponentBuilder<SeededContainerLoot>
- Enclosing interface:
SeededContainerLoot
@Experimental
@NonExtendable
public static interface SeededContainerLoot.Builder
extends DataComponentBuilder<SeededContainerLoot>
Builder for
SeededContainerLoot.-
Method Summary
Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
lootTable
@Contract(value="_ -> this", mutates="this") SeededContainerLoot.Builder lootTable(net.kyori.adventure.key.Key key) Sets the loot table key.- Parameters:
key- the loot table key- Returns:
- the builder for chaining
- See Also:
-
seed
Sets the loot table seed.- Parameters:
seed- the seed- Returns:
- the builder for chaining
- See Also:
-