Interface WritableRegistry<T>

All Superinterfaces:
IdMap<T>, Iterable<T>, com.mojang.serialization.Keyable, Registry<T>
All Known Implementing Classes:
DefaultedMappedRegistry, MappedRegistry, NamespacedDefaultedWrapper, NamespacedWrapper

public interface WritableRegistry<T> extends Registry<T>
  • Method Details

    • register

      Holder.Reference<T> register(ResourceKey<T> p_256320_, T p_255978_, com.mojang.serialization.Lifecycle p_256625_)
    • isEmpty

      boolean isEmpty()
    • createRegistrationLookup

      HolderGetter<T> createRegistrationLookup()