Package hiiragi283.core.setup
Object HCFluids.DyeContents
-
- All Implemented Interfaces:
-
hiiragi283.core.api.HTColoredContents,kotlin.collections.Iterable
public class HCFluids.DyeContents implements HTColoredContents<HTFluidContent>
-
-
Field Summary
Fields Modifier and Type Field Description private final Collection<HTFluidContent>valuespublic final static HCFluids.DyeContentsINSTANCE
-
Method Summary
Modifier and Type Method Description HTFluidContentget(HTDefaultColor color)指定した色に対応する要素を取得します。 HTFluidContentget(DyeColor color)指定した色に対応する要素を取得します。 Iterator<Pair<HTDefaultColor, HTFluidContent>>iterator()final Collection<HTFluidContent>getValues()-
-
Method Detail
-
get
HTFluidContent get(HTDefaultColor color)
指定した色に対応する要素を取得します。
- Returns:
対応する要素がない場合は
null
-
get
HTFluidContent get(DyeColor color)
指定した色に対応する要素を取得します。
- Returns:
対応する要素がない場合は
null
-
iterator
Iterator<Pair<HTDefaultColor, HTFluidContent>> iterator()
-
getValues
final Collection<HTFluidContent> getValues()
-
-
-
-