Uses of Class
net.minecraft.entity.ai.brain.schedule.Activity
-
-
Uses of Activity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain declared as Activity Modifier and Type Field Description private Activity
Brain. defaultActivity
Fields in net.minecraft.entity.ai.brain with type parameters of type Activity Modifier and Type Field Description private java.util.Set<Activity>
Brain. activeActivities
private java.util.Map<Activity,java.util.Set<MemoryModuleType<?>>>
Brain. activityMemoriesToEraseWhenStopped
private java.util.Map<Activity,java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>>>
Brain. activityRequirements
private java.util.Map<java.lang.Integer,java.util.Map<Activity,java.util.Set<Task<? super E>>>>
Brain. availableBehaviorsByPriority
private java.util.Set<Activity>
Brain. coreActivities
Methods in net.minecraft.entity.ai.brain that return types with arguments of type Activity Modifier and Type Method Description java.util.Optional<Activity>
Brain. getActiveNonCoreActivity()
Methods in net.minecraft.entity.ai.brain with parameters of type Activity Modifier and Type Method Description private 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<java.lang.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<java.lang.Integer,? extends Task<? super E>>> p_233701_2_, java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>> p_233701_3_, java.util.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<java.lang.Integer,? extends Task<? super E>>> p_233700_2_, java.util.Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>,MemoryModuleStatus>> p_233700_3_)
private void
Brain. eraseMemoriesForOtherActivitesThan(Activity p_233715_1_)
boolean
Brain. isActive(Activity p_218214_1_)
private void
Brain. setActiveActivity(Activity p_233713_1_)
void
Brain. setActiveActivityIfPossible(Activity p_218202_1_)
void
Brain. setDefaultActivity(Activity p_218200_1_)
Method parameters in net.minecraft.entity.ai.brain with type arguments of type Activity Modifier and Type Method Description void
Brain. setActiveActivityToFirstValid(java.util.List<Activity> p_233706_1_)
void
Brain. setCoreActivities(java.util.Set<Activity> p_218199_1_)
-
Uses of Activity in net.minecraft.entity.ai.brain.schedule
Fields in net.minecraft.entity.ai.brain.schedule declared as Activity Modifier and Type Field Description private Activity
ScheduleBuilder.ActivityEntry. activity
static Activity
Activity. ADMIRE_ITEM
static Activity
Activity. AVOID
static Activity
Activity. CELEBRATE
static Activity
Activity. CORE
static Activity
Activity. FIGHT
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. RIDE
static Activity
Activity. WORK
Fields in net.minecraft.entity.ai.brain.schedule with type parameters of type Activity Modifier and Type Field Description private java.util.Map<Activity,ScheduleDuties>
Schedule. timelines
Methods in net.minecraft.entity.ai.brain.schedule that return Activity Modifier and Type Method Description Activity
ScheduleBuilder.ActivityEntry. getActivity()
Activity
Schedule. getActivityAt(int p_221377_1_)
private static Activity
Activity. register(java.lang.String p_221363_0_)
Methods in net.minecraft.entity.ai.brain.schedule with parameters of type Activity Modifier and Type Method Description ScheduleBuilder
ScheduleBuilder. changeActivityAt(int p_221402_1_, Activity p_221402_2_)
protected void
Schedule. ensureTimelineExistsFor(Activity p_221379_1_)
protected java.util.List<ScheduleDuties>
Schedule. getAllTimelinesExceptFor(Activity p_221381_1_)
protected ScheduleDuties
Schedule. getTimelineFor(Activity p_221382_1_)
Constructors in net.minecraft.entity.ai.brain.schedule with parameters of type Activity Constructor Description ActivityEntry(int p_i51309_1_, Activity p_i51309_2_)
-
Uses of Activity in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type Activity Modifier and Type Method Description private static SoundEvent
HoglinTasks. getSoundForActivity(HoglinEntity p_241413_0_, Activity p_241413_1_)
-
Uses of Activity in net.minecraft.entity.monster.piglin
Methods in net.minecraft.entity.monster.piglin with parameters of type Activity Modifier and Type Method Description private static SoundEvent
PiglinTasks. getSoundForActivity(PiglinEntity p_241422_0_, Activity p_241422_1_)
-
Uses of Activity in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Activity Modifier and Type Field Description static Registry<Activity>
Registry. ACTIVITY
Deprecated.static RegistryKey<Registry<Activity>>
Registry. ACTIVITY_REGISTRY
-
Uses of Activity in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type Activity Modifier and Type Field Description static IForgeRegistry<Activity>
ForgeRegistries. ACTIVITIES
static RegistryKey<Registry<Activity>>
ForgeRegistries.Keys. ACTIVITIES
-