Class HTDeferredRegister

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      HTDeferredRegister(ResourceKey<out Registry<T>> registryKey, String namespace)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Identifier createId(String path) 名前空間に基づいて,パスからIDを作成します。
      final ResourceKey<T> createKey(Identifier id)
      final Unit addAlias(String from, String to) 名前空間に基づいて,IDのエイリアスを登録します。
      Sequence<HTDeferredHolder<T, ?>> asSequence()
      <I extends T> HTDeferredHolder<T, I> register(String name, Supplier<out I> sup)
      <I extends T> HTDeferredHolder<T, I> register(String name, Function<Identifier, out I> func)
      • Methods inherited from class hiiragi283.lib.registry.HTDeferredRegister

        getEntries, getNamespace, getRegistry, getRegistryKey, getRegistryName
      • Methods inherited from class net.neoforged.neoforge.registries.DeferredRegister

        addAlias, createTagKey, createTagKey, getEntries, getRegistry, getRegistryKey, makeRegistry, register
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait