Class MemoryModuleType<U>

java.lang.Object
net.minecraft.entity.ai.brain.MemoryModuleType<U>

public class MemoryModuleType<U> extends Object
A memory module type represents a type of data stored in a brain. The memory data can be shared by different tasks once they are updated by a sensor or created by some task. This can avoid some redundant calculations.
See Also:
Mappings:
Namespace Name
official bfg
intermediary net/minecraft/class_4140
named net/minecraft/entity/ai/brain/MemoryModuleType
  • Field Details

    • DUMMY

      public static final MemoryModuleType<Void> DUMMY
      Mappings:
      Namespace Name Mixin selector
      official a Lbfg;a:Lbfg;
      intermediary field_18437 Lnet/minecraft/class_4140;field_18437:Lnet/minecraft/class_4140;
      named DUMMY Lnet/minecraft/entity/ai/brain/MemoryModuleType;DUMMY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HOME

      public static final MemoryModuleType<GlobalPos> HOME
      Mappings:
      Namespace Name Mixin selector
      official b Lbfg;b:Lbfg;
      intermediary field_18438 Lnet/minecraft/class_4140;field_18438:Lnet/minecraft/class_4140;
      named HOME Lnet/minecraft/entity/ai/brain/MemoryModuleType;HOME:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • JOB_SITE

      public static final MemoryModuleType<GlobalPos> JOB_SITE
      Mappings:
      Namespace Name Mixin selector
      official c Lbfg;c:Lbfg;
      intermediary field_18439 Lnet/minecraft/class_4140;field_18439:Lnet/minecraft/class_4140;
      named JOB_SITE Lnet/minecraft/entity/ai/brain/MemoryModuleType;JOB_SITE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • POTENTIAL_JOB_SITE

      public static final MemoryModuleType<GlobalPos> POTENTIAL_JOB_SITE
      Mappings:
      Namespace Name Mixin selector
      official d Lbfg;d:Lbfg;
      intermediary field_25160 Lnet/minecraft/class_4140;field_25160:Lnet/minecraft/class_4140;
      named POTENTIAL_JOB_SITE Lnet/minecraft/entity/ai/brain/MemoryModuleType;POTENTIAL_JOB_SITE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • MEETING_POINT

      public static final MemoryModuleType<GlobalPos> MEETING_POINT
      Mappings:
      Namespace Name Mixin selector
      official e Lbfg;e:Lbfg;
      intermediary field_18440 Lnet/minecraft/class_4140;field_18440:Lnet/minecraft/class_4140;
      named MEETING_POINT Lnet/minecraft/entity/ai/brain/MemoryModuleType;MEETING_POINT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • SECONDARY_JOB_SITE

      public static final MemoryModuleType<List<GlobalPos>> SECONDARY_JOB_SITE
      Mappings:
      Namespace Name Mixin selector
      official f Lbfg;f:Lbfg;
      intermediary field_18873 Lnet/minecraft/class_4140;field_18873:Lnet/minecraft/class_4140;
      named SECONDARY_JOB_SITE Lnet/minecraft/entity/ai/brain/MemoryModuleType;SECONDARY_JOB_SITE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • MOBS

      public static final MemoryModuleType<List<LivingEntity>> MOBS
      Mappings:
      Namespace Name Mixin selector
      official g Lbfg;g:Lbfg;
      intermediary field_18441 Lnet/minecraft/class_4140;field_18441:Lnet/minecraft/class_4140;
      named MOBS Lnet/minecraft/entity/ai/brain/MemoryModuleType;MOBS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • VISIBLE_MOBS

      public static final MemoryModuleType<LivingTargetCache> VISIBLE_MOBS
      Mappings:
      Namespace Name Mixin selector
      official h Lbfg;h:Lbfg;
      intermediary field_18442 Lnet/minecraft/class_4140;field_18442:Lnet/minecraft/class_4140;
      named VISIBLE_MOBS Lnet/minecraft/entity/ai/brain/MemoryModuleType;VISIBLE_MOBS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • VISIBLE_VILLAGER_BABIES

      public static final MemoryModuleType<List<LivingEntity>> VISIBLE_VILLAGER_BABIES
      Mappings:
      Namespace Name Mixin selector
      official i Lbfg;i:Lbfg;
      intermediary field_19006 Lnet/minecraft/class_4140;field_19006:Lnet/minecraft/class_4140;
      named VISIBLE_VILLAGER_BABIES Lnet/minecraft/entity/ai/brain/MemoryModuleType;VISIBLE_VILLAGER_BABIES:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_PLAYERS

      public static final MemoryModuleType<List<PlayerEntity>> NEAREST_PLAYERS
      Mappings:
      Namespace Name Mixin selector
      official j Lbfg;j:Lbfg;
      intermediary field_18443 Lnet/minecraft/class_4140;field_18443:Lnet/minecraft/class_4140;
      named NEAREST_PLAYERS Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_PLAYERS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_PLAYER

      public static final MemoryModuleType<PlayerEntity> NEAREST_VISIBLE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official k Lbfg;k:Lbfg;
      intermediary field_18444 Lnet/minecraft/class_4140;field_18444:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_PLAYER Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_PLAYER:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_TARGETABLE_PLAYER

      public static final MemoryModuleType<PlayerEntity> NEAREST_VISIBLE_TARGETABLE_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official l Lbfg;l:Lbfg;
      intermediary field_22354 Lnet/minecraft/class_4140;field_22354:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_TARGETABLE_PLAYER Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_TARGETABLE_PLAYER:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • WALK_TARGET

      public static final MemoryModuleType<WalkTarget> WALK_TARGET
      Mappings:
      Namespace Name Mixin selector
      official m Lbfg;m:Lbfg;
      intermediary field_18445 Lnet/minecraft/class_4140;field_18445:Lnet/minecraft/class_4140;
      named WALK_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;WALK_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LOOK_TARGET

      public static final MemoryModuleType<LookTarget> LOOK_TARGET
      Mappings:
      Namespace Name Mixin selector
      official n Lbfg;n:Lbfg;
      intermediary field_18446 Lnet/minecraft/class_4140;field_18446:Lnet/minecraft/class_4140;
      named LOOK_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;LOOK_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ATTACK_TARGET

      public static final MemoryModuleType<LivingEntity> ATTACK_TARGET
      Mappings:
      Namespace Name Mixin selector
      official o Lbfg;o:Lbfg;
      intermediary field_22355 Lnet/minecraft/class_4140;field_22355:Lnet/minecraft/class_4140;
      named ATTACK_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;ATTACK_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ATTACK_COOLING_DOWN

      public static final MemoryModuleType<Boolean> ATTACK_COOLING_DOWN
      Mappings:
      Namespace Name Mixin selector
      official p Lbfg;p:Lbfg;
      intermediary field_22475 Lnet/minecraft/class_4140;field_22475:Lnet/minecraft/class_4140;
      named ATTACK_COOLING_DOWN Lnet/minecraft/entity/ai/brain/MemoryModuleType;ATTACK_COOLING_DOWN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • INTERACTION_TARGET

      public static final MemoryModuleType<LivingEntity> INTERACTION_TARGET
      Mappings:
      Namespace Name Mixin selector
      official q Lbfg;q:Lbfg;
      intermediary field_18447 Lnet/minecraft/class_4140;field_18447:Lnet/minecraft/class_4140;
      named INTERACTION_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;INTERACTION_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • BREED_TARGET

      public static final MemoryModuleType<PassiveEntity> BREED_TARGET
      Mappings:
      Namespace Name Mixin selector
      official r Lbfg;r:Lbfg;
      intermediary field_18448 Lnet/minecraft/class_4140;field_18448:Lnet/minecraft/class_4140;
      named BREED_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;BREED_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • RIDE_TARGET

      public static final MemoryModuleType<Entity> RIDE_TARGET
      Mappings:
      Namespace Name Mixin selector
      official s Lbfg;s:Lbfg;
      intermediary field_22356 Lnet/minecraft/class_4140;field_22356:Lnet/minecraft/class_4140;
      named RIDE_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;RIDE_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • PATH

      public static final MemoryModuleType<Path> PATH
      Mappings:
      Namespace Name Mixin selector
      official t Lbfg;t:Lbfg;
      intermediary field_18449 Lnet/minecraft/class_4140;field_18449:Lnet/minecraft/class_4140;
      named PATH Lnet/minecraft/entity/ai/brain/MemoryModuleType;PATH:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • INTERACTABLE_DOORS

      public static final MemoryModuleType<List<GlobalPos>> INTERACTABLE_DOORS
      Mappings:
      Namespace Name Mixin selector
      official u Lbfg;u:Lbfg;
      intermediary field_18450 Lnet/minecraft/class_4140;field_18450:Lnet/minecraft/class_4140;
      named INTERACTABLE_DOORS Lnet/minecraft/entity/ai/brain/MemoryModuleType;INTERACTABLE_DOORS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • DOORS_TO_CLOSE

      public static final MemoryModuleType<Set<GlobalPos>> DOORS_TO_CLOSE
      Mappings:
      Namespace Name Mixin selector
      official v Lbfg;v:Lbfg;
      intermediary field_26389 Lnet/minecraft/class_4140;field_26389:Lnet/minecraft/class_4140;
      named DOORS_TO_CLOSE Lnet/minecraft/entity/ai/brain/MemoryModuleType;DOORS_TO_CLOSE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_BED

      public static final MemoryModuleType<BlockPos> NEAREST_BED
      Mappings:
      Namespace Name Mixin selector
      official w Lbfg;w:Lbfg;
      intermediary field_19007 Lnet/minecraft/class_4140;field_19007:Lnet/minecraft/class_4140;
      named NEAREST_BED Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_BED:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HURT_BY

      public static final MemoryModuleType<DamageSource> HURT_BY
      Mappings:
      Namespace Name Mixin selector
      official x Lbfg;x:Lbfg;
      intermediary field_18451 Lnet/minecraft/class_4140;field_18451:Lnet/minecraft/class_4140;
      named HURT_BY Lnet/minecraft/entity/ai/brain/MemoryModuleType;HURT_BY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HURT_BY_ENTITY

      public static final MemoryModuleType<LivingEntity> HURT_BY_ENTITY
      Mappings:
      Namespace Name Mixin selector
      official y Lbfg;y:Lbfg;
      intermediary field_18452 Lnet/minecraft/class_4140;field_18452:Lnet/minecraft/class_4140;
      named HURT_BY_ENTITY Lnet/minecraft/entity/ai/brain/MemoryModuleType;HURT_BY_ENTITY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • AVOID_TARGET

      public static final MemoryModuleType<LivingEntity> AVOID_TARGET
      Mappings:
      Namespace Name Mixin selector
      official z Lbfg;z:Lbfg;
      intermediary field_22357 Lnet/minecraft/class_4140;field_22357:Lnet/minecraft/class_4140;
      named AVOID_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;AVOID_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_HOSTILE

      public static final MemoryModuleType<LivingEntity> NEAREST_HOSTILE
      Mappings:
      Namespace Name Mixin selector
      official A Lbfg;A:Lbfg;
      intermediary field_18453 Lnet/minecraft/class_4140;field_18453:Lnet/minecraft/class_4140;
      named NEAREST_HOSTILE Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_HOSTILE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_ATTACKABLE

      public static final MemoryModuleType<LivingEntity> NEAREST_ATTACKABLE
      Mappings:
      Namespace Name Mixin selector
      official B Lbfg;B:Lbfg;
      intermediary field_30243 Lnet/minecraft/class_4140;field_30243:Lnet/minecraft/class_4140;
      named NEAREST_ATTACKABLE Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_ATTACKABLE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HIDING_PLACE

      public static final MemoryModuleType<GlobalPos> HIDING_PLACE
      Mappings:
      Namespace Name Mixin selector
      official C Lbfg;C:Lbfg;
      intermediary field_19008 Lnet/minecraft/class_4140;field_19008:Lnet/minecraft/class_4140;
      named HIDING_PLACE Lnet/minecraft/entity/ai/brain/MemoryModuleType;HIDING_PLACE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HEARD_BELL_TIME

      public static final MemoryModuleType<Long> HEARD_BELL_TIME
      Mappings:
      Namespace Name Mixin selector
      official D Lbfg;D:Lbfg;
      intermediary field_19009 Lnet/minecraft/class_4140;field_19009:Lnet/minecraft/class_4140;
      named HEARD_BELL_TIME Lnet/minecraft/entity/ai/brain/MemoryModuleType;HEARD_BELL_TIME:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • CANT_REACH_WALK_TARGET_SINCE

      public static final MemoryModuleType<Long> CANT_REACH_WALK_TARGET_SINCE
      Mappings:
      Namespace Name Mixin selector
      official E Lbfg;E:Lbfg;
      intermediary field_19293 Lnet/minecraft/class_4140;field_19293:Lnet/minecraft/class_4140;
      named CANT_REACH_WALK_TARGET_SINCE Lnet/minecraft/entity/ai/brain/MemoryModuleType;CANT_REACH_WALK_TARGET_SINCE:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • GOLEM_DETECTED_RECENTLY

      public static final MemoryModuleType<Boolean> GOLEM_DETECTED_RECENTLY
      Mappings:
      Namespace Name Mixin selector
      official F Lbfg;F:Lbfg;
      intermediary field_25754 Lnet/minecraft/class_4140;field_25754:Lnet/minecraft/class_4140;
      named GOLEM_DETECTED_RECENTLY Lnet/minecraft/entity/ai/brain/MemoryModuleType;GOLEM_DETECTED_RECENTLY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LAST_SLEPT

      public static final MemoryModuleType<Long> LAST_SLEPT
      Mappings:
      Namespace Name Mixin selector
      official G Lbfg;G:Lbfg;
      intermediary field_19385 Lnet/minecraft/class_4140;field_19385:Lnet/minecraft/class_4140;
      named LAST_SLEPT Lnet/minecraft/entity/ai/brain/MemoryModuleType;LAST_SLEPT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LAST_WOKEN

      public static final MemoryModuleType<Long> LAST_WOKEN
      Mappings:
      Namespace Name Mixin selector
      official H Lbfg;H:Lbfg;
      intermediary field_20616 Lnet/minecraft/class_4140;field_20616:Lnet/minecraft/class_4140;
      named LAST_WOKEN Lnet/minecraft/entity/ai/brain/MemoryModuleType;LAST_WOKEN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LAST_WORKED_AT_POI

      public static final MemoryModuleType<Long> LAST_WORKED_AT_POI
      Mappings:
      Namespace Name Mixin selector
      official I Lbfg;I:Lbfg;
      intermediary field_19386 Lnet/minecraft/class_4140;field_19386:Lnet/minecraft/class_4140;
      named LAST_WORKED_AT_POI Lnet/minecraft/entity/ai/brain/MemoryModuleType;LAST_WORKED_AT_POI:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_ADULT

      public static final MemoryModuleType<PassiveEntity> NEAREST_VISIBLE_ADULT
      Mappings:
      Namespace Name Mixin selector
      official J Lbfg;J:Lbfg;
      intermediary field_25359 Lnet/minecraft/class_4140;field_25359:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_ADULT Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_ADULT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_WANTED_ITEM

      public static final MemoryModuleType<ItemEntity> NEAREST_VISIBLE_WANTED_ITEM
      Mappings:
      Namespace Name Mixin selector
      official K Lbfg;K:Lbfg;
      intermediary field_22332 Lnet/minecraft/class_4140;field_22332:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_WANTED_ITEM Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_WANTED_ITEM:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_NEMESIS

      public static final MemoryModuleType<MobEntity> NEAREST_VISIBLE_NEMESIS
      Mappings:
      Namespace Name Mixin selector
      official L Lbfg;L:Lbfg;
      intermediary field_25360 Lnet/minecraft/class_4140;field_25360:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_NEMESIS Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_NEMESIS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • PLAY_DEAD_TICKS

      public static final MemoryModuleType<Integer> PLAY_DEAD_TICKS
      Mappings:
      Namespace Name Mixin selector
      official M Lbfg;M:Lbfg;
      intermediary field_28324 Lnet/minecraft/class_4140;field_28324:Lnet/minecraft/class_4140;
      named PLAY_DEAD_TICKS Lnet/minecraft/entity/ai/brain/MemoryModuleType;PLAY_DEAD_TICKS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • TEMPTING_PLAYER

      public static final MemoryModuleType<PlayerEntity> TEMPTING_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official N Lbfg;N:Lbfg;
      intermediary field_28325 Lnet/minecraft/class_4140;field_28325:Lnet/minecraft/class_4140;
      named TEMPTING_PLAYER Lnet/minecraft/entity/ai/brain/MemoryModuleType;TEMPTING_PLAYER:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • TEMPTATION_COOLDOWN_TICKS

      public static final MemoryModuleType<Integer> TEMPTATION_COOLDOWN_TICKS
      Mappings:
      Namespace Name Mixin selector
      official O Lbfg;O:Lbfg;
      intermediary field_28326 Lnet/minecraft/class_4140;field_28326:Lnet/minecraft/class_4140;
      named TEMPTATION_COOLDOWN_TICKS Lnet/minecraft/entity/ai/brain/MemoryModuleType;TEMPTATION_COOLDOWN_TICKS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • IS_TEMPTED

      public static final MemoryModuleType<Boolean> IS_TEMPTED
      Mappings:
      Namespace Name Mixin selector
      official P Lbfg;P:Lbfg;
      intermediary field_28327 Lnet/minecraft/class_4140;field_28327:Lnet/minecraft/class_4140;
      named IS_TEMPTED Lnet/minecraft/entity/ai/brain/MemoryModuleType;IS_TEMPTED:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LONG_JUMP_COOLING_DOWN

      public static final MemoryModuleType<Integer> LONG_JUMP_COOLING_DOWN
      Mappings:
      Namespace Name Mixin selector
      official Q Lbfg;Q:Lbfg;
      intermediary field_30244 Lnet/minecraft/class_4140;field_30244:Lnet/minecraft/class_4140;
      named LONG_JUMP_COOLING_DOWN Lnet/minecraft/entity/ai/brain/MemoryModuleType;LONG_JUMP_COOLING_DOWN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • LONG_JUMP_MID_JUMP

      public static final MemoryModuleType<Boolean> LONG_JUMP_MID_JUMP
      Mappings:
      Namespace Name Mixin selector
      official R Lbfg;R:Lbfg;
      intermediary field_30245 Lnet/minecraft/class_4140;field_30245:Lnet/minecraft/class_4140;
      named LONG_JUMP_MID_JUMP Lnet/minecraft/entity/ai/brain/MemoryModuleType;LONG_JUMP_MID_JUMP:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HAS_HUNTING_COOLDOWN

      public static final MemoryModuleType<Boolean> HAS_HUNTING_COOLDOWN
      Mappings:
      Namespace Name Mixin selector
      official S Lbfg;S:Lbfg;
      intermediary field_30246 Lnet/minecraft/class_4140;field_30246:Lnet/minecraft/class_4140;
      named HAS_HUNTING_COOLDOWN Lnet/minecraft/entity/ai/brain/MemoryModuleType;HAS_HUNTING_COOLDOWN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • RAM_COOLDOWN_TICKS

      public static final MemoryModuleType<Integer> RAM_COOLDOWN_TICKS
      Mappings:
      Namespace Name Mixin selector
      official T Lbfg;T:Lbfg;
      intermediary field_33483 Lnet/minecraft/class_4140;field_33483:Lnet/minecraft/class_4140;
      named RAM_COOLDOWN_TICKS Lnet/minecraft/entity/ai/brain/MemoryModuleType;RAM_COOLDOWN_TICKS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • RAM_TARGET

      public static final MemoryModuleType<Vec3d> RAM_TARGET
      Mappings:
      Namespace Name Mixin selector
      official U Lbfg;U:Lbfg;
      intermediary field_33484 Lnet/minecraft/class_4140;field_33484:Lnet/minecraft/class_4140;
      named RAM_TARGET Lnet/minecraft/entity/ai/brain/MemoryModuleType;RAM_TARGET:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ANGRY_AT

      public static final MemoryModuleType<UUID> ANGRY_AT
      Mappings:
      Namespace Name Mixin selector
      official V Lbfg;V:Lbfg;
      intermediary field_22333 Lnet/minecraft/class_4140;field_22333:Lnet/minecraft/class_4140;
      named ANGRY_AT Lnet/minecraft/entity/ai/brain/MemoryModuleType;ANGRY_AT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • UNIVERSAL_ANGER

      public static final MemoryModuleType<Boolean> UNIVERSAL_ANGER
      Mappings:
      Namespace Name Mixin selector
      official W Lbfg;W:Lbfg;
      intermediary field_25361 Lnet/minecraft/class_4140;field_25361:Lnet/minecraft/class_4140;
      named UNIVERSAL_ANGER Lnet/minecraft/entity/ai/brain/MemoryModuleType;UNIVERSAL_ANGER:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ADMIRING_ITEM

      public static final MemoryModuleType<Boolean> ADMIRING_ITEM
      Mappings:
      Namespace Name Mixin selector
      official X Lbfg;X:Lbfg;
      intermediary field_22334 Lnet/minecraft/class_4140;field_22334:Lnet/minecraft/class_4140;
      named ADMIRING_ITEM Lnet/minecraft/entity/ai/brain/MemoryModuleType;ADMIRING_ITEM:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • TIME_TRYING_TO_REACH_ADMIRE_ITEM

      public static final MemoryModuleType<Integer> TIME_TRYING_TO_REACH_ADMIRE_ITEM
      Mappings:
      Namespace Name Mixin selector
      official Y Lbfg;Y:Lbfg;
      intermediary field_25813 Lnet/minecraft/class_4140;field_25813:Lnet/minecraft/class_4140;
      named TIME_TRYING_TO_REACH_ADMIRE_ITEM Lnet/minecraft/entity/ai/brain/MemoryModuleType;TIME_TRYING_TO_REACH_ADMIRE_ITEM:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • DISABLE_WALK_TO_ADMIRE_ITEM

      public static final MemoryModuleType<Boolean> DISABLE_WALK_TO_ADMIRE_ITEM
      Mappings:
      Namespace Name Mixin selector
      official Z Lbfg;Z:Lbfg;
      intermediary field_25814 Lnet/minecraft/class_4140;field_25814:Lnet/minecraft/class_4140;
      named DISABLE_WALK_TO_ADMIRE_ITEM Lnet/minecraft/entity/ai/brain/MemoryModuleType;DISABLE_WALK_TO_ADMIRE_ITEM:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ADMIRING_DISABLED

      public static final MemoryModuleType<Boolean> ADMIRING_DISABLED
      Mappings:
      Namespace Name Mixin selector
      official aa Lbfg;aa:Lbfg;
      intermediary field_22473 Lnet/minecraft/class_4140;field_22473:Lnet/minecraft/class_4140;
      named ADMIRING_DISABLED Lnet/minecraft/entity/ai/brain/MemoryModuleType;ADMIRING_DISABLED:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • HUNTED_RECENTLY

      public static final MemoryModuleType<Boolean> HUNTED_RECENTLY
      Mappings:
      Namespace Name Mixin selector
      official ab Lbfg;ab:Lbfg;
      intermediary field_22336 Lnet/minecraft/class_4140;field_22336:Lnet/minecraft/class_4140;
      named HUNTED_RECENTLY Lnet/minecraft/entity/ai/brain/MemoryModuleType;HUNTED_RECENTLY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • CELEBRATE_LOCATION

      public static final MemoryModuleType<BlockPos> CELEBRATE_LOCATION
      Mappings:
      Namespace Name Mixin selector
      official ac Lbfg;ac:Lbfg;
      intermediary field_22337 Lnet/minecraft/class_4140;field_22337:Lnet/minecraft/class_4140;
      named CELEBRATE_LOCATION Lnet/minecraft/entity/ai/brain/MemoryModuleType;CELEBRATE_LOCATION:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • DANCING

      public static final MemoryModuleType<Boolean> DANCING
      Mappings:
      Namespace Name Mixin selector
      official ad Lbfg;ad:Lbfg;
      intermediary field_25159 Lnet/minecraft/class_4140;field_25159:Lnet/minecraft/class_4140;
      named DANCING Lnet/minecraft/entity/ai/brain/MemoryModuleType;DANCING:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_HUNTABLE_HOGLIN

      public static final MemoryModuleType<HoglinEntity> NEAREST_VISIBLE_HUNTABLE_HOGLIN
      Mappings:
      Namespace Name Mixin selector
      official ae Lbfg;ae:Lbfg;
      intermediary field_22339 Lnet/minecraft/class_4140;field_22339:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_HUNTABLE_HOGLIN Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_HUNTABLE_HOGLIN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_BABY_HOGLIN

      public static final MemoryModuleType<HoglinEntity> NEAREST_VISIBLE_BABY_HOGLIN
      Mappings:
      Namespace Name Mixin selector
      official af Lbfg;af:Lbfg;
      intermediary field_22340 Lnet/minecraft/class_4140;field_22340:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_BABY_HOGLIN Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_BABY_HOGLIN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD

      public static final MemoryModuleType<PlayerEntity> NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD
      Mappings:
      Namespace Name Mixin selector
      official ag Lbfg;ag:Lbfg;
      intermediary field_22342 Lnet/minecraft/class_4140;field_22342:Lnet/minecraft/class_4140;
      named NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEARBY_ADULT_PIGLINS

      public static final MemoryModuleType<List<AbstractPiglinEntity>> NEARBY_ADULT_PIGLINS
      Mappings:
      Namespace Name Mixin selector
      official ah Lbfg;ah:Lbfg;
      intermediary field_25755 Lnet/minecraft/class_4140;field_25755:Lnet/minecraft/class_4140;
      named NEARBY_ADULT_PIGLINS Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEARBY_ADULT_PIGLINS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_ADULT_PIGLINS

      public static final MemoryModuleType<List<AbstractPiglinEntity>> NEAREST_VISIBLE_ADULT_PIGLINS
      Mappings:
      Namespace Name Mixin selector
      official ai Lbfg;ai:Lbfg;
      intermediary field_22343 Lnet/minecraft/class_4140;field_22343:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_ADULT_PIGLINS Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_ADULT_PIGLINS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_ADULT_HOGLINS

      public static final MemoryModuleType<List<HoglinEntity>> NEAREST_VISIBLE_ADULT_HOGLINS
      Mappings:
      Namespace Name Mixin selector
      official aj Lbfg;aj:Lbfg;
      intermediary field_22344 Lnet/minecraft/class_4140;field_22344:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_ADULT_HOGLINS Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_ADULT_HOGLINS:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_ADULT_PIGLIN

      public static final MemoryModuleType<AbstractPiglinEntity> NEAREST_VISIBLE_ADULT_PIGLIN
      Mappings:
      Namespace Name Mixin selector
      official ak Lbfg;ak:Lbfg;
      intermediary field_22345 Lnet/minecraft/class_4140;field_22345:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_ADULT_PIGLIN Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_ADULT_PIGLIN:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_VISIBLE_ZOMBIFIED

      public static final MemoryModuleType<LivingEntity> NEAREST_VISIBLE_ZOMBIFIED
      Mappings:
      Namespace Name Mixin selector
      official al Lbfg;al:Lbfg;
      intermediary field_22346 Lnet/minecraft/class_4140;field_22346:Lnet/minecraft/class_4140;
      named NEAREST_VISIBLE_ZOMBIFIED Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_VISIBLE_ZOMBIFIED:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • VISIBLE_ADULT_PIGLIN_COUNT

      public static final MemoryModuleType<Integer> VISIBLE_ADULT_PIGLIN_COUNT
      Mappings:
      Namespace Name Mixin selector
      official am Lbfg;am:Lbfg;
      intermediary field_22347 Lnet/minecraft/class_4140;field_22347:Lnet/minecraft/class_4140;
      named VISIBLE_ADULT_PIGLIN_COUNT Lnet/minecraft/entity/ai/brain/MemoryModuleType;VISIBLE_ADULT_PIGLIN_COUNT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • VISIBLE_ADULT_HOGLIN_COUNT

      public static final MemoryModuleType<Integer> VISIBLE_ADULT_HOGLIN_COUNT
      Mappings:
      Namespace Name Mixin selector
      official an Lbfg;an:Lbfg;
      intermediary field_22348 Lnet/minecraft/class_4140;field_22348:Lnet/minecraft/class_4140;
      named VISIBLE_ADULT_HOGLIN_COUNT Lnet/minecraft/entity/ai/brain/MemoryModuleType;VISIBLE_ADULT_HOGLIN_COUNT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_PLAYER_HOLDING_WANTED_ITEM

      public static final MemoryModuleType<PlayerEntity> NEAREST_PLAYER_HOLDING_WANTED_ITEM
      Mappings:
      Namespace Name Mixin selector
      official ao Lbfg;ao:Lbfg;
      intermediary field_22349 Lnet/minecraft/class_4140;field_22349:Lnet/minecraft/class_4140;
      named NEAREST_PLAYER_HOLDING_WANTED_ITEM Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_PLAYER_HOLDING_WANTED_ITEM:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • ATE_RECENTLY

      public static final MemoryModuleType<Boolean> ATE_RECENTLY
      Mappings:
      Namespace Name Mixin selector
      official ap Lbfg;ap:Lbfg;
      intermediary field_22350 Lnet/minecraft/class_4140;field_22350:Lnet/minecraft/class_4140;
      named ATE_RECENTLY Lnet/minecraft/entity/ai/brain/MemoryModuleType;ATE_RECENTLY:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • NEAREST_REPELLENT

      public static final MemoryModuleType<BlockPos> NEAREST_REPELLENT
      Mappings:
      Namespace Name Mixin selector
      official aq Lbfg;aq:Lbfg;
      intermediary field_22474 Lnet/minecraft/class_4140;field_22474:Lnet/minecraft/class_4140;
      named NEAREST_REPELLENT Lnet/minecraft/entity/ai/brain/MemoryModuleType;NEAREST_REPELLENT:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • PACIFIED

      public static final MemoryModuleType<Boolean> PACIFIED
      Mappings:
      Namespace Name Mixin selector
      official ar Lbfg;ar:Lbfg;
      intermediary field_22353 Lnet/minecraft/class_4140;field_22353:Lnet/minecraft/class_4140;
      named PACIFIED Lnet/minecraft/entity/ai/brain/MemoryModuleType;PACIFIED:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • codec

      private final Optional<com.mojang.serialization.Codec<Memory<U>>> codec
      Mappings:
      Namespace Name Mixin selector
      official as Lbfg;as:Ljava/util/Optional;
      intermediary field_24668 Lnet/minecraft/class_4140;field_24668:Ljava/util/Optional;
      named codec Lnet/minecraft/entity/ai/brain/MemoryModuleType;codec:Ljava/util/Optional;
  • Constructor Details

    • MemoryModuleType

      private MemoryModuleType(Optional<com.mojang.serialization.Codec<U>> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfg;<init>(Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_4140;<init>(Ljava/util/Optional;)V
      named <init> Lnet/minecraft/entity/ai/brain/MemoryModuleType;<init>(Ljava/util/Optional;)V
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCodec

      public Optional<com.mojang.serialization.Codec<Memory<U>>> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lbfg;a()Ljava/util/Optional;
      intermediary method_19093 Lnet/minecraft/class_4140;method_19093()Ljava/util/Optional;
      named getCodec Lnet/minecraft/entity/ai/brain/MemoryModuleType;getCodec()Ljava/util/Optional;
    • register

      private static <U> MemoryModuleType<U> register(String id, com.mojang.serialization.Codec<U> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfg;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lbfg;
      intermediary method_19092 Lnet/minecraft/class_4140;method_19092(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4140;
      named register Lnet/minecraft/entity/ai/brain/MemoryModuleType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • register

      private static <U> MemoryModuleType<U> register(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfg;a(Ljava/lang/String;)Lbfg;
      intermediary method_20738 Lnet/minecraft/class_4140;method_20738(Ljava/lang/String;)Lnet/minecraft/class_4140;
      named register Lnet/minecraft/entity/ai/brain/MemoryModuleType;register(Ljava/lang/String;)Lnet/minecraft/entity/ai/brain/MemoryModuleType;