Class HTDeferredDataComponentRegister

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final ResourceKey<out Registry<DataComponentType<?>>> registryKey
      public final String namespace
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ResourceKey<out Registry<DataComponentType<?>>> getRegistryKey()
      final <DATA extends Any> DataComponentType<DATA> registerType(String name, Function1<DataComponentType.Builder<DATA>, Unit> builderAction)
      final <DATA extends Any> DataComponentType<DATA> registerType(String name, Codec<DATA> codec, StreamCodec<in RegistryFriendlyByteBuf, DATA> streamCodec)
      final <DATA extends Any> DataComponentType<DATA> registerType(String name, BiCodec<in RegistryFriendlyByteBuf, DATA> codec)
      final DataComponentType<Unit> registerFlag(String name)
      • Methods inherited from class hiiragi283.core.api.registry.HTDeferredRegister

        addAlias, addAlias, asSequence, createId, register
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTDeferredDataComponentRegister

        HTDeferredDataComponentRegister(ResourceKey<out Registry<DataComponentType<?>>> registryKey, String namespace)