Package net.minecraft.core
Interface WritableRegistry<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
,MappedRegistry
-
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
Modifier and TypeMethodDescriptionvoid
boolean
isEmpty()
register
(ResourceKey<T> p_256320_, T p_255978_, RegistrationInfo p_326122_) Methods inherited from interface net.minecraft.core.HolderGetter
get, get, getOrThrow, getOrThrow
Methods inherited from interface net.minecraft.core.HolderLookup
listElementIds, listElements, listTagIds, listTags
Methods inherited from interface net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures, getData, registryLifecycle
Methods inherited from interface net.minecraft.core.HolderOwner
canSerializeIn
Methods inherited from interface net.minecraft.core.IdMap
byId, byIdOrThrow, getIdOrThrow, size
Methods inherited from interface net.neoforged.neoforge.registries.IRegistryExtension
addAlias, addCallback, addCallback, containsValue, doesSync, getDataMap, getId, getId, getKeyOrNull, getMaxId, resolve, resolve
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface net.minecraft.core.Registry
asHolderIdMap, byNameCodec, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getId, getKey, getOptional, getOptional, getRandom, getRandomElementOf, getResourceKey, getTagOrEmpty, getTags, getValue, getValue, getValueOrThrow, holderByNameCodec, key, keys, keySet, prepareTagReload, registrationInfo, registryKeySet, stream, wrapAsHolder
-
Method Details
-
register
-
bindTag
-
isEmpty
boolean isEmpty() -
createRegistrationLookup
HolderGetter<T> createRegistrationLookup()
-