Class EmptyInteractionEvent
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.event.EmptyInteractionEvent
- All Implemented Interfaces:
InteractionEventLogic
An implementation of the
InteractionEventLogic for events that don't require a listener
and need to be triggered externally-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<EmptyInteractionEvent> static final EmptyInteractionEvent -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends InteractionEventLogic> codec()The codec for this interaction event logic.static EmptyInteractionEventcreate()InteractionEventType<? extends InteractionEventLogic> type()The type of this interaction event logic.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.event.InteractionEventLogic
addListener, createContext
-
Field Details
-
CODEC
-
INSTANCE
-
-
Method Details
-
codec
Description copied from interface:InteractionEventLogicThe codec for this interaction event logic.- Specified by:
codecin interfaceInteractionEventLogic- Returns:
- the codec for this interaction event logic
-
type
Description copied from interface:InteractionEventLogicThe type of this interaction event logic.- Specified by:
typein interfaceInteractionEventLogic- Returns:
- the type of this interaction event logic
-
create
-