Package hiiragi283.core.api.storage
Enum HTStorageAction
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum HTStorageAction extends Enum<HTStorageAction>
スロットへの搬入/搬出の処理を区別するフラグを表すクラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTStorageAction.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<HTStorageAction>entries
-
Method Summary
Modifier and Type Method Description final Booleanexecute()処理を仮想で行うか判定します。 final Booleansimulate()処理を仮想で行うか判定します。 final HTStorageActioncombine(Boolean execute)final IFluidHandler.FluidActiontoFluid()IFluidHandler.FluidActionに変換します。 final Array<HTStorageAction>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTStorageActionvalueOf(String value)Returns the enum constant of this type with the specified name. final StringgetName()final IntegergetOrdinal()final EnumEntries<HTStorageAction>getEntries()-
-
Method Detail
-
combine
final HTStorageAction combine(Boolean execute)
-
toFluid
final IFluidHandler.FluidAction toFluid()
IFluidHandler.FluidActionに変換します。
-
values
final Array<HTStorageAction> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final HTStorageAction valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HTStorageAction> getEntries()
-
-
-
-