Uses of Class
net.minecraft.world.entity.ai.behavior.Behavior
Package
Description
-
Uses of Behavior in net.minecraft.world.entity.ai
Modifier and TypeFieldDescriptionModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super E>>> Brain.createPriorityPairs
(int p_21860_, com.google.common.collect.ImmutableList<? extends Behavior<? super E>> p_21861_) Brain.getRunningBehaviors()
Deprecated.Modifier and TypeMethodDescriptionvoid
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_) (package private) com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super E>>> Brain.createPriorityPairs
(int p_21860_, com.google.common.collect.ImmutableList<? extends Behavior<? super E>> p_21861_) -
Uses of Behavior in net.minecraft.world.entity.ai.behavior
Modifier and TypeClassDescriptionclass
class
class
class
class
BabyFollowAdult<E extends AgeableMob>
class
BackUpIfTooClose<E extends Mob>
class
class
class
CopyMemoryWithExpiry<E extends Mob,
T> class
class
class
CrossbowAttack<E extends Mob & CrossbowAttackMob,
T extends LivingEntity> class
DismountOrSkipMounting<E extends LivingEntity,
T extends Entity> class
class
EraseMemoryIf<E extends LivingEntity>
class
class
class
GateBehavior<E extends LivingEntity>
class
class
GoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>
class
class
class
class
GoToTargetLocation<E extends Mob>
class
GoToWantedItem<E extends LivingEntity>
class
class
class
InteractWith<E extends LivingEntity,
T extends LivingEntity> class
class
class
class
class
class
LongJumpToPreferredBlock<E extends Mob>
class
LongJumpToRandomPos<E extends Mob>
class
class
class
class
Mount<E extends LivingEntity>
class
class
class
class
class
PrepareRamNearestTarget<E extends PathfinderMob>
class
class
class
class
class
class
class
class
RunIf<E extends LivingEntity>
class
RunOne<E extends LivingEntity>
class
RunSometimes<E extends LivingEntity>
class
class
class
class
class
class
class
class
class
class
class
class
class
StartAttacking<E extends Mob>
class
class
StayCloseToTarget<E extends LivingEntity>
class
StopAttackingIfTargetInvalid<E extends Mob>
class
StopBeingAngryIfTargetDead<E extends Mob>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final ShufflingList<Behavior<? super E>>
GateBehavior.behaviors
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getCorePackage
(VillagerProfession p_24586_, float p_24587_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getHidePackage
(VillagerProfession p_24611_, float p_24612_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getIdlePackage
(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getMeetPackage
(VillagerProfession p_24596_, float p_24597_) private static com.mojang.datafixers.util.Pair<Integer,
Behavior<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()
static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getPanicPackage
(VillagerProfession p_24602_, float p_24603_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getPlayPackage
(float p_24584_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getPreRaidPackage
(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getRaidPackage
(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getRestPackage
(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Behavior<? super Villager>>> VillagerGoalPackages.getWorkPackage
(VillagerProfession p_24590_, float p_24591_) Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<Behavior<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_) ModifierConstructorDescriptionRunIf
(Map<MemoryModuleType<?>, MemoryStatus> p_23799_, Predicate<E> p_23800_, Behavior<? super E> p_23801_, boolean p_23802_) RunIf
(Map<MemoryModuleType<?>, MemoryStatus> p_147865_, Behavior<? super E> p_147866_) RunSometimes
(Behavior<? super E> p_147877_, boolean p_147878_, UniformInt p_147879_) RunSometimes
(Behavior<? super E> p_147874_, UniformInt p_147875_) ModifierConstructorDescriptionGateBehavior
(Map<MemoryModuleType<?>, MemoryStatus> p_22873_, Set<MemoryModuleType<?>> p_22874_, GateBehavior.OrderPolicy p_22875_, GateBehavior.RunningPolicy p_22876_, List<com.mojang.datafixers.util.Pair<Behavior<? super E>, Integer>> p_22877_) RunOne
(Map<MemoryModuleType<?>, MemoryStatus> p_23834_, List<com.mojang.datafixers.util.Pair<Behavior<? super E>, Integer>> p_23835_) -
Uses of Behavior in net.minecraft.world.entity.ai.behavior.warden
Modifier and TypeClassDescriptionclass
class
class
class
class
SetRoarTarget<E extends Warden>
class
class
class
class
-
Uses of Behavior in net.minecraft.world.entity.animal.axolotl
-
Uses of Behavior in net.minecraft.world.entity.animal.frog
-
Uses of Behavior in net.minecraft.world.entity.monster.piglin
Modifier and TypeClassDescriptionclass
RememberIfHoglinWasKilled<E extends Piglin>
class
StartAdmiringItemIfSeen<E extends Piglin>
class
StartHuntingHoglin<E extends Piglin>
class
StopAdmiringIfItemTooFarAway<E extends Piglin>
class
StopAdmiringIfTiredOfTryingToReachItem<E extends Piglin>
class
StopHoldingItemIfNoLongerAdmiring<E extends Piglin>
-
Uses of Behavior in net.minecraft.world.entity.monster.warden