Cobblemon 1.8.4 NPC & Dialogue API

Cobblemon 1.8.4 NPC & Dialogue Engine (69 Classes & 18 JSON Types)

Complete bytecode-verified architecture of Cobblemon 1.8.4's custom NPC trainer and interactive dialogue engine: all 69 top-level classes across api/npc/ (24), api/dialogue/ (30), and entity/npc/ (15, including all 9 NPC AI Brain tasks), all 18 registered JSON adapter type keys, plus all 4 NPCs, 4 Dialogues, and 1 Preset shipped in the jar.

Total Engine Classes
69 (24 NPC API · 30 Dialogue · 15 Entity/AI)
Registered JSON Types
18 Keys Across 5 Adapter Registries
NPC AI Brain Tasks
9 Tasks in entity/npc/ai/
Built-In Jar Files
4 NPCs · 4 Dialogues · 1 Preset

All 18 Registered NPC & Dialogue JSON Type Keys

492 MoLang Functions →

Extracted directly from NPCInteractConfiguration$Companion, NPCPartyProvider$Companion, NPCVariationProvider$Companion, DialogueInputAdapter, and DialogueFaceProvider$Companion in jar 1.8.4 (alongside DialogueText$Companion expression / WrappedDialogueText and ExpressionLikeDialogueAction / ExpressionLikeDialoguePredicate):

Registry / AdapterJSON type KeyBacking ClassVerified Behaviour
NPCInteractConfigurationscriptScriptNPCInteractionConfigurationRuns a named MoLang script from data/cobblemon/molang/ on player interaction.
NPCInteractConfigurationcustom_scriptCustomScriptNPCInteractionConfigurationRuns inline MoLang expression lines directly stored in the NPC interaction block.
NPCInteractConfigurationdialogueDialogueNPCInteractionConfigurationOpens a registered Dialogue ID from data/cobblemon/dialogues/ on interaction.
NPCInteractConfigurationnoneNoneNPCInteractionConfigurationDisables right-click interaction on the NPC.
NPCPartyProvidersimpleSimplePartyProviderFixed list of Pokémon property strings built into the NPC's party.
NPCPartyProviderpoolPoolPartyProviderSelects Pokémon from weighted PartyPool entries scaled by NPC/player level.
NPCPartyProviderscriptScriptPartyProviderBuilds the NPC's battle party dynamically through a MoLang script.
NPCPartyProvidercomposed_poolComposedPoolPartyProviderCombines multiple named PartyComposition slots from pooled Pokémon definitions.
NPCVariationProviderweightedWeightedNPCVariationProviderAssigns NPC visual aspects using WeightedAspect probability weights.
NPCVariationProviderrandomRandomNPCVariationProviderUniformly picks one aspect from a list of candidate variation aspects.
DialogueInputauto-continueDialogueAutoContinueInputAutomatically advances the dialogue page after a delay or click.
DialogueInputtextDialogueTextInputPrompts the player for free-form text input passed to the page action.
DialogueInputnoneDialogueNoInputDisplays a dialogue page with a single click-to-continue action and no choices.
DialogueInputoptionDialogueOptionSetInputDisplays selectable DialogueOption buttons with predicates, visibility, and per-option actions.
DialogueFaceProviderartificialArtificialDialogueFaceProviderRenders a synthetic Pokémon/NPC model portrait with custom model type, identifier, and aspects.
DialogueFaceProviderstandardArtificialDialogueFaceProviderAlias registered to ArtificialDialogueFaceProvider in DialogueFaceProvider$Companion.
DialogueFaceProviderplayerPlayerDialogueFaceProviderRenders the interacting player's skin portrait in the dialogue box.
DialogueFaceProviderexpressionExpressionLikeDialogueFaceProviderEvaluates a MoLang expression at runtime to select the portrait face provider.
Package Layer
Functional Role
JSON Adapter Key
JVM Type
NPC Classes & Interactions · ClassNPCClass

Class in NPC API (api/npc)

