Class AbstractRegistryList<T extends org.bukkit.Keyed>
java.lang.Object
com.palmergames.bukkit.towny.object.AbstractRegistryList<T>
- Direct Known Subclasses:
EntityLists
,ItemLists
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractRegistryList.Builder<T extends org.bukkit.Keyed,
F extends AbstractRegistryList<T>> -
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractRegistryList
(@NotNull org.bukkit.Registry<T> registry, @NotNull Collection<T> collection) -
Method Summary
-
Field Details
-
tagged
-
-
Constructor Details
-
AbstractRegistryList
public AbstractRegistryList(@NotNull @NotNull org.bukkit.Registry<T> registry, @NotNull @NotNull Collection<T> collection)
-
-
Method Details
-
contains
- Parameters:
element
- The element to test for- Returns:
- Whether this list contains the given element
-
contains
public boolean contains(@NotNull @NotNull org.bukkit.NamespacedKey key) -
contains
-
tagged
-