Uses of Class
net.minecraft.world.entity.schedule.Activity
Package
Description
-
Uses of Activity in net.minecraft.core
Modifier and TypeFieldDescriptionRegistry.ACTIVITY
Deprecated.static ResourceKey<Registry<Activity>>
Registry.ACTIVITY_REGISTRY
-
Uses of Activity in net.minecraft.world.entity.ai
Modifier and TypeFieldDescriptionBrain.activeActivities
private Map<Activity,Set<MemoryModuleType<?>>>
private 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 Behavior<? super E>> p_21894_)
void
Brain.addActivity(Activity p_21901_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? super E>>> p_21902_)
void
Brain.addActivityAndRemoveMemoriesWhenStopped(Activity p_21908_, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,? extends Behavior<? 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 Behavior<? 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 Behavior<? 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 Activity
ScheduleBuilder.ActivityTransition.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.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 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 IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static ResourceKey<Registry<Activity>>
ForgeRegistries.Keys.ACTIVITIES