Contents
Class CraftRecipeEvent.Pre
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.event.events.ecs.CraftRecipeEvent
com.hypixel.hytale.server.core.event.events.ecs.CraftRecipeEvent.Pre
- All Implemented Interfaces:
ICancellableEcsEvent
- Enclosing class:
CraftRecipeEvent
An event that is triggered before a recipe is crafted.
If cancelled, the crafting process will not proceed.
-
Nested Class Summary
Nested classes/interfaces inherited from class CraftRecipeEvent
CraftRecipeEvent.Post, CraftRecipeEvent.Pre -
Constructor Summary
ConstructorsConstructorDescriptionPre(CraftingRecipe craftedRecipe, int quantity) Default Constructor for aCraftRecipeEventinstance. -
Method Summary
Methods inherited from class CraftRecipeEvent
getCraftedRecipe, getQuantityMethods inherited from class CancellableEcsEvent
isCancelled, setCancelled
-
Constructor Details
-
Pre
Default Constructor for aCraftRecipeEventinstance.- Parameters:
craftedRecipe- The recipe that is being crafted.quantity- The quantity of the recipe being crafted.
-