Class HTMaterialKey

  • All Implemented Interfaces:
    hiiragi283.core.api.material.HTMaterialLike , hiiragi283.core.api.resource.HTIdLike

    @JvmInline() 
    public final class HTMaterialKey
     implements HTIdLike, HTMaterialLike
                        

    素材の種類を表すクラスです。

    まさに伝統的な設計

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ResourceLocation getId() 保持しているIDを返します。
      HTMaterialKey asMaterialKey() 保持している素材キーを返します。
      final static HTMaterialKey of(ResourceLocation id) 指定したidからHTMaterialKeyのインスタンスを返します。
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getNamespace, getPath
      • Methods inherited from class hiiragi283.core.api.material.HTMaterialLike

        asMaterialId, isOf
      • Methods inherited from class java.lang.Object

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