Uses of Class
net.minecraft.entity.ai.brain.schedule.Activity
Package
Description
-
Uses of Activity in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionBrain.activeActivities
private final Map<Activity,
Set<MemoryModuleType<?>>> private final Map<Activity,
Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>>> Brain.activityRequirements
Brain.coreActivities
Modifier and TypeMethodDescriptionprivate boolean
Brain.activityRequirementsAreMet
(Activity p_218217_1_) void
Brain.addActivity
(Activity p_233698_1_, int p_233698_2_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233698_3_) void
Brain.addActivity
(Activity p_218208_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_218208_2_) private void
Brain.addActivityAndRemoveMemoriesWhenStopped
(Activity p_233701_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_233701_2_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> p_233701_3_, Set<MemoryModuleType<?>> p_233701_4_) void
Brain.addActivityAndRemoveMemoryWhenStopped
(Activity p_233699_1_, int p_233699_2_, com.google.common.collect.ImmutableList<? extends Task<? super E>> p_233699_3_, MemoryModuleType<?> p_233699_4_) void
Brain.addActivityWithConditions
(Activity p_233700_1_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> p_233700_2_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleStatus>> p_233700_3_) private void
Brain.eraseMemoriesForOtherActivitesThan
(Activity p_233715_1_) boolean
private void
Brain.setActiveActivity
(Activity p_233713_1_) void
Brain.setActiveActivityIfPossible
(Activity p_218202_1_) void
Brain.setDefaultActivity
(Activity p_218200_1_) Modifier and TypeMethodDescriptionvoid
Brain.setActiveActivityToFirstValid
(List<Activity> p_233706_1_) void
Brain.setCoreActivities
(Set<Activity> p_218199_1_) -
Uses of Activity in net.minecraft.entity.ai.brain.schedule
Modifier and TypeFieldDescriptionprivate final Activity
ScheduleBuilder.ActivityEntry.activity
static final Activity
Activity.ADMIRE_ITEM
static final Activity
Activity.AVOID
static final Activity
Activity.CELEBRATE
static final Activity
Activity.CORE
static final Activity
Activity.FIGHT
static final Activity
Activity.HIDE
static final Activity
Activity.IDLE
static final Activity
Activity.MEET
static final Activity
Activity.PANIC
static final Activity
Activity.PLAY
static final Activity
Activity.PRE_RAID
static final Activity
Activity.RAID
static final Activity
Activity.REST
static final Activity
Activity.RIDE
static final Activity
Activity.WORK
Modifier and TypeMethodDescriptionScheduleBuilder.ActivityEntry.getActivity()
Schedule.getActivityAt
(int p_221377_1_) private static Activity
Modifier and TypeMethodDescriptionScheduleBuilder.changeActivityAt
(int p_221402_1_, Activity p_221402_2_) protected void
Schedule.ensureTimelineExistsFor
(Activity p_221379_1_) protected List<ScheduleDuties>
Schedule.getAllTimelinesExceptFor
(Activity p_221381_1_) protected ScheduleDuties
Schedule.getTimelineFor
(Activity p_221382_1_) -
Uses of Activity in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionprivate static SoundEvent
HoglinTasks.getSoundForActivity
(HoglinEntity p_241413_0_, Activity p_241413_1_) -
Uses of Activity in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static SoundEvent
PiglinTasks.getSoundForActivity
(PiglinEntity p_241422_0_, Activity p_241422_1_) -
Uses of Activity in net.minecraft.util.registry
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
Deprecated.static final RegistryKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
-
Uses of Activity in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static final RegistryKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES