Package net.minecraft.core
Interface WritableRegistry<T>
- All Superinterfaces:
- IdMap<T>,- IRegistryExtension<T>,- Iterable<T>,- com.mojang.serialization.Keyable,- Registry<T>
- All Known Implementing Classes:
- DefaultedMappedRegistry,- MappedRegistry
- 
Field Summary
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisEmpty()register(ResourceKey<T> p_256320_, T p_255978_, com.mojang.serialization.Lifecycle p_256625_) Methods inherited from interface net.minecraft.core.IdMapbyId, byIdOrThrow, sizeMethods inherited from interface net.neoforged.neoforge.registries.IRegistryExtensionaddAlias, addCallback, addCallback, containsValue, doesSync, getData, getDataMap, getId, getId, getMaxId, resolve, resolveMethods inherited from interface java.lang.IterableforEach, iterator, spliteratorMethods inherited from interface net.minecraft.core.RegistryasHolderIdMap, asLookup, asTagAddingLookup, bindTags, byNameCodec, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getHolder, getHolder, getHolderOrThrow, getId, getKey, getOptional, getOptional, getOrCreateTag, getOrThrow, getRandom, getResourceKey, getTag, getTagNames, getTagOrEmpty, getTags, holderByNameCodec, holderOwner, holders, key, keys, keySet, lifecycle, registryKeySet, registryLifecycle, resetTags, stream, wrapAsHolder
- 
Method Details- 
registerHolder.Reference<T> register(ResourceKey<T> p_256320_, T p_255978_, com.mojang.serialization.Lifecycle p_256625_) 
- 
isEmptyboolean isEmpty()
- 
createRegistrationLookupHolderGetter<T> createRegistrationLookup()
 
-