Package hiiragi283.core.api.data
Class DataComponentsKt
-
- All Implemented Interfaces:
public final class DataComponentsKt
-
-
Method Summary
Modifier and Type Method Description final static DataComponentMapbuildDataMap(Function1<DataComponentMap.Builder, Unit> builderAction)新しいDataComponentMapのインスタンスを作成します。 final static DataComponentPatchbuildDataPatch(Function1<DataComponentPatch.Builder, Unit> builderAction)新しいDataComponentPatchのインスタンスを作成します。 final static DataComponentPredicatebuildDataPredicate(Function1<DataComponentPredicate.Builder, Unit> builderAction)新しいDataComponentPredicateのインスタンスを作成します。 -
-
Method Detail
-
buildDataMap
final static DataComponentMap buildDataMap(Function1<DataComponentMap.Builder, Unit> builderAction)
新しいDataComponentMapのインスタンスを作成します。
- Parameters:
builderAction- DataComponentMapの値を指定するブロック- Since:
0.6.0
-
buildDataPatch
final static DataComponentPatch buildDataPatch(Function1<DataComponentPatch.Builder, Unit> builderAction)
新しいDataComponentPatchのインスタンスを作成します。
- Parameters:
builderAction- DataComponentPatchの値を指定するブロック- Since:
0.6.0
-
buildDataPredicate
final static DataComponentPredicate buildDataPredicate(Function1<DataComponentPredicate.Builder, Unit> builderAction)
新しいDataComponentPredicateのインスタンスを作成します。
- Parameters:
builderAction- DataComponentPredicateの値を指定するブロック- Since:
0.6.0
-
-
-
-