Package net.minecraft.core
Interface WritableRegistry<T>
- All Known Implementing Classes:
DefaultedMappedRegistry
,MappedRegistry
,NamespacedDefaultedWrapper
,NamespacedWrapper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
register
(ResourceKey<T> p_256320_, T p_255978_, RegistrationInfo p_329112_) Methods inherited from interface net.minecraft.core.IdMap
byId, byIdOrThrow, getIdOrThrow, size
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, 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()
-