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
Hiiragi Tsubasa
-
-
Constructor Summary
Constructors Constructor Description HTPart(String name, String idPattern, HTPropertyMap properties)
-
Method Summary
Modifier and Type Method Description final StringgetName()HTPartasPart()HTPartに変換します。 StringasPartName()asPartから部品の名前を取得します。 ResourceLocationcreateId(HTMaterialLike material)指定した素材からIDを生成します。 IntegercompareTo(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
-
-
Constructor Detail
-
HTPart
HTPart(String name, String idPattern, HTPropertyMap properties)
-
-
-
-