Class MemoryModuleType<U>
java.lang.Object
net.minecraft.world.entity.ai.memory.MemoryModuleType<U>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryModuleType<Boolean> static final MemoryModuleType<Boolean> static final MemoryModuleType<UUID> static final MemoryModuleType<Boolean> static final MemoryModuleType<Boolean> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<AgeableMob> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<BlockPos> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Long> static final MemoryModuleType<BlockPos> private final Optional<com.mojang.serialization.Codec<ExpirableValue<U>>> static final MemoryModuleType<Boolean> static final MemoryModuleType<Boolean> static final MemoryModuleType<Unit> static final MemoryModuleType<Boolean> static final MemoryModuleType<BlockPos> static final MemoryModuleType<Set<GlobalPos>> static final MemoryModuleType<Void> static final MemoryModuleType<Integer> static final MemoryModuleType<Boolean> static final MemoryModuleType<Boolean> static final MemoryModuleType<Long> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<Boolean> static final MemoryModuleType<DamageSource> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<List<GlobalPos>> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Boolean> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Boolean> static final MemoryModuleType<Integer> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<Long> static final MemoryModuleType<Long> static final MemoryModuleType<Long> static final MemoryModuleType<Integer> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<UUID> static final MemoryModuleType<Integer> static final MemoryModuleType<Boolean> static final MemoryModuleType<PositionTracker> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<List<AbstractPiglin>> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<BlockPos> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<List<LivingEntity>> Holds a list of nearby living entities inside the brain entity's bounding box expanded 16 blocks in all directions.static final MemoryModuleType<Player> static final MemoryModuleType<List<Player>> static final MemoryModuleType<BlockPos> static final MemoryModuleType<Player> static final MemoryModuleType<AgeableMob> static final MemoryModuleType<List<Hoglin>> static final MemoryModuleType<AbstractPiglin> static final MemoryModuleType<List<AbstractPiglin>> static final MemoryModuleType<Player> static final MemoryModuleType<Hoglin> static final MemoryModuleType<Hoglin> static final MemoryModuleType<NearestVisibleLivingEntities> Holds a list of nearby living entities inside the brain entity's bounding box expanded 16 blocks in all directions which the brain entity can see.static final MemoryModuleType<Mob> static final MemoryModuleType<Player> static final MemoryModuleType<ItemEntity> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<Boolean> static final MemoryModuleType<Path> static final MemoryModuleType<Integer> static final MemoryModuleType<GlobalPos> static final MemoryModuleType<Integer> static final MemoryModuleType<Vec3> static final MemoryModuleType<Unit> static final MemoryModuleType<Entity> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<LivingEntity> static final MemoryModuleType<List<GlobalPos>> static final MemoryModuleType<Unit> static final MemoryModuleType<Boolean> static final MemoryModuleType<List<GlobalPos>> static final MemoryModuleType<Boolean> static final MemoryModuleType<BlockPos> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Unit> static final MemoryModuleType<Integer> static final MemoryModuleType<Player> static final MemoryModuleType<Integer> static final MemoryModuleType<Unit> static final MemoryModuleType<Boolean> static final MemoryModuleType<List<UUID>> static final MemoryModuleType<Unit> static final MemoryModuleType<Integer> static final MemoryModuleType<Integer> static final MemoryModuleType<List<LivingEntity>> static final MemoryModuleType<WalkTarget> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.mojang.serialization.Codec<ExpirableValue<U>>> getCodec()private static <U> MemoryModuleType<U> private static <U> MemoryModuleType<U> toString()
-
Field Details
-
DUMMY
-
HOME
-
JOB_SITE
-
POTENTIAL_JOB_SITE
-
MEETING_POINT
-
SECONDARY_JOB_SITE
-
NEAREST_LIVING_ENTITIES
Holds a list of nearby living entities inside the brain entity's bounding box expanded 16 blocks in all directions. -
NEAREST_VISIBLE_LIVING_ENTITIES
Holds a list of nearby living entities inside the brain entity's bounding box expanded 16 blocks in all directions which the brain entity can see. -
VISIBLE_VILLAGER_BABIES
-
NEAREST_PLAYERS
-
NEAREST_VISIBLE_PLAYER
-
NEAREST_VISIBLE_ATTACKABLE_PLAYER
-
WALK_TARGET
-
LOOK_TARGET
-
ATTACK_TARGET
-
ATTACK_COOLING_DOWN
-
INTERACTION_TARGET
-
BREED_TARGET
-
RIDE_TARGET
-
PATH
-
INTERACTABLE_DOORS
-
DOORS_TO_CLOSE
-
NEAREST_BED
-
HURT_BY
-
HURT_BY_ENTITY
-
AVOID_TARGET
-
NEAREST_HOSTILE
-
NEAREST_ATTACKABLE
-
HIDING_PLACE
-
HEARD_BELL_TIME
-
CANT_REACH_WALK_TARGET_SINCE
-
GOLEM_DETECTED_RECENTLY
-
DANGER_DETECTED_RECENTLY
-
LAST_SLEPT
-
LAST_WOKEN
-
LAST_WORKED_AT_POI
-
NEAREST_VISIBLE_ADULT
-
NEAREST_VISIBLE_WANTED_ITEM
-
NEAREST_VISIBLE_NEMESIS
-
PLAY_DEAD_TICKS
-
TEMPTING_PLAYER
-
TEMPTATION_COOLDOWN_TICKS
-
GAZE_COOLDOWN_TICKS
-
IS_TEMPTED
-
LONG_JUMP_COOLDOWN_TICKS
-
LONG_JUMP_MID_JUMP
-
HAS_HUNTING_COOLDOWN
-
RAM_COOLDOWN_TICKS
-
RAM_TARGET
-
IS_IN_WATER
-
IS_PREGNANT
-
IS_PANICKING
-
UNREACHABLE_TONGUE_TARGETS
-
ANGRY_AT
-
UNIVERSAL_ANGER
-
ADMIRING_ITEM
-
TIME_TRYING_TO_REACH_ADMIRE_ITEM
-
DISABLE_WALK_TO_ADMIRE_ITEM
-
ADMIRING_DISABLED
-
HUNTED_RECENTLY
-
CELEBRATE_LOCATION
-
DANCING
-
NEAREST_VISIBLE_HUNTABLE_HOGLIN
-
NEAREST_VISIBLE_BABY_HOGLIN
-
NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD
-
NEARBY_ADULT_PIGLINS
-
NEAREST_VISIBLE_ADULT_PIGLINS
-
NEAREST_VISIBLE_ADULT_HOGLINS
-
NEAREST_VISIBLE_ADULT_PIGLIN
-
NEAREST_VISIBLE_ZOMBIFIED
-
VISIBLE_ADULT_PIGLIN_COUNT
-
VISIBLE_ADULT_HOGLIN_COUNT
-
NEAREST_PLAYER_HOLDING_WANTED_ITEM
-
ATE_RECENTLY
-
NEAREST_REPELLENT
-
PACIFIED
-
ROAR_TARGET
-
DISTURBANCE_LOCATION
-
RECENT_PROJECTILE
-
IS_SNIFFING
-
IS_EMERGING
-
ROAR_SOUND_DELAY
-
DIG_COOLDOWN
-
ROAR_SOUND_COOLDOWN
-
SNIFF_COOLDOWN
-
TOUCH_COOLDOWN
-
VIBRATION_COOLDOWN
-
SONIC_BOOM_COOLDOWN
-
SONIC_BOOM_SOUND_COOLDOWN
-
SONIC_BOOM_SOUND_DELAY
-
LIKED_PLAYER
-
LIKED_NOTEBLOCK_POSITION
-
LIKED_NOTEBLOCK_COOLDOWN_TICKS
-
ITEM_PICKUP_COOLDOWN_TICKS
-
SNIFFER_EXPLORED_POSITIONS
-
SNIFFER_SNIFFING_TARGET
-
SNIFFER_DIGGING
-
SNIFFER_HAPPY
-
BREEZE_JUMP_COOLDOWN
-
BREEZE_SHOOT
-
BREEZE_SHOOT_CHARGING
-
BREEZE_SHOOT_RECOVERING
-
BREEZE_SHOOT_COOLDOWN
-
BREEZE_JUMP_INHALING
-
BREEZE_JUMP_TARGET
-
BREEZE_LEAVING_WATER
-
codec
-
-
Constructor Details
-
MemoryModuleType
-
-
Method Details
-
toString
-
getCodec
-
register
private static <U> MemoryModuleType<U> register(String identifier, com.mojang.serialization.Codec<U> codec) -
register
-