Fields (23): id (ResourceLocation), resourceIdentifier (ResourceLocation), names (List<Component>), aspects (Set<String>) (+10 more)

NPC Classes & Interactions · ClassNPCClasses

implements JsonDataRegistry<NPCClass>

NPC Classes & Interactions · ClassNPCConfiguration

Class in NPC API (api/npc)

Fields (1): battle (NPCBattleConfiguration)

NPCConfigurationNPC Templates →
NPC Parties & Variations · InterfaceNPCPartyProvider

Interface in NPC API (api/npc)

NPCPartyProviderNPC Templates →
NPC Classes & Interactions · ClassNPCPreset

Class in NPC API (api/npc)

Fields (20): id (ResourceLocation), resourceIdentifier (ResourceLocation), aspects (Set<String>), variations (Map<String, ? extends NPCVariationProvider>) (+10 more)

NPC Classes & Interactions · ClassNPCPresets

implements JsonDataRegistry<NPCPreset>

NPC Parties & Variations · ClassPartyComposition

Class in NPC API (api/npc)

Fields (8): id (ResourceLocation), scrambleOrder (boolean), slot1 (List<String>), slot2 (List<String>) (+4 more)

PartyCompositionNPC Templates →
NPC Parties & Variations · ClassPartyPool

Class in NPC API (api/npc)

Fields (3): id (ResourceLocation), displayName (String), entries (List<PartyPool$PoolEntry>)

NPC Classes & Interactions · ClassMoLangConfigVariable

Class in NPC API (api/npc)

Fields (6): variableName (String), category (Component), displayName (Component), description (Component) (+2 more)

configuration/MoLangConfigVariableNPC Templates →
NPC Classes & Interactions · ClassNPCBattleConfiguration

Class in NPC API (api/npc)

Fields (3): canChallenge (boolean), simultaneousBattles (boolean), healAfterwards (boolean)

configuration/NPCBattleConfigurationNPC Templates →
NPC Classes & Interactions · ClassNPCBehaviourConfiguration

Class in NPC API (api/npc)

Fields (1): canBeHurt (boolean)

configuration/NPCBehaviourConfigurationNPC Templates →
NPC Classes & Interactions · InterfaceNPCInteractConfiguration

Interface in NPC API (api/npc)

configuration/NPCInteractConfigurationNPC Templates →
NPC Classes & Interactions · ClassCustomScriptNPCInteractionConfiguration
NPCInteractConfiguration:custom_script

implements NPCInteractConfiguration

Fields (2): type (String), script (ExpressionLike)

configuration/interaction/CustomScriptNPCInteractionConfigurationNPC Templates →
NPC Classes & Interactions · ClassDialogueNPCInteractionConfiguration
NPCInteractConfiguration:dialogue

implements NPCInteractConfiguration

Fields (2): type (String), dialogue (ResourceLocation)

configuration/interaction/DialogueNPCInteractionConfigurationNPC Templates →
NPC Classes & Interactions · ClassNoneNPCInteractionConfiguration
NPCInteractConfiguration:none

implements NPCInteractConfiguration

Fields (1): type (String)

configuration/interaction/NoneNPCInteractionConfigurationNPC Templates →
NPC Classes & Interactions · ClassScriptNPCInteractionConfiguration
NPCInteractConfiguration:script

implements NPCInteractConfiguration

Fields (3): type (String), script (ResourceLocation)

configuration/interaction/ScriptNPCInteractionConfigurationNPC Templates →
NPC Parties & Variations · ClassComposedPoolPartyProvider
NPCPartyProvider:composed_pool

implements NPCPartyProvider

Fields (8): type (ResourceLocation), isStatic (boolean), useFixedRandom (boolean), minPokemon (Expression) (+3 more)

partyproviders/ComposedPoolPartyProviderNPC Templates →
NPC Parties & Variations · ClassPoolPartyProvider
NPCPartyProvider:pool

implements NPCPartyProvider

Fields (7): type (ResourceLocation), isStatic (boolean), useFixedRandom (boolean), minPokemon (Expression) (+2 more)

