CobblemonAgingDespawner
entity.pokemon.CobblemonAgingDespawner | Core Entity, Flags & Effects Class | — implements Despawner<T> | 3 / 3 | Distance-and-age linear despawner reading CobblemonConfig (32–96 block band, 600–3,600 tick age band) and skipping busy Pokémon. Fields: getAgeTicks: Function1<T, Integer>, nearToFar: float, youngToOld: int · Methods: getGetAgeTicks, beginTracking, shouldDespawn |
PokemonBehaviourFlag
entity.pokemon.PokemonBehaviourFlag | Core Entity, Flags & Effects Enum | — | 1 / 1 | Four-value bit-flag enum (LOOKING=1, EXCITED=2, FLYING=3, PASTURE_CONFLICT=4) synced on PokemonEntity for animation and AI state. Enum: LOOKING, EXCITED, FLYING, PASTURE_CONFLICT · Methods: getBit |
PokemonEntity
entity.pokemon.PokemonEntity | Core Entity, Flags & Effects Class | ShoulderRidingEntity implements PosableEntity, Shearable, Schedulable, Rideable, ScannableEntity, MoLangScriptingEntity, OmniPathingEntity | 70 / 204 | Primary Minecraft world entity class for spawned, battled, pastured, shouldered, and rideable Pokémon, bridging entity data sync, AI Brain, effects, and riding. Fields: removalObservable: SimpleObservable<Entity.RemovalReason>, subscriptions: List<ObservableSubscription<?>>, schedulingTracker: SchedulingTracker, brainDynamic: Dynamic<?> · Methods: getRemovalObservable, getSubscriptions, getSchedulingTracker, getForm, getBehaviour |
PokemonServerDelegate
entity.pokemon.PokemonServerDelegate | Core Entity, Flags & Effects Class | — implements PokemonSideDelegate | 4 / 33 | Server-side entity lifecycle delegate syncing Pokémon stats, hitbox dimensions, battle state, cry/ambient ticks, and despawner checks. Fields: entity: PokemonEntity, acknowledgedHPValue: int, acknowledgedLevel: int, passengerOffsets: Map<Integer, Vec3> · Methods: getEntity, setEntity, getAcknowledgedHPValue, setAcknowledgedHPValue, getAcknowledgedLevel |
PokemonMoveControl
entity.pokemon.ai.PokemonMoveControl | Entity AI Sensors & Move Control Class | MoveControl | 9 / 19 | Custom MoveControl subclass handling 3D land, water, and aerial flight steering vectors and speed damping for PokemonEntity. Fields: pokemonEntity: PokemonEntity, runtime: MoLangRuntime, waterLevel: double, banking: boolean · Methods: getPokemonEntity, getRuntime, getBanking, setBanking, getBankDurationTicks |
AlphaLevelMatchingSensor
entity.pokemon.ai.sensors.AlphaLevelMatchingSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 2 / 2 | AI Sensor (`RADIUS_SQR = 1024.0`, 32-block radius) scanning nearby players to match Alpha Pokémon encounter scaling and tracking `lastMatchingPlayerId`. Fields: lastMatchingPlayerId: UUID, RADIUS_SQR: double · Methods: requires, doTick |
BeeHiveSensor
entity.pokemon.ai.sensors.BeeHiveSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 7 | AI Sensor locating reachable vanilla Beehives/Bee Nests with available space and populating `HIVE_LOCATION` while respecting `HIVE_BLACKLIST`. Methods: requires, doTick, isValidHive, isHiveBlock, hasReachableAdjacentSide |
DefendOwnerSensor
entity.pokemon.ai.sensors.DefendOwnerSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 3 | AI Sensor detecting hostile entities attacking a Pokémon's owner and populating `NEAREST_VISIBLE_ATTACKER`. Methods: requires, doTick, setNearestAttacker |
DrowsySensor
entity.pokemon.ai.sensors.DrowsySensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 2 | AI Sensor evaluating sleep schedule, light level, and rest behaviour to update the `POKEMON_DROWSY` memory module. Methods: requires, doTick |
FlowerSensor
entity.pokemon.ai.sensors.FlowerSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 3 | AI Sensor scanning nearby blocks for flower blocks and storing the nearest position in `NEARBY_FLOWER`. Methods: requires, doTick, isFlower |
PokemonAdultSensor
entity.pokemon.ai.sensors.PokemonAdultSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 4 | AI Sensor filtering visible entities for valid adult parent species so baby Pokémon can follow their evolutionary line. Methods: requires, doTick, setNearestPokemonAdult, targetIsValidForChild |
PokemonGrowableCropSensor
entity.pokemon.ai.sensors.PokemonGrowableCropSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 4 | AI Sensor finding bonemealable crops around the Pokémon and storing targets in `NEARBY_GROWABLE_CROPS`. Methods: doTick, requires, findBoneMealPos, canBoneMeal |
PokemonItemSensor
entity.pokemon.ai.sensors.PokemonItemSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 4 / 2 | AI Sensor (default `16×8×16` scan box, `PICKUP_ITEMS = "pickup_items"`) detecting ground ItemEntities matching obtainable item rules. Fields: width: double, height: double, maxTravelDistance: double, PICKUP_ITEMS: String · Methods: requires, doTick |
SacLeavesSensor
entity.pokemon.ai.sensors.SacLeavesSensor | Entity AI Sensors & Move Control Class | Sensor<PokemonEntity> | 0 / 3 | AI Sensor locating nearby Saccharine Leaf blocks and recording the closest target in `NEARBY_SACC_LEAVES`. Methods: requires, doTick, isValidLeafBlock |
SweetBerryBushSensor
entity.pokemon.ai.sensors.SweetBerryBushSensor | Entity AI Sensors & Move Control Class | Sensor<LivingEntity> | 3 / 3 | AI Sensor (`10` horizontal, `1` vertical radius, `40`-tick interval) locating mature Sweet Berry Bushes into `NEARBY_SWEET_BERRY_BUSH`. Fields: SCAN_RADIUS_HORIZONTAL: int, SCAN_RADIUS_VERTICAL: int, SCAN_INTERVAL: int · Methods: doTick, requires, findNearestBush |
AttackHostileMobsTask
entity.pokemon.ai.tasks.AttackHostileMobsTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing attack hostile mobs behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
AttackTask
entity.pokemon.ai.tasks.AttackTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing attack behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
ChooseFlightWanderTargetTask
entity.pokemon.ai.tasks.ChooseFlightWanderTargetTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing choose flight wander target behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
ChooseWaterWanderTargetTask
entity.pokemon.ai.tasks.ChooseWaterWanderTargetTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing choose water wander target behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
DefendOwnerTask
entity.pokemon.ai.tasks.DefendOwnerTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing defend owner behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
EatGrassTask
entity.pokemon.ai.tasks.EatGrassTask | Entity AI Brain Tasks Class | Behavior<PokemonEntity> | 4 / 8 | Entity AI brain task implementing eat grass behaviour for PokemonEntity (4 fields, 8 methods). Fields: eatingChance: float, cooldownTicks: long, grassPredicate: BlockStatePredicate, timer: int · Methods: getEatingChance, getCooldownTicks, getGrassPredicate, getTimer, setTimer |
EatHeldItemTask
entity.pokemon.ai.tasks.EatHeldItemTask | Entity AI Brain Tasks Class | Behavior<PokemonEntity> | 4 / 8 | Entity AI brain task implementing eat held item behaviour for PokemonEntity (4 fields, 8 methods). Fields: timelastEaten: long, pickupItems: List<ObtainableItem>, MAX_DURATION: int, COOLDOWN: int · Methods: getPickupItems, checkExtraStartConditions, canStillUse, canEat, start |
FertilizerTask
entity.pokemon.ai.tasks.FertilizerTask | Entity AI Brain Tasks Class | Behavior<PokemonEntity> | 5 / 7 | Entity AI brain task implementing fertilizer behaviour for PokemonEntity (5 fields, 7 methods). Fields: startTime: long, lastEndEntityAge: long, duration: int, pos: Optional<BlockPos> · Methods: checkExtraStartConditions, canStillUse, start, addLookWalkTargets, stop |
FindEntityTask
entity.pokemon.ai.tasks.FindEntityTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing find entity behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
FindRestingPlaceTask
entity.pokemon.ai.tasks.FindRestingPlaceTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing find resting place behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
GoToSleepTask
entity.pokemon.ai.tasks.GoToSleepTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing go to sleep behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
HandleBattleActivityGoal
entity.pokemon.ai.tasks.HandleBattleActivityGoal | Entity AI Brain Tasks Object | — | 0 / 1 | AI Brain/Goal task keeping battling PokemonEntity instances locked into their active battle activity state. Methods: create |
HarvestSweetBerryBushTask
entity.pokemon.ai.tasks.HarvestSweetBerryBushTask | Entity AI Brain Tasks Class | Behavior<LivingEntity> | 2 / 2 | Entity AI brain task implementing harvest sweet berry bush behaviour for PokemonEntity (2 fields, 2 methods). Fields: startTime: int, WAIT_TIME: int · Methods: getStartTime, setStartTime |
HuntPlayerTask
entity.pokemon.ai.tasks.HuntPlayerTask | Entity AI Brain Tasks Class | Behavior<LivingEntity> | 8 / 5 | Entity AI brain task implementing hunt player behaviour for PokemonEntity (8 fields, 5 methods). Fields: targetEntity: Optional<LivingEntity>, lastKnownLocation: Optional<BlockPos>, searching: boolean, searchTime: int · Methods: findPlayer, addLookWalkTargets, startSearching, performSearch, onEntityHeard |
IgniteTask
entity.pokemon.ai.tasks.IgniteTask | Entity AI Brain Tasks Class | Behavior<PokemonEntity> | 5 / 9 | Entity AI brain task implementing ignite behaviour for PokemonEntity (5 fields, 9 methods). Fields: startTime: long, lastEndEntityAge: long, duration: int, pos: Optional<BlockPos> · Methods: checkExtraStartConditions, canStillUse, findIgnitionPos, canLight, start |
JumpOutOfWaterTask
entity.pokemon.ai.tasks.JumpOutOfWaterTask | Entity AI Brain Tasks Class | Behavior<PokemonEntity> | 4 / 8 | Entity AI brain task implementing jump out of water behaviour for PokemonEntity (4 fields, 8 methods). Fields: inWater: boolean, MAX_DURATION: int, CHANCE: int, OFFSET_MULTIPLIERS: int[] · Methods: getInWater, setInWater, checkExtraStartConditions, canStillUse, start |
LookAtTargetedBattlePokemonTask
entity.pokemon.ai.tasks.LookAtTargetedBattlePokemonTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing look at targeted battle pokemon behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
ManageFlightInBattleTask
entity.pokemon.ai.tasks.ManageFlightInBattleTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing manage flight in battle behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
MoveToItemTask
entity.pokemon.ai.tasks.MoveToItemTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing move to item behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
MoveToOwnerTask
entity.pokemon.ai.tasks.MoveToOwnerTask | Entity AI Brain Tasks Object | — | 0 / 5 | Entity AI brain task implementing move to owner behaviour for PokemonEntity (0 fields, 5 methods). Methods: create, tryTeleport, tryTeleportTo, canTeleportTo, getRandomInt |
MoveToSweetBerryBushTask
entity.pokemon.ai.tasks.MoveToSweetBerryBushTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing move to sweet berry bush behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
PathToFlowerTask
entity.pokemon.ai.tasks.PathToFlowerTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing path to flower behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
PathToSacLeafTask
entity.pokemon.ai.tasks.PathToSacLeafTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing path to sac leaf behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
PickUpItemTask
entity.pokemon.ai.tasks.PickUpItemTask | Entity AI Brain Tasks Object | — | 0 / 2 | Entity AI brain task implementing pick up item behaviour for PokemonEntity (0 fields, 2 methods). Methods: create, dropItem |
PlaceHoneyInHiveTask
entity.pokemon.ai.tasks.PlaceHoneyInHiveTask | Entity AI Brain Tasks Object | — | 0 / 2 | Entity AI brain task implementing place honey in hive behaviour for PokemonEntity (0 fields, 2 methods). Methods: create, wantsToEnterHive |
PokemonMeleeTask
entity.pokemon.ai.tasks.PokemonMeleeTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing pokemon melee behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
StopTryingToReachItemTask
entity.pokemon.ai.tasks.StopTryingToReachItemTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing stop trying to reach item behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
StopTryingToReachSweetBerryBushTask
entity.pokemon.ai.tasks.StopTryingToReachSweetBerryBushTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing stop trying to reach sweet berry bush behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
WakeUpTask
entity.pokemon.ai.tasks.WakeUpTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing wake up behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
WalkTowardsParentSpeciesTask
entity.pokemon.ai.tasks.WalkTowardsParentSpeciesTask | Entity AI Brain Tasks Object | — | 0 / 1 | Entity AI brain task implementing walk towards parent species behaviour for PokemonEntity (0 fields, 1 method). Methods: create |
BattleEffect
entity.pokemon.effects.BattleEffect | Core Entity, Flags & Effects Abstract | — implements EntityEffect | 1 / 5 | Abstract EntityEffect base class (`battleOnly`) managing CompletableFuture start/end animations for temporary visual battle effects. Fields: battleOnly: boolean · Methods: getBattleOnly, start, end, apply, revert |
EffectTracker
entity.pokemon.effects.EffectTracker | Core Entity, Flags & Effects Class | — | 3 / 9 | Per-PokemonEntity state tracker storing active CompletableFuture effect progress, MocKEffect disguise/transform state, and NBT persistence. Fields: entity: PokemonEntity, progress: concurrent.CompletableFuture<PokemonEntity>, mockEffect: MocKEffect · Methods: getEntity, getProgress, setProgress, getMockEffect, setMockEffect |
IllusionEffect
entity.pokemon.effects.IllusionEffect | Core Entity, Flags & Effects Class | BattleEffect implements MocKEffect | 2 / 12 | BattleEffect (`ID = "ILLUSION"`) implementing MocKEffect to disguise Zoroark/Zorua as another species (`PokemonProperties`) with `disguise` animation and Pokédex reveal on revert. Fields: mock: PokemonProperties, scale: float · Methods: getMock, setMock, getScale, setScale, apply |
TransformEffect
entity.pokemon.effects.TransformEffect | Core Entity, Flags & Effects Class | BattleEffect implements MocKEffect | 3 / 12 | BattleEffect (`ID = "TRANSFORM"`) implementing MocKEffect to copy another Pokémon's appearance (`mimic` animation, optional `doCry` toggle). Fields: mock: PokemonProperties, scale: float, doCry: boolean · Methods: getMock, setMock, getScale, setScale, getDoCry |
BlockBehavior
pokemon.ai.BlockBehavior | AI Movement & World Behaviours Class | — | 5 / 3 | Configures block interaction behaviour rules on species JSON. Fields: immuneToSweetBerryBushBlock: boolean, canStandOnPowderSnow: boolean, canPathThroughSaccLeaves: boolean, immuneToCobwebBlock: boolean · Methods: getCanPathThroughSaccLeaves, getImmuneToCobwebBlock, getStruct |
CombatBehaviour
pokemon.ai.CombatBehaviour | AI Movement & World Behaviours Class | — | 5 / 10 | Configures whether a wild Pokémon will defend itself (`willDefendSelf`), defend its owner (`willDefendOwner`), or flee (`willFlee`). Fields: willDefendSelf: boolean, willFlee: boolean, willDefendOwner: boolean, fightsMelee: boolean · Methods: getWillDefendSelf, setWillDefendSelf, getWillFlee, setWillFlee, getWillDefendOwner |
EntityBehaviour
pokemon.ai.EntityBehaviour | AI Movement & World Behaviours Class | — | 5 / 5 | Configures entity-level interaction flags such as `avoidedBySkeleton` and `avoidedByCreeper`. Fields: avoidedByCreeper: boolean, avoidedByPhantom: boolean, avoidedByFox: boolean, avoidedBySkeleton: boolean · Methods: getAvoidedByCreeper, getAvoidedByPhantom, getAvoidedByFox, getAvoidedBySkeleton, getStruct |
ExpressionObtainableItemCondition
pokemon.ai.ExpressionObtainableItemCondition | AI Movement & World Behaviours Class | — implements ObtainableItemCondition | 2 / 1 | ObtainableItemCondition evaluated via a MoLang expression. Fields: expression: ExpressionLike, runtime: MoLangRuntime · Methods: isItemObtainable |
FlyBehaviour
pokemon.ai.FlyBehaviour | AI Movement & World Behaviours Class | — | 3 / 3 | Controls aerial flight (`canFly`, `flySpeedHorizontal`) for flying Pokémon entities. Fields: canFly: boolean, flySpeedHorizontal: Expression, struct: ObjectValue<FlyBehaviour> · Methods: getCanFly, getFlySpeedHorizontal, getStruct |
FormPokemonBehaviour
pokemon.ai.FormPokemonBehaviour | AI Movement & World Behaviours Class | — | 15 / 16 | Form-specific PokemonBehaviour override allowing regional and alternate forms to replace base species movement, rest, or herd rules. Fields: parent: PokemonBehaviour, _resting: RestBehaviour, _moving: MoveBehaviour, _idle: IdleBehaviour · Methods: getParent, setParent, getResting, getMoving, getIdle |
HerdBehaviour
pokemon.ai.HerdBehaviour | AI Movement & World Behaviours Class | — | 4 / 6 | Configures herding leader priority, maximum herd size, `followDistance`, and `toleratedLeaders` list. Fields: toleratedLeaders: List<ToleratedHerdLeader>, maxSize: int, followDistance: IntRange, struct: ObjectValue<HerdBehaviour> · Methods: getToleratedLeaders, getMaxSize, getFollowDistance, getStruct, bestMatchLeader |
IdentifierObtainableItemCondition
pokemon.ai.IdentifierObtainableItemCondition | AI Movement & World Behaviours Class | — implements ObtainableItemCondition | 1 / 1 | ObtainableItemCondition matching an exact Minecraft/Cobblemon Item ResourceLocation. Fields: itemId: ResourceLocation · Methods: isItemObtainable |
IdleBehaviour
pokemon.ai.IdleBehaviour | AI Movement & World Behaviours Class | — | 1 / 1 | Configures ambient idle poses and animation weights when a Pokémon is stationary. Fields: struct: ObjectValue<IdleBehaviour> · Methods: getStruct |
ItemBehavior
pokemon.ai.ItemBehavior | AI Movement & World Behaviours Class | — | 2 / 1 | Configures obtainable/pickupable item rules for a species' AI item-gathering routines. Fields: desiredItems: List<ObtainableItem>, struct: ObjectValue<ItemBehavior> · Methods: getStruct |
MoveBehaviour
pokemon.ai.MoveBehaviour | AI Movement & World Behaviours Class | — | 8 / 8 | Aggregates WalkBehaviour, SwimBehaviour, FlyBehaviour, `wanderChance`, `wanderSpeed`, and `canLook` flags for a species. Fields: walk: WalkBehaviour, swim: SwimBehaviour, fly: FlyBehaviour, stepHeight: float · Methods: getWalk, getSwim, getFly, getStepHeight, getWanderChance |
ObtainableItem
pokemon.ai.ObtainableItem | AI Movement & World Behaviours Class | — | 6 / 11 | Data record pairing an ObtainableItemCondition with pickup/return settings for item-gathering AI. Fields: item: ObtainableItemCondition, pickupPriority: int, fullnessValue: int, returnItem: ResourceLocation · Methods: getItem, setItem, getPickupPriority, setPickupPriority, getFullnessValue |
ObtainableItemCondition
pokemon.ai.ObtainableItemCondition | AI Movement & World Behaviours Interface | — | 0 / 1 | Polymorphic condition interface testing whether a ground ItemStack qualifies for Pokémon pickup. Methods: isItemObtainable |
ObtainableItemConditionAdapter
pokemon.ai.ObtainableItemConditionAdapter | AI Movement & World Behaviours Object | — implements JsonDeserializer<ObtainableItemCondition> | 0 / 1 | Gson TypeAdapter dispatching ObtainableItemCondition JSON to expression, identifier, or tag variants. Methods: deserialize |
OmniPathNodeMaker
pokemon.ai.OmniPathNodeMaker | AI Movement & World Behaviours Class | NodeEvaluator | 6 / 33 | Unified Pathfinding NodeEvaluator supporting amphibious, terrestrial, lava-walking, and 3D flying navigation paths. Fields: nodePosToType: it.unimi.dsi.fastutil.longs.Long2ObjectMap<PathType>, nodePosToState: it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockState>, canPathThroughFire: boolean, nodeFilter: function.Predicate<PathType> · Methods: getCanPathThroughFire, setCanPathThroughFire, getNodeFilter, setNodeFilter, getCachedBlockState |
PokemonBehaviour
pokemon.ai.PokemonBehaviour | AI Movement & World Behaviours Class | — | 14 / 16 | Root species behaviour configuration container aggregating resting, moving, idle, combat, herd, fire/lightning, entity, block, and item behaviours. Fields: resting: RestBehaviour, moving: MoveBehaviour, idle: IdleBehaviour, fireImmune: boolean · Methods: getResting, getMoving, setMoving, getIdle, getFireImmune |
PokemonBrain
pokemon.ai.PokemonBrain | AI Movement & World Behaviours Object | — | 4 / 12 | Factory building and configuring the Minecraft Brain (sensors, memories, schedules, and behaviour task packs) for every PokemonEntity. Fields: ADULT_FOLLOW_RANGE: UniformInt, AVOID_MEMORY_DURATION: UniformInt, SENSORS: Collection<SensorType<? extends Sensor<? super PokemonEntity>>>, MEMORY_MODULES: List<MemoryModuleType<?>> · Methods: getSENSORS, applyBrain, getMEMORY_MODULES, coreTasks, fightTasks |
PokemonDisturbancesSensor
pokemon.ai.PokemonDisturbancesSensor | AI Movement & World Behaviours Class | Sensor<PokemonEntity> | 0 / 2 | Custom AI Sensor detecting nearby player/mob disturbances that wake sleeping Pokémon or trigger fleeing. Methods: doTick, requires |
RestBehaviour
pokemon.ai.RestBehaviour | AI Movement & World Behaviours Class | — | 13 / 13 | Configures sleep capability (`canSleep`), `sleepLight`, `times` (TimeRange), `blocks` bed list, `drowsyChance`, `rouseChance`, and `willSleepOnBed`. Fields: canSleep: boolean, times: TimeRange, blocks: List<RegistryLikeCondition<Block>>, biomes: List<RegistryLikeCondition<Biome>> · Methods: getCanSleep, getTimes, getBlocks, getBiomes, getFluids |
SwimBehaviour
pokemon.ai.SwimBehaviour | AI Movement & World Behaviours Class | — | 9 / 12 | Controls aquatic/lava swimming (`canSwimInWater`, `canSwimInLava`, `canBreatheUnderwater`, `canBreatheUnderlava`, `canWalkOnWater`, `canWalkOnLava`, `swimSpeed`). Fields: avoidsWater: boolean, canSwimInWater: boolean, swimSpeed: Expression, canBreatheUnderwater: boolean · Methods: getAvoidsWater, getCanSwimInWater, getSwimSpeed, getCanBreatheUnderwater, getCanWalkOnWater |
TagObtainableItemCondition
pokemon.ai.TagObtainableItemCondition | AI Movement & World Behaviours Class | — implements ObtainableItemCondition | 1 / 1 | ObtainableItemCondition matching a Minecraft/Cobblemon Item TagKey. Fields: tagKey: TagKey<Item> · Methods: isItemObtainable |
ThunderstruckBehaviour
pokemon.ai.ThunderstruckBehaviour | AI Movement & World Behaviours Class | — | 2 / 3 | Configures species reactions when struck by lightning. Fields: rotateFeatures: List<ThunderstruckBehaviour$RotateFeature>, struct: ObjectValue<ThunderstruckBehaviour> · Methods: getRotateFeatures, isSpecial, getStruct |
ToleratedHerdLeader
pokemon.ai.ToleratedHerdLeader | AI Movement & World Behaviours Class | — | 4 / 6 | Descriptor specifying another species/tier that a herding Pokémon accepts as a herd leader. Fields: pokemon: PokemonProperties, tier: int, ignoresLevel: boolean, followDistance: IntRange · Methods: getPokemon, setPokemon, getTier, getIgnoresLevel, getFollowDistance |
WalkBehaviour
pokemon.ai.WalkBehaviour | AI Movement & World Behaviours Class | — | 4 / 5 | Controls ground walking (`canWalk`, `avoidsLand`, `walkSpeed`) for PokemonEntity navigation. Fields: canWalk: boolean, avoidsLand: boolean, walkSpeed: Expression, struct: ObjectValue<WalkBehaviour> · Methods: getCanWalk, getAvoidsLand, getWalkSpeed, setWalkSpeed, getStruct |