Class PylonCraftEvent
-
- All Implemented Interfaces:
public final class PylonCraftEvent<T extends PylonRecipe> extends Event
Called when a crafting recipe is started
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PylonCraftEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final RecipeType<T>
type
private final T
recipe
private final PylonBlock
block
public final static PylonCraftEvent.Companion
Companion
-
Constructor Summary
Constructors Constructor Description PylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block)
PylonCraftEvent(RecipeType<T> type, T recipe)
-
Method Summary
Modifier and Type Method Description final RecipeType<T>
getType()
final T
getRecipe()
final PylonBlock
getBlock()
HandlerList
getHandlers()
-
-
Constructor Detail
-
PylonCraftEvent
PylonCraftEvent(RecipeType<T> type, T recipe, PylonBlock block)
-
PylonCraftEvent
PylonCraftEvent(RecipeType<T> type, T recipe)
-
-
Method Detail
-
getType
final RecipeType<T> getType()
-
getBlock
final PylonBlock getBlock()
-
getHandlers
HandlerList getHandlers()
-
-
-
-