Package | Description |
---|---|
net.minecraft.entity.ai.brain | |
net.minecraft.entity.ai.brain.memory | |
net.minecraft.entity.ai.brain.task |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Activity,java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>>> |
Brain.requiredMemoryStates |
Modifier and Type | Method and Description |
---|---|
boolean |
Brain.hasMemory(MemoryModuleType<?> memoryTypeIn,
MemoryModuleStatus memoryStatusIn) |
Modifier and Type | Method and Description |
---|---|
void |
Brain.registerActivity(Activity activityIn,
com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>> p_218224_2_,
java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>> p_218224_3_) |
Modifier and Type | Method and Description |
---|---|
static MemoryModuleStatus |
MemoryModuleStatus.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryModuleStatus[] |
MemoryModuleStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> |
Task.requiredMemoryState |
Constructor and Description |
---|
FirstShuffledTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51502_1_,
java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51502_2_) |
MultiTask(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> p_i51503_1_,
java.util.Set<MemoryModuleType<?>> p_i51503_2_,
MultiTask.Ordering p_i51503_3_,
MultiTask.RunType p_i51503_4_,
java.util.List<com.mojang.datafixers.util.Pair<Task<? super E>,java.lang.Integer>> p_i51503_5_) |
Task(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> requiredMemoryStateIn) |
Task(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> requiredMemoryStateIn,
int duration) |
Task(java.util.Map<MemoryModuleType<?>,MemoryModuleStatus> requiredMemoryStateIn,
int durationMinIn,
int durationMaxIn) |