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