Interface HolderSet<T>
- All Known Subinterfaces:
RegistryTag<T>
- All Known Implementing Classes:
HolderSet.Direct
A HolderSet is either a registry tag or a list of direct holders. Mixing is not allowed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
HolderSet.Direct<T extends Holder.Direct<T>>
-
Method Summary
-
Method Details
-
codec
@NotNull static <T extends Holder<T>> @NotNull Codec<HolderSet<T>> codec(@NotNull Registries.Selector<T> selector, @NotNull @NotNull Codec<T> registryCodec)
-