partyproviders/PoolPartyProviderNPC Templates →
NPC Parties & Variations · ClassScriptPartyProvider
NPCPartyProvider:script

implements NPCPartyProvider

Fields (4): type (ResourceLocation), isStatic (boolean), script (ResourceLocation)

partyproviders/ScriptPartyProviderNPC Templates →
NPC Parties & Variations · ClassSimplePartyProvider
NPCPartyProvider:simple

implements NPCPartyProvider

Fields (5): type (ResourceLocation), isStatic (boolean), pokemon (List<PokemonProperties>), struct (ObjectValue<SimplePartyProvider>)

partyproviders/SimplePartyProviderNPC Templates →
NPC Parties & Variations · InterfaceNPCVariationProvider

Interface in NPC API (api/npc)

variation/NPCVariationProviderNPC Templates →
NPC Parties & Variations · ClassRandomNPCVariationProvider
NPCVariationProvider:random

implements NPCVariationProvider

Fields (1): aspects (Set<String>)

variation/RandomNPCVariationProviderNPC Templates →
NPC Parties & Variations · ClassWeightedAspect

Class in NPC API (api/npc)

Fields (2): aspects (Set<String>), weight (double)

variation/WeightedAspectNPC Templates →
NPC Parties & Variations · ClassWeightedNPCVariationProvider
NPCVariationProvider:weighted

implements NPCVariationProvider

Fields (1): options (List<WeightedAspect>)

variation/WeightedNPCVariationProviderNPC Templates →
Dialogue Core, Text & Actions · ClassActiveDialogue

Class in Dialogue API (api/dialogue)

Fields (10): playerEntity (ServerPlayer), dialogueReference (Dialogue), initialized (boolean), dialogueId (UUID) (+6 more)

ActiveDialogue492 MoLang API →
Dialogue Speakers & Portraits · ClassArtificialDialogueFaceProvider
DialogueFaceProvider:artificialDialogueFaceProvider:standard

implements DialogueFaceProvider

Fields (4): modelType (String), identifier (ResourceLocation), aspects (Set<String>), isLeftSide (boolean)

ArtificialDialogueFaceProvider492 MoLang API →
Dialogue Core, Text & Actions · ClassDialogue

Class in Dialogue API (api/dialogue)

Fields (6): pages (List<DialoguePage>), background (ResourceLocation), escapeAction (DialogueAction), speakers (Map<String, DialogueSpeaker>) (+1 more)

Dialogue Core, Text & Actions · InterfaceDialogueAction

Interface in Dialogue API (api/dialogue)

DialogueAction492 MoLang API →
Dialogue Speakers & Portraits · InterfaceDialogueFaceProvider

Interface in Dialogue API (api/dialogue)

DialogueFaceProvider492 MoLang API →
Dialogue Speakers & Portraits · ClassDialogueGibber

Class in Dialogue API (api/dialogue)

Fields (9): graduallyShowText (boolean), allowSkip (boolean), step (int), interval (double) (+5 more)

DialogueGibber492 MoLang API →
Dialogue Core, Text & Actions · ClassDialogueManager

Class in Dialogue API (api/dialogue)

DialogueManager492 MoLang API →
Dialogue Core, Text & Actions · ClassDialoguePage

Class in Dialogue API (api/dialogue)

Fields (9): id (String), speaker (String), lines (List<DialogueText>), textColor (String) (+5 more)

DialoguePage492 MoLang API →
Dialogue Core, Text & Actions · InterfaceDialoguePredicate

Interface in Dialogue API (api/dialogue)

DialoguePredicate492 MoLang API →
Dialogue Speakers & Portraits · ClassDialogueSpeaker

Class in Dialogue API (api/dialogue)

Fields (3): name (DialogueText), face (DialogueFaceProvider), gibber (DialogueGibber)

DialogueSpeaker492 MoLang API →
Dialogue Core, Text & Actions · InterfaceDialogueText

Interface in Dialogue API (api/dialogue)

DialogueText492 MoLang API →
Dialogue Core, Text & Actions · ClassDialogues

