public static <E extends LivingEntity> Brain$Provider<E> | |
public static <E extends LivingEntity> com.mojang.serialization.Codec<Brain<E>> | |
public <T> com.mojang.serialization.DataResult<T> | | a(com.mojang.serialization.DynamicOps<T> arg0) | | serializeStart(com.mojang.serialization.DynamicOps<T> arg0) | | method_28310(com.mojang.serialization.DynamicOps<T> arg0) | | encode(com.mojang.serialization.DynamicOps<T> ops) | | m_21914_(com.mojang.serialization.DynamicOps<T> arg0) |
|
Stream<Brain$MemoryValue<?>> | | i() | | memories() | | method_28315() | | streamMemories() | | m_21975_() |
|
public boolean | |
public <U> void | |
public <U> void | |
public <U> void | | a(bjx<U> arg0, U arg1, long arg2) | | setMemoryWithExpiry(MemoryModuleType<U> arg0, U arg1, long arg2) | | method_24525(class_4140<U> arg0, U arg1, long arg2) | | remember(MemoryModuleType<U> type, U value, long startTime) | | m_21882_(C_753_<U> p_21884_, U p_21885_, long arg2) |
|
public <U> void | |
<U> void | |
public <U> Optional<U> | |
public <U> long | |
public Map<MemoryModuleType<?>, Optional<? extends ExpirableValue<?>>> | | a() | | getMemories() | | method_35058() | | getMemories() | | m_147339_() |
|
public <U> boolean | |
public boolean | |
public Schedule | | b() | | getSchedule() | | method_18894() | | getSchedule() | | m_21932_() |
|
public void | |
public void | |
public Set<Activity> | | c() | | getActiveActivities() | | method_35059() | | getPossibleActivities() | | m_147340_() |
|
public List<Behavior<? super E>> | | d() | | getRunningBehaviors() | | method_27074() | | getRunningTasks() | | m_21956_() |
|
public void | | e() | | useDefaultActivity() | | method_24536() | | resetPossibleActivities() | | m_21962_() |
|
public Optional<Activity> | | f() | | getActiveNonCoreActivity() | | method_24538() | | getFirstPossibleNonCoreActivity() | | m_21968_() |
|
public void | |
private void | |
private void | |
public void | | a(long arg0, long arg1) | | updateActivityFromSchedule(long arg0, long arg1) | | method_18871(long arg0, long arg1) | | refreshActivities(long timeOfDay, long time) | | m_21862_(long p_21864_, long arg1) |
|
public void | |
public void | |
public void | | a(buq arg0, int arg1, com.google.common.collect.ImmutableList<? extends bcr<? super E>> arg2) | | addActivity(Activity arg0, int arg1, com.google.common.collect.ImmutableList<? extends Behavior<? super E>> arg2) | | method_18882(class_4168 arg0, int arg1, com.google.common.collect.ImmutableList<? extends class_4097<? super E>> arg2) | | setTaskList(Activity activity, int begin, com.google.common.collect.ImmutableList<? extends Task<? super E>> list) | | m_21891_(C_1195_ p_21893_, int p_21894_, com.google.common.collect.ImmutableList<? extends C_569_<? super E>> arg2) |
|
public void | | a(buq arg0, int arg1, com.google.common.collect.ImmutableList<? extends bcr<? super E>> arg2, bjx<?> arg3) | | addActivityAndRemoveMemoryWhenStopped(Activity arg0, int arg1, com.google.common.collect.ImmutableList<? extends Behavior<? super E>> arg2, MemoryModuleType<?> arg3) | | method_24527(class_4168 arg0, int arg1, com.google.common.collect.ImmutableList<? extends class_4097<? super E>> arg2, class_4140<?> arg3) | | setTaskList(Activity activity, int begin, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks, MemoryModuleType<?> memoryType) | | m_21895_(C_1195_ p_21897_, int p_21898_, com.google.common.collect.ImmutableList<? extends C_569_<? super E>> p_21899_, C_753_<?> arg3) |
|
public void | | a(buq arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends bcr<? super E>>> arg1) | | addActivity(Activity arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Behavior<? super E>>> arg1) | | method_18881(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_4097<? super E>>> arg1) | | setTaskList(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks) | | m_21900_(C_1195_ p_21902_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends C_569_<? super E>>> arg1) |
|
public void | | a(buq arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends bcr<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<bjx<?>, bjy>> arg2) | | addActivityWithConditions(Activity arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Behavior<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> arg2) | | method_24529(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_4097<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<class_4140<?>, class_4141>> arg2) | | setTaskList(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories) | | m_21903_(C_1195_ p_21905_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends C_569_<? super E>>> p_21906_, Set<com.mojang.datafixers.util.Pair<C_753_<?>, C_754_>> arg2) |
|
public void | | a(buq arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends bcr<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<bjx<?>, bjy>> arg2, Set<bjx<?>> arg3) | | addActivityAndRemoveMemoriesWhenStopped(Activity arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Behavior<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> arg2, Set<MemoryModuleType<?>> arg3) | | method_24530(class_4168 arg0, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends class_4097<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<class_4140<?>, class_4141>> arg2, Set<class_4140<?>> arg3) | | setTaskList(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories, Set<MemoryModuleType<?>> forgettingMemories) | | m_21907_(C_1195_ p_21909_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends C_569_<? super E>>> p_21910_, Set<com.mojang.datafixers.util.Pair<C_753_<?>, C_754_>> p_21911_, Set<C_753_<?>> arg3) |
|
public void | | g() | | removeAllBehaviors() | | method_35060() | | clear() | | m_147343_() |
|
public boolean | |
public Brain<E> | | h() | | copyWithoutBehaviors() | | method_18911() | | copy() | | m_21973_() |
|
public void | |
private void | |
private void | | j() | | forgetOutdatedMemories() | | method_27075() | | tickMemories() | | m_21976_() |
|
public void | |
private void | |
private void | |
private boolean | |
private boolean | |
com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Behavior<? super E>>> | | a(int arg0, com.google.common.collect.ImmutableList<? extends bcr<? super E>> arg1) | | createPriorityPairs(int arg0, com.google.common.collect.ImmutableList<? extends Behavior<? super E>> arg1) | | method_24524(int arg0, com.google.common.collect.ImmutableList<? extends class_4097<? super E>> arg1) | | indexTaskList(int begin, com.google.common.collect.ImmutableList<? extends Task<? super E>> tasks) | | m_21859_(int p_21861_, com.google.common.collect.ImmutableList<? extends C_569_<? super E>> arg1) |
|