Package | Description |
---|---|
net.minecraft.entity.ai.brain | |
net.minecraft.entity.ai.brain.schedule | |
net.minecraft.util.registry | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
private Activity |
Brain.fallbackActivity |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Activity> |
Brain.activities |
private java.util.Set<Activity> |
Brain.defaultActivities |
private java.util.Map<java.lang.Integer,java.util.Map<Activity,java.util.Set<Task<? super E>>>> |
Brain.field_218232_c |
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.hasActivity(Activity activityIn) |
private boolean |
Brain.hasRequiredMemories(Activity activityIn) |
void |
Brain.registerActivity(Activity activityIn,
com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<java.lang.Integer,? extends Task<? super E>>> p_218208_2_) |
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_) |
void |
Brain.setFallbackActivity(Activity newFallbackActivity) |
void |
Brain.switchTo(Activity activityIn) |
Modifier and Type | Method and Description |
---|---|
void |
Brain.setDefaultActivities(java.util.Set<Activity> newActivities) |
Modifier and Type | Field and Description |
---|---|
private Activity |
ScheduleBuilder.ActivityEntry.activity |
static Activity |
Activity.CORE |
static Activity |
Activity.HIDE |
static Activity |
Activity.IDLE |
static Activity |
Activity.MEET |
static Activity |
Activity.PANIC |
static Activity |
Activity.PLAY |
static Activity |
Activity.PRE_RAID |
static Activity |
Activity.RAID |
static Activity |
Activity.REST |
static Activity |
Activity.WORK |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Activity,ScheduleDuties> |
Schedule.field_221387_e |
Modifier and Type | Method and Description |
---|---|
Activity |
ScheduleBuilder.ActivityEntry.getActivity() |
Activity |
Schedule.getScheduledActivity(int dayTime) |
private static Activity |
Activity.register(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
ScheduleBuilder |
ScheduleBuilder.add(int duration,
Activity activityIn) |
protected void |
Schedule.createDutiesFor(Activity activityIn) |
protected java.util.List<ScheduleDuties> |
Schedule.getAllDutiesExcept(Activity activityIn) |
protected ScheduleDuties |
Schedule.getDutiesFor(Activity activityIn) |
Constructor and Description |
---|
ActivityEntry(int durationIn,
Activity activityIn) |
Modifier and Type | Field and Description |
---|---|
static Registry<Activity> |
Registry.ACTIVITY
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Activity> |
ForgeRegistries.ACTIVITIES |