implements JsonDataRegistry<Dialogue>

Dialogue Core, Text & Actions · ClassExpressionLikeDialogueAction

implements DialogueAction

Fields (1): expression (ExpressionLike)

ExpressionLikeDialogueAction492 MoLang API →
Dialogue Speakers & Portraits · ClassExpressionLikeDialogueFaceProvider
DialogueFaceProvider:expression

implements DialogueFaceProvider

Fields (2): providerExpression (ExpressionLike), isLeftSide (boolean)

ExpressionLikeDialogueFaceProvider492 MoLang API →
Dialogue Core, Text & Actions · ClassExpressionLikeDialoguePredicate

implements DialoguePredicate

Fields (1): expression (ExpressionLike)

ExpressionLikeDialoguePredicate492 MoLang API →
Dialogue Core, Text & Actions · ClassExpressionLikeDialogueText

implements DialogueText

Fields (1): expression (ExpressionLike)

ExpressionLikeDialogueText492 MoLang API →
Dialogue Core, Text & Actions · ClassFunctionDialogueAction

implements DialogueAction

Fields (1): consumer (Function2<ActiveDialogue, String, Unit>)

FunctionDialogueAction492 MoLang API →
Dialogue Core, Text & Actions · ClassFunctionDialoguePredicate

implements DialoguePredicate

Fields (1): predicate (Function1<ActiveDialogue, Boolean>)

FunctionDialoguePredicate492 MoLang API →
Dialogue Core, Text & Actions · ClassFunctionDialogueText

implements DialogueText

Fields (1): function (Function1<ActiveDialogue, MutableComponent>)

FunctionDialogueText492 MoLang API →
Dialogue Speakers & Portraits · ClassPlayerDialogueFaceProvider
DialogueFaceProvider:player

implements DialogueFaceProvider

Fields (2): playerId (UUID), isLeftSide (boolean)

PlayerDialogueFaceProvider492 MoLang API →
Dialogue Speakers & Portraits · ClassReferenceDialogueFaceProvider

implements DialogueFaceProvider

Fields (2): entityId (int), isLeftSide (boolean)

ReferenceDialogueFaceProvider492 MoLang API →
Dialogue Core, Text & Actions · ClassWrappedDialogueText

implements DialogueText

Fields (1): text (MutableComponent)

WrappedDialogueText492 MoLang API →
Dialogue Inputs & Options · ClassActiveInput

Class in Dialogue API (api/dialogue)

Fields (5): activeDialogue (ActiveDialogue), dialogueInput (DialogueInput), inputId (UUID), startTime (long) (+1 more)

input/ActiveInput492 MoLang API →
Dialogue Inputs & Options · ClassDialogueAutoContinueInput
DialogueInput:auto-continue

implements DialogueInput

Fields (4): delay (float), allowSkip (boolean), showTimer (boolean), action (DialogueAction)

input/DialogueAutoContinueInput492 MoLang API →
Dialogue Inputs & Options · InterfaceDialogueInput

Interface in Dialogue API (api/dialogue)

input/DialogueInput492 MoLang API →
Dialogue Inputs & Options · ClassDialogueNoInput
DialogueInput:none

implements DialogueInput

Fields (1): action (DialogueAction)

input/DialogueNoInput492 MoLang API →
Dialogue Inputs & Options · ClassDialogueOption

Class in Dialogue API (api/dialogue)

Fields (5): text (DialogueText), value (String), action (DialogueAction), isVisible (DialoguePredicate) (+1 more)

input/DialogueOption492 MoLang API →
Dialogue Inputs & Options · ClassDialogueOptionSetInput
DialogueInput:option

implements DialogueInput

Fields (3): options (List<DialogueOption>), timeout (DialogueTimeout), vertical (boolean)

input/DialogueOptionSetInput492 MoLang API →
Dialogue Inputs & Options · ClassDialogueTextInput
DialogueInput:text

implements DialogueInput

Fields (2): timeout (DialogueTimeout), action (DialogueAction)

