Interface RecipeOutputDecorator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Decorates a normally-created output; input snapshots are detached from inventories.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(Recipe recipe, List<org.bukkit.inventory.ItemStack> inputSnapshots, org.bukkit.inventory.ItemStack output) default voiddecoratePreview(Recipe recipe, List<org.bukkit.inventory.ItemStack> inputSnapshots, org.bukkit.inventory.ItemStack output) Catalog inputs may lack runtime bottle metadata; never manufactures playable credentials.default voiddecoratePreview(Recipe recipe, List<org.bukkit.inventory.ItemStack> inputSnapshots, org.bukkit.inventory.ItemStack output, RecipePreviewContext context) Logical selections are detached data; existing decorators keep their previous preview behavior.
-
Method Details
-
decorate
-
decoratePreview
-
decoratePreview
default void decoratePreview(Recipe recipe, List<org.bukkit.inventory.ItemStack> inputSnapshots, org.bukkit.inventory.ItemStack output, RecipePreviewContext context) Logical selections are detached data; existing decorators keep their previous preview behavior.
-