Interface DefaultedRegistry<T>
- All Superinterfaces:
HolderGetter<T>, HolderLookup<T>, HolderLookup.RegistryLookup<T>, HolderOwner<T>, IdMap<T>, IRegistryExtension<T>, Iterable<T>, com.mojang.serialization.Keyable, Registry<T>
- All Known Implementing Classes:
DefaultedMappedRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from interface HolderLookup
HolderLookup.Provider, HolderLookup.RegistryLookup<T>Nested classes/interfaces inherited from interface HolderLookup.RegistryLookup
HolderLookup.RegistryLookup.Delegate<T>Nested classes/interfaces inherited from interface Registry
Registry.PendingTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull TbyId(int id) @NonNull Identifier@NonNull TgetValue(@Nullable Identifier key) Methods inherited from interface HolderGetter
get, get, getOrThrow, getOrThrow, getRandomElementOfMethods inherited from interface HolderLookup
listElementIds, listElements, listTagIds, listTagsMethods inherited from interface HolderLookup.RegistryLookup
filterElements, filterFeatures, getData, registryLifecycleMethods inherited from interface HolderOwner
canSerializeInMethods inherited from interface IdMap
byIdOrThrow, getIdOrThrow, sizeMethods inherited from interface IRegistryExtension
addAlias, addCallback, addCallback, containsValue, doesSync, getDataMap, getId, getId, getKeyOrNull, getMaxId, resolve, resolveMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface Registry
asHolderIdMap, byNameCodec, componentLookup, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getId, getOptional, getOptional, getRandom, getResourceKey, getTagOrEmpty, getTags, getValue, getValueOrThrow, holderByNameCodec, key, keys, keySet, prepareTagReload, registrationInfo, registryKeySet, stream, wrapAsHolder