public class MemoryModuleType<U> extends Object
Modifier | Constructor and Description |
---|---|
private |
MemoryModuleType(Optional<com.mojang.serialization.Codec<U>> codec) |
Modifier and Type | Method and Description |
---|---|
Optional<com.mojang.serialization.Codec<Memory<U>>> |
getCodec() |
private static <U> MemoryModuleType<U> |
register(String id) |
private static <U> MemoryModuleType<U> |
register(String id,
com.mojang.serialization.Codec<U> codec) |
String |
toString() |
public static final MemoryModuleType<Void> DUMMY
public static final MemoryModuleType<GlobalPos> HOME
public static final MemoryModuleType<GlobalPos> JOB_SITE
public static final MemoryModuleType<GlobalPos> POTENTIAL_JOB_SITE
public static final MemoryModuleType<GlobalPos> MEETING_POINT
public static final MemoryModuleType<List<GlobalPos>> SECONDARY_JOB_SITE
public static final MemoryModuleType<List<LivingEntity>> MOBS
public static final MemoryModuleType<List<LivingEntity>> VISIBLE_MOBS
public static final MemoryModuleType<List<LivingEntity>> VISIBLE_VILLAGER_BABIES
public static final MemoryModuleType<List<PlayerEntity>> NEAREST_PLAYERS
public static final MemoryModuleType<PlayerEntity> NEAREST_VISIBLE_PLAYER
public static final MemoryModuleType<PlayerEntity> NEAREST_VISIBLE_TARGETABLE_PLAYER
public static final MemoryModuleType<WalkTarget> WALK_TARGET
public static final MemoryModuleType<LookTarget> LOOK_TARGET
public static final MemoryModuleType<LivingEntity> ATTACK_TARGET
public static final MemoryModuleType<Boolean> ATTACK_COOLING_DOWN
public static final MemoryModuleType<LivingEntity> INTERACTION_TARGET
public static final MemoryModuleType<PassiveEntity> BREED_TARGET
public static final MemoryModuleType<Entity> RIDE_TARGET
public static final MemoryModuleType<Path> PATH
public static final MemoryModuleType<List<GlobalPos>> INTERACTABLE_DOORS
public static final MemoryModuleType<Set<GlobalPos>> DOORS_TO_CLOSE
public static final MemoryModuleType<BlockPos> NEAREST_BED
public static final MemoryModuleType<DamageSource> HURT_BY
public static final MemoryModuleType<LivingEntity> HURT_BY_ENTITY
public static final MemoryModuleType<LivingEntity> AVOID_TARGET
public static final MemoryModuleType<LivingEntity> NEAREST_HOSTILE
public static final MemoryModuleType<GlobalPos> HIDING_PLACE
public static final MemoryModuleType<Long> HEARD_BELL_TIME
public static final MemoryModuleType<Long> CANT_REACH_WALK_TARGET_SINCE
public static final MemoryModuleType<Boolean> GOLEM_DETECTED_RECENTLY
public static final MemoryModuleType<Long> LAST_SLEPT
public static final MemoryModuleType<Long> LAST_WOKEN
public static final MemoryModuleType<Long> LAST_WORKED_AT_POI
public static final MemoryModuleType<PassiveEntity> NEAREST_VISIBLE_ADULT
public static final MemoryModuleType<ItemEntity> NEAREST_VISIBLE_WANTED_ITEM
public static final MemoryModuleType<MobEntity> NEAREST_VISIBLE_NEMESIS
public static final MemoryModuleType<UUID> ANGRY_AT
public static final MemoryModuleType<Boolean> UNIVERSAL_ANGER
public static final MemoryModuleType<Boolean> ADMIRING_ITEM
public static final MemoryModuleType<Integer> TIME_TRYING_TO_REACH_ADMIRE_ITEM
public static final MemoryModuleType<Boolean> DISABLE_WALK_TO_ADMIRE_ITEM
public static final MemoryModuleType<Boolean> ADMIRING_DISABLED
public static final MemoryModuleType<Boolean> HUNTED_RECENTLY
public static final MemoryModuleType<BlockPos> CELEBRATE_LOCATION
public static final MemoryModuleType<Boolean> DANCING
public static final MemoryModuleType<HoglinEntity> NEAREST_VISIBLE_HUNTABLE_HOGLIN
public static final MemoryModuleType<HoglinEntity> NEAREST_VISIBLE_BABY_HOGLIN
public static final MemoryModuleType<PlayerEntity> NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD
public static final MemoryModuleType<List<AbstractPiglinEntity>> NEARBY_ADULT_PIGLINS
public static final MemoryModuleType<List<AbstractPiglinEntity>> NEAREST_VISIBLE_ADULT_PIGLINS
public static final MemoryModuleType<List<HoglinEntity>> NEAREST_VISIBLE_ADULT_HOGLINS
public static final MemoryModuleType<AbstractPiglinEntity> NEAREST_VISIBLE_ADULT_PIGLIN
public static final MemoryModuleType<LivingEntity> NEAREST_VISIBLE_ZOMBIFIED
public static final MemoryModuleType<Integer> VISIBLE_ADULT_PIGLIN_COUNT
public static final MemoryModuleType<Integer> VISIBLE_ADULT_HOGLIN_COUNT
public static final MemoryModuleType<PlayerEntity> NEAREST_PLAYER_HOLDING_WANTED_ITEM
public static final MemoryModuleType<Boolean> ATE_RECENTLY
public static final MemoryModuleType<BlockPos> NEAREST_REPELLENT
public static final MemoryModuleType<Boolean> PACIFIED
private static <U> MemoryModuleType<U> register(String id, com.mojang.serialization.Codec<U> codec)
private static <U> MemoryModuleType<U> register(String id)