Class CurryFinishedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.CurryFinishedEvent
public class CurryFinishedEvent
extends net.minecraftforge.eventbus.api.Event
Event is fired when a cooking pot finishes.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionfinal EnumBerryFlavor
final EnumCurryKey
final net.minecraft.server.level.ServerPlayer
final EnumCurryRating
-
Constructor Summary
ConstructorDescriptionCurryFinishedEvent
(net.minecraft.server.level.ServerPlayer player, EnumCurryRating rating, EnumCurryKey curryKey, EnumBerryFlavor cookingFlavor) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
public final net.minecraft.server.level.ServerPlayer player -
rating
-
curryKey
-
cookingFlavor
-
-
Constructor Details
-
CurryFinishedEvent
public CurryFinishedEvent(@Nullable net.minecraft.server.level.ServerPlayer player, EnumCurryRating rating, EnumCurryKey curryKey, EnumBerryFlavor cookingFlavor)
-