Uses of Class
net.minecraft.registry.entry.RegistryEntryList.Direct
-
Uses of RegistryEntryList.Direct in net.minecraft.registry.entry
Modifier and TypeFieldDescription(package private) static final RegistryEntryList.Direct
<?> RegistryEntryList.Direct.EMPTY
Modifier and TypeMethodDescriptionstatic <E,
T> RegistryEntryList.Direct <T> RegistryEntryList.of
(Function<E, RegistryEntry<T>> mapper, E[] values) Returns a new direct list ofvalues
converted to a registry entry withmapper
.static <E,
T> RegistryEntryList.Direct <T> RegistryEntryList.of
(Function<E, RegistryEntry<T>> mapper, Collection<E> values) Returns a new direct list ofvalues
converted to a registry entry withmapper
.static <T> RegistryEntryList.Direct
<T> RegistryEntryList.of
(List<? extends RegistryEntry<T>> entries) Returns a new direct list ofentries
.static <T> RegistryEntryList.Direct
<T> RegistryEntryList.of
(RegistryEntry<T>[] entries) Returns a new direct list ofentries
.