Interface IRegistryHolder
- All Known Implementing Classes:
GlobalRegistryHolder
,User
@Internal
public interface IRegistryHolder
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable IRegistry
<?> getRegistry
(ResourceLocation registryKey) @Nullable IRegistry
<?> getRegistry
(ResourceLocation registryKey, ClientVersion version) default <T extends MappedEntity>
IRegistry<T> getRegistryOr
(IRegistry<T> fallbackRegistry) default <T extends MappedEntity>
IRegistry<T> getRegistryOr
(IRegistry<T> fallbackRegistry, ClientVersion version)
-
Method Details
-
getRegistryOr
-
getRegistryOr
default <T extends MappedEntity> IRegistry<T> getRegistryOr(IRegistry<T> fallbackRegistry, ClientVersion version) -
getRegistry
-
getRegistry
-