input/DialogueTextInput492 MoLang API →
Dialogue Inputs & Options · ClassDialogueTimeout

Class in Dialogue API (api/dialogue)

Fields (3): duration (float), showTimer (boolean), action (DialogueAction)

input/DialogueTimeout492 MoLang API →
NPC Entity & Battle Runtime · ClassNPCBattleActor

extends AIBattleActor

Fields (5): npc (NPCEntity), skill (int), entity (NPCEntity), type (ActorType) (+1 more)

NPCBattleActor90 AI Tasks →
NPC Entity & Battle Runtime · ClassNPCBrain

Class in NPC Entity & AI (entity/npc)

NPC Entity & Battle Runtime · ClassNPCEntity

extends AgeableMob

Fields (44): schedulingTracker (SchedulingTracker), struct (ObjectValue<NPCEntity>), runtime (MoLangRuntime), npc (NPCClass) (+10 more)

NPC Entity & Battle Runtime · ClassNPCPlayerModelType

extends Enum<NPCPlayerModelType>

NPCPlayerModelType90 AI Tasks →
NPC Entity & Battle Runtime · ClassNPCPlayerTexture

Class in NPC Entity & AI (entity/npc)

Fields (2): texture (byte[]), model (NPCPlayerModelType)

NPCPlayerTexture90 AI Tasks →
NPC Entity & Battle Runtime · ClassNPCServerDelegate

implements NPCSideDelegate

Fields (1): entity (NPCEntity)

NPCServerDelegate90 AI Tasks →
NPC AI Brain Tasks · ClassChooseWanderTargetTask

Class in NPC Entity & AI (entity/npc)

ai/ChooseWanderTargetTask90 AI Tasks →
NPC AI Brain Tasks · ClassExitSpeakersActivityTask

Class in NPC Entity & AI (entity/npc)

ai/ExitSpeakersActivityTask90 AI Tasks →
NPC AI Brain Tasks · ClassGoToHealingMachineTask

Class in NPC Entity & AI (entity/npc)

ai/GoToHealingMachineTask90 AI Tasks →
NPC AI Brain Tasks · ClassHealUsingHealingMachineTask

extends Behavior<LivingEntity>

Fields (4): horizontalUseRange (Expression), verticalUseRange (Expression), blockPos (BlockPos), nearestHealer (HealingMachineBlockEntity)

ai/HealUsingHealingMachineTask90 AI Tasks →
NPC AI Brain Tasks · ClassLookAtBattlingPokemonTask

Class in NPC Entity & AI (entity/npc)

ai/LookAtBattlingPokemonTask90 AI Tasks →
NPC AI Brain Tasks · ClassLookAtSpeakerTask

Class in NPC Entity & AI (entity/npc)

ai/LookAtSpeakerTask90 AI Tasks →
NPC AI Brain Tasks · ClassMeleeAttackTask

Class in NPC Entity & AI (entity/npc)

ai/MeleeAttackTask90 AI Tasks →
NPC AI Brain Tasks · ClassMoveToTargetTask

Class in NPC Entity & AI (entity/npc)

ai/MoveToTargetTask90 AI Tasks →
NPC AI Brain Tasks · ClassSwitchToBattleTask

Class in NPC Entity & AI (entity/npc)

ai/SwitchToBattleTask90 AI Tasks →

Built-In Jar NPCs (4), Dialogues (4) & Preset (1)

View on Callbacks Hub →

