Uses of Class
net.minecraft.entity.ai.brain.Activity
Package
Description
-
Uses of Activity in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionprivate Activity
ScheduleBuilder.ActivityEntry.activity
static Activity
Activity.ADMIRE_ITEM
static Activity
Activity.AVOID
static Activity
Activity.CELEBRATE
static Activity
Activity.CORE
private Activity
Brain.defaultActivity
static Activity
Activity.FIGHT
static Activity
Activity.HIDE
static Activity
Activity.IDLE
static Activity
Activity.LONG_JUMP
static Activity
Activity.MEET
static Activity
Activity.PANIC
static Activity
Activity.PLAY
static Activity
Activity.PLAY_DEAD
static Activity
Activity.PRE_RAID
static Activity
Activity.RAID
static Activity
Activity.RAM
static Activity
Activity.REST
static Activity
Activity.RIDE
static Activity
Activity.WORK
Modifier and TypeFieldDescriptionBrain.coreActivities
private Map<Activity,Set<MemoryModuleType<?>>>
The map from activities to the memories to forget after the activity is completed.Brain.possibleActivities
private Map<Activity,Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleState>>>
Brain.requiredActivityMemories
private Map<Activity,ScheduleRule>
Schedule.scheduleRules
Brain.tasks
Modifier and TypeMethodDescriptionScheduleBuilder.ActivityEntry.getActivity()
Schedule.getActivityForTime(int time)
private static Activity
Modifier and TypeMethodDescriptionBrain.getFirstPossibleNonCoreActivity()
Brain.getPossibleActivities()
Deprecated.Modifier and TypeMethodDescriptionprotected void
Schedule.addActivity(Activity activity)
private boolean
Brain.canDoActivity(Activity activity)
void
Brain.doExclusively(Activity activity)
private void
Brain.forgetIrrelevantMemories(Activity except)
protected List<ScheduleRule>
Schedule.getOtherRules(Activity activity)
protected ScheduleRule
boolean
Brain.hasActivity(Activity activity)
private void
Brain.resetPossibleActivities(Activity except)
void
Brain.setDefaultActivity(Activity activity)
void
Brain.setTaskList(Activity activity, int begin, ImmutableList<? extends Task<? super E>> list)
void
Brain.setTaskList(Activity activity, int begin, ImmutableList<? extends Task<? super E>> tasks, MemoryModuleType<?> memoryType)
void
Brain.setTaskList(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,? extends Task<? super E>>> indexedTasks)
void
Brain.setTaskList(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleState>> requiredMemories)
void
Brain.setTaskList(Activity activity, 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)
ScheduleBuilder.withActivity(int startTime, Activity activity)
Modifier and TypeMethodDescriptionvoid
Brain.resetPossibleActivities(List<Activity> activities)
void
Brain.setCoreActivities(Set<Activity> coreActivities)
-
Uses of Activity in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprivate static SoundEvent
PiglinBrain.getSound(PiglinEntity piglin, Activity activity)
private static SoundEvent
HoglinBrain.getSoundEvent(HoglinEntity hoglin, Activity activity)
-
Uses of Activity in net.minecraft.util.registry
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
static RegistryKey<Registry<Activity>>
Registry.ACTIVITY_KEY