net.minecraft.server.v1_14_R1

public class BehaviorController<E extends EntityLiving>

implements MinecraftSerializable

ajj
net.minecraft.class_4095
net.minecraft.entity.ai.brain.Brain
net.minecraft.entity.ai.brain.Brain
net.minecraft.server.v1_14_R1.BehaviorController

Field summary

Modifier and TypeField
private final Map<MemoryModuleType<?>, Optional<?>>
a
field_18322
memories
field_218230_a
memories
private final Map<SensorType<? extends Sensor<? super E>>, Sensor<? super E>>
b
field_18323
sensors
field_218231_b
sensors
private final Map<Integer, Map<Activity, Set<Behavior<? super E>>>>
c
field_18324
tasks
field_218232_c
private Schedule
d
field_18325
schedule
field_218233_d
schedule
private final Map<Activity, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>>>
e
field_18326
requiredActivityMemories
field_218234_e
private Set<Activity>
f
field_18327
coreActivities
field_218235_f
private final Set<Activity>
g
field_18328
possibleActivities
field_218236_g
private Activity
h
field_18329
defaultActivity
field_218237_h
private long
i
field_18853
activityStartTime
field_218238_i

Constructor summary

ModifierConstructor
public <T>(Collection<MemoryModuleType<?>> arg0, Collection<SensorType<? extends Sensor<? super E>>> arg1, com.mojang.datafixers.Dynamic<T> arg2)

Method summary

Modifier and TypeMethod
public boolean
a(ape<?> arg0)
method_18896(class_4140<?> arg0)
hasMemoryModule(MemoryModuleType<?> arg0)
func_218191_a(MemoryModuleType<?> arg0)
hasMemory(MemoryModuleType<?> arg0)
private <T, U> void
a(ape<U> arg0, com.mojang.datafixers.Dynamic<T> arg1)
method_18877(class_4140<U> arg0, com.mojang.datafixers.Dynamic<T> arg1)
readMemory(MemoryModuleType<U> arg0, com.mojang.datafixers.Dynamic<T> arg1)
func_218216_a(MemoryModuleType<U> arg0, com.mojang.datafixers.Dynamic<T> arg1)
public <U> void
b(ape<U> arg0)
method_18875(class_4140<U> arg0)
forget(MemoryModuleType<U> arg0)
func_218189_b(MemoryModuleType<U> arg0)
removeMemory(MemoryModuleType<U> arg0)
public <U> void
a(ape<U> arg0, U arg1)
method_18878(class_4140<U> arg0, U arg1)
putMemory(MemoryModuleType<U> arg0, U arg1)
func_218205_a(MemoryModuleType<U> arg0, U arg1)
setMemory(MemoryModuleType<U> arg0, U arg1)
public <U> void
a(ape<U> arg0, Optional<U> arg1)
method_18879(class_4140<U> arg0, Optional<U> arg1)
setMemory(MemoryModuleType<U> arg0, Optional<U> arg1)
func_218226_a(MemoryModuleType<U> arg0, Optional<U> arg1)
setMemory(MemoryModuleType<U> arg0, Optional<U> arg1)
public <U> Optional<U>
c(ape<U> arg0)
method_18904(class_4140<U> arg0)
getOptionalMemory(MemoryModuleType<U> arg0)
func_218207_c(MemoryModuleType<U> arg0)
getMemory(MemoryModuleType<U> arg0)
public boolean
a(ape<?> arg0, apf arg1)
method_18876(class_4140<?> arg0, class_4141 arg1)
isMemoryInState(MemoryModuleType<?> arg0, MemoryModuleState arg1)
func_218196_a(MemoryModuleType<?> arg0, MemoryModuleStatus arg1)
public Schedule
b()
method_18894()
getSchedule()
func_218198_b()
getSchedule()
public void
a(axl arg0)
method_18884(class_4170 arg0)
setSchedule(Schedule arg0)
func_218203_a(Schedule arg0)
setSchedule(Schedule arg0)
public void
a(Set<axj> arg0)
method_18890(Set<class_4168> arg0)
setCoreActivities(Set<Activity> arg0)
func_218199_a(Set<Activity> arg0)
public Stream<Behavior<? super E>>
d()
method_18899()
streamRunningTasks()
func_218193_d()
public void
a(axj arg0)
method_18880(class_4168 arg0)
resetPossibleActivities(Activity arg0)
func_218202_a(Activity arg0)
public void
a(long arg0, long arg1)
method_18871(long arg0, long arg1)
refreshActivities(long arg0, long arg1)
func_218211_a(long arg0, long arg1)
public void
b(axj arg0)
method_18897(class_4168 arg0)
setDefaultActivity(Activity arg0)
func_218200_b(Activity arg0)
public void
a(axj arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends ajv<? super E>>> arg1)
method_18881(class_4168 arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends class_4097<? super E>>> arg1)
setTaskList(Activity arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> arg1)
func_218208_a(Activity arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> arg1)
public void
a(axj arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends ajv<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<ape<?>, apf>> arg2)
method_18882(class_4168 arg0, com.google.common.collect.ImmutableList<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 arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> arg2)
func_218224_a(Activity arg0, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> arg1, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> arg2)
public boolean
c(axj arg0)
method_18906(class_4168 arg0)
hasActivity(Activity arg0)
func_218214_c(Activity arg0)
public BehaviorController<E>
f()
method_18911()
copy()
func_218185_f()
public void
a(vi arg0, E arg1)
method_19542(class_3218 arg0, E arg1)
tick(ServerWorld arg0, E arg1)
func_218210_a(ServerWorld arg0, E arg1)
public void
b(vi arg0, E arg1)
method_18900(class_3218 arg0, E arg1)
stopAllTasks(ServerWorld arg0, E arg1)
func_218227_b(ServerWorld arg0, E arg1)
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_19508(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_218175_a(com.mojang.datafixers.types.DynamicOps<T> arg0)
private void
c(vi arg0, E arg1)
method_19544(class_3218 arg0, E arg1)
updateSensors(ServerWorld arg0, E arg1)
func_218229_c(ServerWorld arg0, E arg1)
private void
d(vi arg0, E arg1)
method_18891(class_3218 arg0, E arg1)
startTasks(ServerWorld arg0, E arg1)
func_218218_d(ServerWorld arg0, E arg1)
private void
e(vi arg0, E arg1)
method_19545(class_3218 arg0, E arg1)
updateTasks(ServerWorld arg0, E arg1)
func_218222_e(ServerWorld arg0, E arg1)
private boolean
d(axj arg0)
method_18874(class_4168 arg0)
canDoActivity(Activity arg0)
func_218217_d(Activity arg0)
private boolean
a(Object arg0)
method_19948(Object arg0)
isEmptyCollection(Object arg0)
func_218213_a(Object arg0)