Package net.minecraft.core
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 net.minecraft.core.HolderLookup
HolderLookup.Provider, HolderLookup.RegistryLookup<T>Nested classes/interfaces inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
HolderLookup.RegistryLookup.Delegate<T>Nested classes/interfaces inherited from interface net.minecraft.core.Registry
Registry.PendingTags<T> -
Field Summary
-
Method Summary
Methods inherited from interface net.minecraft.core.HolderGetter
get, get, getOrThrow, getOrThrow, getRandomElementOfMethods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listElements, listTagIds, listTagsMethods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures, getData, registryLifecycleMethods inherited from interface net.minecraft.core.HolderOwner
canSerializeInMethods inherited from interface net.minecraft.core.IdMap
byIdOrThrow, getIdOrThrow, sizeMethods inherited from interface net.neoforged.neoforge.registries.IRegistryExtension
addAlias, addCallback, addCallback, containsValue, doesSync, getDataMap, getId, getId, getKeyOrNull, getMaxId, resolve, resolveMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface net.minecraft.core.Registry
asHolderIdMap, byNameCodec, 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
-
Method Details
-
getKey
-
getValue
-
byId
-
getDefaultKey
ResourceLocation getDefaultKey()
-