Interface HTResourceType.Registered

  • All Implemented Interfaces:
    hiiragi283.core.api.registry.TypedInstance , hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , hiiragi283.core.api.storage.resource.HTResourceType , hiiragi283.core.api.text.HTHasText , net.neoforged.neoforge.registries.datamaps.IWithData

    
    public interface HTResourceType.Registered<TYPE extends Object>
     implements HTResourceType, HTKeyLike<TYPE>, IWithData<TYPE>, TypedInstance<TYPE>
                        

    値を保持するHTResourceTypeの拡張インターフェースです。

    Since:

    0.4.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ResourceKey<TYPE> getResourceKey() 保持しているResourceKeyを返します。
      <T extends Any> T getData(DataMapType<TYPE, T> type)
      String getNamespace()
      String getPath()
      • Methods inherited from class hiiragi283.core.api.text.HTHasText

        getText
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getId
      • Methods inherited from class hiiragi283.core.api.registry.TypedInstance

        isOf, isOf, isOf, tags, typeHolder
      • Methods inherited from class java.lang.Object

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