Uses of Class
net.minecraft.util.registry.RegistryEntryList.Direct
Packages that use RegistryEntryList.Direct
Package
Description
Contains the registry, used to register various in-game components, and related classes.
-
Uses of RegistryEntryList.Direct in net.minecraft.util.registry
Methods in net.minecraft.util.registry that return RegistryEntryList.DirectModifier and TypeMethodDescriptionstatic <E,T> RegistryEntryList.Direct<T> RegistryEntryList.of(Function<E, RegistryEntry<T>> mapper, E[] values) Returns a new direct list ofvaluesconverted to a registry entry withmapper.static <E,T> RegistryEntryList.Direct<T> RegistryEntryList.of(Function<E, RegistryEntry<T>> mapper, List<E> values) Returns a new direct list ofvaluesconverted 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.