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 Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
register
(ResourceKey<T> p_256320_, T p_255978_, RegistrationInfo p_326122_) 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, getData, getDataMap, getId, getId, getMaxId, resolve, resolve
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface net.minecraft.core.Registry
asHolderIdMap, asLookup, asTagAddingLookup, bindTags, byNameCodec, containsKey, containsKey, createIntrusiveHolder, entrySet, freeze, get, get, getAny, getHolder, getHolder, getHolder, getHolderOrThrow, getId, getKey, getOptional, getOptional, getOrCreateTag, getOrThrow, getRandom, getRandomElementOf, getResourceKey, getTag, getTagNames, getTagOrEmpty, getTags, holderByNameCodec, holderOwner, holders, key, keys, keySet, registrationInfo, registryKeySet, registryLifecycle, resetTags, stream, wrapAsHolder
-
Method Details
-
register
-
isEmpty
boolean isEmpty() -
createRegistrationLookup
HolderGetter<T> createRegistrationLookup()
-