Class HTPart

  • All Implemented Interfaces:
    hiiragi283.core.api.material.part.HTPartLike , hiiragi283.core.api.property.HTPropertyMap , kotlin.Comparable

    
    public final class HTPart
     implements HTPartLike, HTPropertyMap, Comparable<HTPart>
                        

    部品の種類を管理するクラスです。

    Since:

    0.12.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getName()
      HTPart asPart() HTPartに変換します。
      String asPartName() asPartから部品の名前を取得します。
      ResourceLocation createId(HTMaterialLike material) 指定した素材からIDを生成します。
      Integer compareTo(HTPart other)
      • Methods inherited from class hiiragi283.core.api.property.HTPropertyMap

        contains, get, isEmpty
      • Methods inherited from class hiiragi283.core.api.material.part.HTPartLike

        createKey
      • Methods inherited from class java.lang.Object

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