Class DataResultTransformer
java.lang.Object
xyz.srnyx.annoyingapi.file.okaeri.serdes.recipe.transformer.result.DataResultTransformer
- All Implemented Interfaces:
BiFunction<RecipeSerializer,,org.bukkit.inventory.ItemStack, org.bukkit.inventory.ItemStack> ResultTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull org.bukkit.inventory.ItemStackapply(@NotNull RecipeSerializer serializer, @NotNull org.bukkit.inventory.ItemStack itemStack) abstract voidtransform(@NotNull RecipeSerializer serializer, @NotNull ItemData data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
DataResultTransformer
public DataResultTransformer()
-
-
Method Details
-
transform
public abstract void transform(@NotNull @NotNull RecipeSerializer serializer, @NotNull @NotNull ItemData data) -
apply
@NotNull public final @NotNull org.bukkit.inventory.ItemStack apply(@NotNull @NotNull RecipeSerializer serializer, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack) - Specified by:
applyin interfaceBiFunction<RecipeSerializer,org.bukkit.inventory.ItemStack, org.bukkit.inventory.ItemStack>
-