Package dev.itsharshxd.zentrix.api.loot
Class LootPoolConfiguration
java.lang.Object
dev.itsharshxd.zentrix.api.loot.LootPoolConfiguration
Mutable, detached editor snapshot of one loot pool.
-
Constructor Summary
ConstructorsConstructorDescriptionLootPoolConfiguration(@NotNull List<LootEntry> entries) LootPoolConfiguration(@NotNull List<LootEntry> entries, @NotNull Set<LootContainerType> eligibleContainerTypes) -
Method Summary
Modifier and TypeMethodDescription@NotNull LootPoolConfigurationcopy()static @NotNull LootPoolConfigurationempty()@Nullable LootEntry@NotNull EnumSet<LootContainerType> Mutable editor list owned only by this detached configuration.booleanisContainerTypeEligible(@NotNull LootContainerType type) voidsetContainerTypeEligible(@NotNull LootContainerType type, boolean eligible)
-
Constructor Details
-
LootPoolConfiguration
-
LootPoolConfiguration
public LootPoolConfiguration(@NotNull @NotNull List<LootEntry> entries, @NotNull @NotNull Set<LootContainerType> eligibleContainerTypes)
-
-
Method Details
-
empty
-
copy
-
getEntries
Mutable editor list owned only by this detached configuration. -
findEntry
-
getEligibleContainerTypes
-
setContainerTypeEligible
-
isContainerTypeEligible
-