Interface HTKeyLike

  • All Implemented Interfaces:
    hiiragi283.core.api.resource.HTIdLike

    
    public interface HTKeyLike<T extends Object>
     implements HTIdLike
                        

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

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface HTKeyLike.HolderDelegate

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

    • 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
      abstract ResourceKey<T> getResourceKey() 保持しているResourceKeyを返します。
      Boolean isOf(ResourceKey<T> key) 指定したkeyが保持しているResourceKeyと一致するか判定します。
      Boolean isOf(HTKeyLike<T> other) 指定したotherと保持しているResourceKeyが一致するか判定します。
      ResourceLocation getId() 保持しているIDを返します。
      String getNamespace()
      String getPath()
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getResourceKey

         abstract ResourceKey<T> getResourceKey()

        保持しているResourceKeyを返します。

      • isOf

         Boolean isOf(ResourceKey<T> key)

        指定したkeyが保持しているResourceKeyと一致するか判定します。

        Since:

        0.6.0

      • isOf

         Boolean isOf(HTKeyLike<T> other)

        指定したotherと保持しているResourceKeyが一致するか判定します。

        Since:

        0.6.0

      • getId

         ResourceLocation getId()

        保持しているIDを返します。