Class Interaction
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.Interaction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInteraction(net.minecraft.core.Holder<InteractionEvent> event, InteractionCondition conditions, Selector<List<InteractionResult>> results) -
Method Summary
Modifier and TypeMethodDescriptionstatic Interaction.Builderbuilder()static Interactionfrom(InteractionData data) net.minecraft.core.Holder<InteractionEvent> getEvent()toData()
-
Field Details
-
CODEC
-
-
Constructor Details
-
Interaction
protected Interaction(net.minecraft.core.Holder<InteractionEvent> event, InteractionCondition conditions, Selector<List<InteractionResult>> results)
-
-
Method Details
-
getEvent
-
getResults
-
getConditions
-
toData
-
from
-
builder
-