Uses of Class
net.minecraft.world.entity.schedule.Activity
Package
Description
-
Uses of Activity in net.minecraft.core.registries
-
Uses of Activity in net.minecraft.world.entity.ai
Modifier and TypeFieldDescriptionBrain.activeActivities
private final Map<Activity,
Set<MemoryModuleType<?>>> private final Map<Activity,
Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>>> Brain.activityRequirements
Brain.coreActivities
Modifier and TypeMethodDescriptionBrain.getActiveActivities()
Deprecated.Brain.getActiveNonCoreActivity()
Modifier and TypeMethodDescriptionprivate boolean
Brain.activityRequirementsAreMet
(Activity p_21970_) void
Brain.addActivity
(Activity p_21892_, int p_21893_, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> p_21894_) void
Brain.addActivity
(Activity p_21901_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> p_21902_) void
Brain.addActivityAndRemoveMemoriesWhenStopped
(Activity p_21908_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> p_21909_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> p_21910_, Set<MemoryModuleType<?>> p_21911_) void
Brain.addActivityAndRemoveMemoryWhenStopped
(Activity p_21896_, int p_21897_, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> p_21898_, MemoryModuleType<?> p_21899_) void
Brain.addActivityWithConditions
(Activity p_21904_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> p_21905_, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> p_21906_) private void
Brain.eraseMemoriesForOtherActivitesThan
(Activity p_21967_) boolean
private void
Brain.setActiveActivity
(Activity p_21961_) void
Brain.setActiveActivityIfPossible
(Activity p_21890_) void
Brain.setDefaultActivity
(Activity p_21945_) Modifier and TypeMethodDescriptionvoid
Brain.setActiveActivityToFirstValid
(List<Activity> p_21927_) void
Brain.setCoreActivities
(Set<Activity> p_21931_) -
Uses of Activity in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionprivate static SoundEvent
HoglinAi.getSoundForActivity
(Hoglin p_34583_, Activity p_34584_) -
Uses of Activity in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static SoundEvent
PiglinAi.getSoundForActivity
(Piglin p_34855_, Activity p_34856_) -
Uses of Activity in net.minecraft.world.entity.schedule
Modifier and TypeFieldDescriptionprivate final Activity
ScheduleBuilder.ActivityTransition.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.DIG
static final Activity
Activity.EMERGE
static final Activity
Activity.FIGHT
static final Activity
Activity.HIDE
static final Activity
Activity.IDLE
static final Activity
Activity.INVESTIGATE
static final Activity
Activity.LAY_SPAWN
static final Activity
Activity.LONG_JUMP
static final Activity
Activity.MEET
static final Activity
Activity.PANIC
static final Activity
Activity.PLAY
static final Activity
Activity.PLAY_DEAD
static final Activity
Activity.PRE_RAID
static final Activity
Activity.RAID
static final Activity
Activity.RAM
static final Activity
Activity.REST
static final Activity
Activity.RIDE
static final Activity
Activity.ROAR
static final Activity
Activity.SNIFF
static final Activity
Activity.SWIM
static final Activity
Activity.TONGUE
static final Activity
Activity.WORK
Modifier and TypeMethodDescriptionScheduleBuilder.ActivityTransition.getActivity()
Schedule.getActivityAt
(int p_38020_) private static Activity
Modifier and TypeMethodDescriptionScheduleBuilder.changeActivityAt
(int p_38041_, Activity p_38042_) protected void
Schedule.ensureTimelineExistsFor
(Activity p_38025_) Schedule.getAllTimelinesExceptFor
(Activity p_38034_) protected Timeline
Schedule.getTimelineFor
(Activity p_38032_) -
Uses of Activity in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static final ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES
ForgeRegistries.ACTIVITIES
instead.