Parsed directly from data/cobblemon/npcs/*.json, data/cobblemon/dialogues/*.json, and data/cobblemon/npc_presets/*.json inside Cobblemon 1.8.4:

KindResource ID & FileParsed ContentsTop-Level Schema Keys
NPC Classcobblemon:ai_test
data/cobblemon/npcs/ai_test.json
Names: AI Man · Skill: — · Interaction: none · Party: —ai, canDespawn, hitbox, names, presets
NPC Classcobblemon:kitchen_sink
data/cobblemon/npcs/kitchen_sink.json
Names: The Kitchen Sink · Skill: — · Interaction: none · Party: —ai, canDespawn, hitbox, names, presets
NPC Classcobblemon:sacchi
data/cobblemon/npcs/sacchi.json
Names: npc.sacchi.name · Skill: — · Interaction: dialogue · Party: —canDespawn, hitbox, interaction, names
NPC Classcobblemon:standard
data/cobblemon/npcs/standard.json
Names: Red, Green, Blue, Yellow · Skill: 5 · Interaction: dialogue · Party: simpleautoHealParty, battleConfiguration, config, hitbox, interaction, names, party, presets, skill, variation
Dialoguecobblemon:example
data/cobblemon/dialogues/example.json
16 pages · Speakers: pikachu, player · Inputs: auto-continue, none, option, textescapeAction=true · initializationAction=false
Dialoguecobblemon:npc-example
data/cobblemon/dialogues/npc-example.json
3 pages · Speakers: npc, player · Inputs: none, optionescapeAction=false · initializationAction=true
Dialoguecobblemon:sacchi_healed
data/cobblemon/dialogues/sacchi_healed.json
1 page · Speakers: npc · Inputs: noneescapeAction=false · initializationAction=true
Dialoguecobblemon:sacchi_interaction
data/cobblemon/dialogues/sacchi_interaction.json
6 pages · Speakers: npc, player · Inputs: none, optionescapeAction=false · initializationAction=true
NPC Presetcobblemon:battler_test
data/cobblemon/npc_presets/battler_test.json
Reusable battle/party preset inherited via presets on cobblemon:ai_testbattleConfiguration, interaction, party, skill

Complete 69-Class NPC & Dialogue Schema Table

90 AI Task Configs →
Class & PathPackage & RoleType & SuperclassRegistered JSON KeysKey Instance Fields
NPCClass
NPCClass
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—id (ResourceLocation), resourceIdentifier (ResourceLocation), names (List<Component>), aspects (Set<String>), hitbox (EntityDimensions), modelScale (float) +8 more
NPCClasses
NPCClasses
NPC API (api/npc)
NPC Classes & Interactions
Class
—
——
NPCConfiguration
NPCConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—battle (NPCBattleConfiguration)
NPCPartyProvider
NPCPartyProvider
NPC API (api/npc)
NPC Parties & Variations
Interface
—
——
NPCPreset
NPCPreset
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—id (ResourceLocation), resourceIdentifier (ResourceLocation), aspects (Set<String>), variations (Map<String, ? extends NPCVariationProvider>), config (List<MoLangConfigVariable>), party (NPCPartyProvider) +8 more
NPCPresets
NPCPresets
NPC API (api/npc)
NPC Classes & Interactions
Class
—
——
PartyComposition
PartyComposition
NPC API (api/npc)
NPC Parties & Variations
Class
—
—id (ResourceLocation), scrambleOrder (boolean), slot1 (List<String>), slot2 (List<String>), slot3 (List<String>), slot4 (List<String>) +2 more
PartyPool
PartyPool
NPC API (api/npc)
NPC Parties & Variations
Class
—
—id (ResourceLocation), displayName (String), entries (List<PartyPool$PoolEntry>)
MoLangConfigVariable
configuration/MoLangConfigVariable
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—variableName (String), category (Component), displayName (Component), description (Component), type (MoLangConfigVariable$MoLangVariableType), defaultValue (String)
NPCBattleConfiguration
configuration/NPCBattleConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—canChallenge (boolean), simultaneousBattles (boolean), healAfterwards (boolean)
NPCBehaviourConfiguration
configuration/NPCBehaviourConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
—canBeHurt (boolean)
NPCInteractConfiguration
configuration/NPCInteractConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Interface
—
——
CustomScriptNPCInteractionConfiguration
configuration/interaction/CustomScriptNPCInteractionConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
NPCInteractConfiguration:custom_scripttype (String), script (ExpressionLike)
DialogueNPCInteractionConfiguration
configuration/interaction/DialogueNPCInteractionConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
NPCInteractConfiguration:dialoguetype (String), dialogue (ResourceLocation)
NoneNPCInteractionConfiguration
configuration/interaction/NoneNPCInteractionConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
NPCInteractConfiguration:nonetype (String)
ScriptNPCInteractionConfiguration
configuration/interaction/ScriptNPCInteractionConfiguration
NPC API (api/npc)
NPC Classes & Interactions
Class
—
NPCInteractConfiguration:scripttype (String), script (ResourceLocation)
ComposedPoolPartyProvider
partyproviders/ComposedPoolPartyProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCPartyProvider:composed_pooltype (ResourceLocation), isStatic (boolean), useFixedRandom (boolean), minPokemon (Expression), maxPokemon (Expression), pool (PartyPool) +1 more
PoolPartyProvider
partyproviders/PoolPartyProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCPartyProvider:pooltype (ResourceLocation), isStatic (boolean), useFixedRandom (boolean), minPokemon (Expression), maxPokemon (Expression), pool (List<PoolPartyProvider$DynamicPokemon>)
ScriptPartyProvider
partyproviders/ScriptPartyProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCPartyProvider:scripttype (ResourceLocation), isStatic (boolean), script (ResourceLocation)
SimplePartyProvider
partyproviders/SimplePartyProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCPartyProvider:simpletype (ResourceLocation), isStatic (boolean), pokemon (List<PokemonProperties>), struct (ObjectValue<SimplePartyProvider>)
NPCVariationProvider
variation/NPCVariationProvider
NPC API (api/npc)
NPC Parties & Variations
Interface
—
——
RandomNPCVariationProvider
variation/RandomNPCVariationProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCVariationProvider:randomaspects (Set<String>)
WeightedAspect
variation/WeightedAspect
NPC API (api/npc)
NPC Parties & Variations
Class
—
—aspects (Set<String>), weight (double)
WeightedNPCVariationProvider
variation/WeightedNPCVariationProvider
NPC API (api/npc)
NPC Parties & Variations
Class
—
NPCVariationProvider:weightedoptions (List<WeightedAspect>)
ActiveDialogue
ActiveDialogue
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—playerEntity (ServerPlayer), dialogueReference (Dialogue), initialized (boolean), dialogueId (UUID), runtime (MoLangRuntime), npc (NPCEntity) +4 more
ArtificialDialogueFaceProvider
ArtificialDialogueFaceProvider
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
DialogueFaceProvider:artificial, DialogueFaceProvider:standardmodelType (String), identifier (ResourceLocation), aspects (Set<String>), isLeftSide (boolean)
Dialogue
Dialogue
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—pages (List<DialoguePage>), background (ResourceLocation), escapeAction (DialogueAction), speakers (Map<String, DialogueSpeaker>), initializationAction (DialogueAction)
DialogueAction
DialogueAction
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Interface
—
——
DialogueFaceProvider
DialogueFaceProvider
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Interface
—
——
DialogueGibber
DialogueGibber
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
—graduallyShowText (boolean), allowSkip (boolean), step (int), interval (double), minPitch (float), maxPitch (float) +3 more
DialogueManager
DialogueManager
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
——
DialoguePage
DialoguePage
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—id (String), speaker (String), lines (List<DialogueText>), textColor (String), input (DialogueInput), background (ResourceLocation) +3 more
DialoguePredicate
DialoguePredicate
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Interface
—
——
DialogueSpeaker
DialogueSpeaker
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
—name (DialogueText), face (DialogueFaceProvider), gibber (DialogueGibber)
DialogueText
DialogueText
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Interface
—
——
Dialogues
Dialogues
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
——
ExpressionLikeDialogueAction
ExpressionLikeDialogueAction
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—expression (ExpressionLike)
ExpressionLikeDialogueFaceProvider
ExpressionLikeDialogueFaceProvider
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
DialogueFaceProvider:expressionproviderExpression (ExpressionLike), isLeftSide (boolean)
ExpressionLikeDialoguePredicate
ExpressionLikeDialoguePredicate
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—expression (ExpressionLike)
ExpressionLikeDialogueText
ExpressionLikeDialogueText
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—expression (ExpressionLike)
FunctionDialogueAction
FunctionDialogueAction
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—consumer (Function2<ActiveDialogue, String, Unit>)
FunctionDialoguePredicate
FunctionDialoguePredicate
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—predicate (Function1<ActiveDialogue, Boolean>)
FunctionDialogueText
FunctionDialogueText
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—function (Function1<ActiveDialogue, MutableComponent>)
PlayerDialogueFaceProvider
PlayerDialogueFaceProvider
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
DialogueFaceProvider:playerplayerId (UUID), isLeftSide (boolean)
ReferenceDialogueFaceProvider
ReferenceDialogueFaceProvider
Dialogue API (api/dialogue)
Dialogue Speakers & Portraits
Class
—
—entityId (int), isLeftSide (boolean)
WrappedDialogueText
WrappedDialogueText
Dialogue API (api/dialogue)
Dialogue Core, Text & Actions
Class
—
—text (MutableComponent)
ActiveInput
input/ActiveInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
—activeDialogue (ActiveDialogue), dialogueInput (DialogueInput), inputId (UUID), startTime (long), struct (MoValue)
DialogueAutoContinueInput
input/DialogueAutoContinueInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
DialogueInput:auto-continuedelay (float), allowSkip (boolean), showTimer (boolean), action (DialogueAction)
DialogueInput
input/DialogueInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Interface
—
——
DialogueNoInput
input/DialogueNoInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
DialogueInput:noneaction (DialogueAction)
DialogueOption
input/DialogueOption
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
—text (DialogueText), value (String), action (DialogueAction), isVisible (DialoguePredicate), isSelectable (DialoguePredicate)
DialogueOptionSetInput
input/DialogueOptionSetInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
DialogueInput:optionoptions (List<DialogueOption>), timeout (DialogueTimeout), vertical (boolean)
DialogueTextInput
input/DialogueTextInput
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
DialogueInput:texttimeout (DialogueTimeout), action (DialogueAction)
DialogueTimeout
input/DialogueTimeout
Dialogue API (api/dialogue)
Dialogue Inputs & Options
Class
—
—duration (float), showTimer (boolean), action (DialogueAction)
NPCBattleActor
NPCBattleActor
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
AIBattleActor
—npc (NPCEntity), skill (int), entity (NPCEntity), type (ActorType), initialPos (Vec3)
NPCBrain
NPCBrain
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
—
——
NPCEntity
NPCEntity
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
AgeableMob
—schedulingTracker (SchedulingTracker), struct (ObjectValue<NPCEntity>), runtime (MoLangRuntime), npc (NPCClass), hitbox (EntityDimensions), forcedResourceIdentifier (ResourceLocation) +8 more
NPCPlayerModelType
NPCPlayerModelType
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
Enum<NPCPlayerModelType>
——
NPCPlayerTexture
NPCPlayerTexture
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
—
—texture (byte[]), model (NPCPlayerModelType)
NPCServerDelegate
NPCServerDelegate
NPC Entity & AI (entity/npc)
NPC Entity & Battle Runtime
Class
—
—entity (NPCEntity)
ChooseWanderTargetTask
ai/ChooseWanderTargetTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
ExitSpeakersActivityTask
ai/ExitSpeakersActivityTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
GoToHealingMachineTask
ai/GoToHealingMachineTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
HealUsingHealingMachineTask
ai/HealUsingHealingMachineTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
Behavior<LivingEntity>
—horizontalUseRange (Expression), verticalUseRange (Expression), blockPos (BlockPos), nearestHealer (HealingMachineBlockEntity)
LookAtBattlingPokemonTask
ai/LookAtBattlingPokemonTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
LookAtSpeakerTask
ai/LookAtSpeakerTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
MeleeAttackTask
ai/MeleeAttackTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
MoveToTargetTask
ai/MoveToTargetTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——
SwitchToBattleTask
ai/SwitchToBattleTask
NPC Entity & AI (entity/npc)
NPC AI Brain Tasks
Class
—
——