Class InfuserEvent.CreateItem
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.blocks.InfuserEvent
com.pixelmonmod.pixelmon.api.events.blocks.InfuserEvent.CreateItem
- Direct Known Subclasses:
InfuserEvent.CreateItem.Post
,InfuserEvent.CreateItem.Pre
- Enclosing class:
InfuserEvent
An events that occurs when the Infuser is about to finish infusing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This event fires after the Infuser has consumed the ingredients and created an item.static class
This event fires when the Infuser is ready to consume the ingredients given to it and create a new item from those ingredients.Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.blocks.InfuserEvent
InfuserEvent.CreateItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InfuserRecipe
protected net.minecraft.world.item.ItemStack
Fields inherited from class com.pixelmonmod.pixelmon.api.events.blocks.InfuserEvent
infuserTileEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
Gets the output of the recipe, not the ItemStack in the output slot.Methods inherited from class com.pixelmonmod.pixelmon.api.events.blocks.InfuserEvent
getInfuserTileEntity, getItemsInInfuser
-
Field Details
-
recipe
-
recipeOutput
protected net.minecraft.world.item.ItemStack recipeOutput
-
-
Constructor Details
-
CreateItem
-
-
Method Details
-
getRecipe
-
getRecipeOutput
public net.minecraft.world.item.ItemStack getRecipeOutput()Gets the output of the recipe, not the ItemStack in the output slot.
-