Uses of Interface
net.minecraft.world.entity.ai.behavior.BehaviorControl
Packages that use BehaviorControl
Package
Description
-
Uses of BehaviorControl in net.minecraft.world.entity.ai
Fields in net.minecraft.world.entity.ai with type parameters of type BehaviorControlModifier and TypeFieldDescriptionMethods in net.minecraft.world.entity.ai that return types with arguments of type BehaviorControlModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableList
<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> Brain.createPriorityPairs
(int priorityStart, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> tasks) List
<BehaviorControl<? super E>> Brain.getRunningBehaviors()
Deprecated.Method parameters in net.minecraft.world.entity.ai with type arguments of type BehaviorControlModifier and TypeMethodDescriptionvoid
Brain.addActivity
(Activity activity, int priorityStart, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> tasks) void
Brain.addActivity
(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> tasks) void
Brain.addActivityAndRemoveMemoriesWhenStopped
(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> tasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> memorieStatuses, Set<MemoryModuleType<?>> memoryTypes) void
Brain.addActivityAndRemoveMemoryWhenStopped
(Activity activity, int priorityStart, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> tasks, MemoryModuleType<?> memoryType) void
Brain.addActivityWithConditions
(Activity activity, com.google.common.collect.ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> tasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> memoryStatuses) (package private) com.google.common.collect.ImmutableList
<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> Brain.createPriorityPairs
(int priorityStart, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> tasks) -
Uses of BehaviorControl in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior that implement BehaviorControlModifier and TypeClassDescriptionclass
class
AnimalPanic<E extends PathfinderMob>
class
Behavior<E extends LivingEntity>
class
class
class
class
CrossbowAttack<E extends Mob & CrossbowAttackMob,
T extends LivingEntity> class
class
class
GateBehavior<E extends LivingEntity>
class
class
GoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>
class
class
class
class
class
LongJumpToPreferredBlock<E extends Mob>
class
LongJumpToRandomPos<E extends Mob>
class
class
class
class
OneShot<E extends LivingEntity>
class
PrepareRamNearestTarget<E extends PathfinderMob>
class
class
class
RunOne<E extends LivingEntity>
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type BehaviorControlModifier and TypeFieldDescriptionprivate final ShufflingList
<BehaviorControl<? super E>> GateBehavior.behaviors
Methods in net.minecraft.world.entity.ai.behavior that return BehaviorControlModifier and TypeMethodDescriptionstatic BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> existingAbsentMemory, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) static BehaviorControl
<Villager> AssignProfessionFromJobSite.create()
static BehaviorControl
<LivingEntity> BecomePassiveIfMemoryPresent.create
(MemoryModuleType<?> pacifyingMemory, int pacifyDuration) static <E extends LivingEntity,
T>
BehaviorControl<E> CopyMemoryWithExpiry.create
(Predicate<E> canCopyMemory, MemoryModuleType<? extends T> sourceMemory, MemoryModuleType<T> targetMemory, UniformInt durationOfCopy) static <E extends LivingEntity>
BehaviorControl<E> DismountOrSkipMounting.create
(int maxDistanceFromVehicle, BiPredicate<E, Entity> shouldStopRiding) static <E extends LivingEntity>
BehaviorControl<E> EraseMemoryIf.create
(Predicate<E> shouldEraseMemory, MemoryModuleType<?> erasingMemory) static BehaviorControl
<Villager> GoToClosestVillage.create
(float speedModifier, int closeEnoughDist) static BehaviorControl
<LivingEntity> GoToWantedItem.create
(float speedModifier, boolean hasTarget, int maxDistToWalk) static <E extends LivingEntity>
BehaviorControl<E> GoToWantedItem.create
(Predicate<E> canWalkToItem, float speedModifier, boolean hasTarget, int maxDistToWalk) static BehaviorControl
<PathfinderMob> InsideBrownianWalk.create
(float speedModifier) static BehaviorControl
<LivingEntity> InteractWithDoor.create()
static BehaviorControl
<LivingEntity> Mount.create
(float speedModifier) static BehaviorControl
<PathfinderMob> PlayTagWithOtherKids.create()
static BehaviorControl
<Villager> PoiCompetitorScan.create()
static BehaviorControl
<LivingEntity> ReactToBell.create()
static BehaviorControl
<Villager> ResetProfession.create()
static BehaviorControl
<LivingEntity> ResetRaidStatus.create()
static BehaviorControl
<LivingEntity> RingBell.create()
static BehaviorControl
<PathfinderMob> SetClosestHomeAsWalkTarget.create
(float speedModifier) static BehaviorControl
<LivingEntity> SetEntityLookTarget.create
(MobCategory category, float makDist) static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float maxDist, UniformInt interval) Deprecated.private static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float maxDist, UniformInt interval, Predicate<LivingEntity> canLookAtTarget) Deprecated.static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(EntityType<?> entityType, float maxDist, UniformInt interval) Deprecated.static BehaviorControl
<LivingEntity> SetHiddenState.create
(int stayHiddenSeconds, int closeEnoughdist) static BehaviorControl
<LivingEntity> SetLookAndInteract.create
(EntityType<?> entityType, int maxDist) static BehaviorControl
<LivingEntity> SetRaidStatus.create()
static BehaviorControl
<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(float speedModifier) static BehaviorControl
<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(Function<LivingEntity, Float> speedModifier) static <E extends Mob>
BehaviorControl<E> StartAttacking.create
(Function<E, Optional<? extends LivingEntity>> targetFinder) static <E extends Mob>
BehaviorControl<E> StartAttacking.create
(Predicate<E> canAttack, Function<E, Optional<? extends LivingEntity>> targetFinder) static BehaviorControl
<LivingEntity> StartCelebratingIfTargetDead.create
(int duration, BiPredicate<LivingEntity, LivingEntity> canDance) static BehaviorControl
<LivingEntity> StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> targetPositionGetter, Predicate<LivingEntity> predicate, int closeEnoughDist, int tooClose, float speedModifier) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create()
static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(BiConsumer<E, LivingEntity> onStopAttacking) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> canStopAttacking) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> canStopAttacking, BiConsumer<E, LivingEntity> onStopAttacking, boolean canGrowTiredOfTryingToReachTarget) static BehaviorControl
<LivingEntity> StopBeingAngryIfTargetDead.create()
static BehaviorControl
<PathfinderMob> StrollToPoi.create
(MemoryModuleType<GlobalPos> poiPosMemory, float speedModifier, int closeEnoughDist, int maxDistFromPoi) static BehaviorControl
<Villager> StrollToPoiList.create
(MemoryModuleType<List<GlobalPos>> poiListMemory, float speedModifier, int closeEnoughDist, int maxDistFromPoi, MemoryModuleType<GlobalPos> mustBeCloseToMemory) static BehaviorControl
<PathfinderMob> TryFindLand.create
(int range, float speedModifier) static BehaviorControl
<PathfinderMob> TryFindLandNearWater.create
(int range, float speedModifier) static BehaviorControl
<PathfinderMob> TryFindWater.create
(int range, float speedModifier) static BehaviorControl
<LivingEntity> static BehaviorControl
<LivingEntity> UpdateActivityFromSchedule.create()
static BehaviorControl
<LivingEntity> ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> poiValidator, MemoryModuleType<GlobalPos> poiPosMemory) static BehaviorControl
<LivingEntity> VillagerCalmDown.create()
static BehaviorControl
<LivingEntity> WakeUp.create()
static BehaviorControl
<Villager> YieldJobSite.create
(float speedModifier) static BehaviorControl
<PathfinderMob> RandomStroll.fly
(float speedModifier) static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E> InteractWith.of
(EntityType<? extends T> type, int interactionRange, Predicate<E> selfFilter, Predicate<T> targetFilter, MemoryModuleType<T> memory, float speedModifier, int maxDist) static <T extends LivingEntity>
BehaviorControl<LivingEntity> InteractWith.of
(EntityType<? extends T> type, int interactionRange, MemoryModuleType<T> interactMemory, float speedModifier, int maxDist) static BehaviorControl
<PathfinderMob> SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> walkTargetAwayFromMemory, float speedModifier, int desiredDistance, boolean hasTarget) static BehaviorControl
<PathfinderMob> RandomStroll.stroll
(float speedModifier, int maxHorizontalDistance, int maxVerticalDistance) static BehaviorControl
<PathfinderMob> RandomStroll.swim
(float speedModifier) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type BehaviorControlModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage
(VillagerProfession profession, float speedModifier) private static com.mojang.datafixers.util.Pair
<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()
static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage
(VillagerProfession profession, float speedModifier) private static com.mojang.datafixers.util.Pair
<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()
static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPlayPackage
(float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage
(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage
(VillagerProfession profession, float speedModifier) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BehaviorControlModifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<BehaviorControl<? super E>> behaviors, ServerLevel level, E owner, long gameTime) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BehaviorControlModifierConstructorDescriptionGateBehavior
(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, Set<MemoryModuleType<?>> exitErasedMemories, GateBehavior.OrderPolicy orderPolicy, GateBehavior.RunningPolicy runningPolicy, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> durations) RunOne
(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> entryCondition) RunOne
(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> durations) -
Uses of BehaviorControl in net.minecraft.world.entity.ai.behavior.warden
Classes in net.minecraft.world.entity.ai.behavior.warden that implement BehaviorControlModifier and TypeClassDescriptionclass
class
class
class
class
class
Methods in net.minecraft.world.entity.ai.behavior.warden that return BehaviorControlModifier and TypeMethodDescriptionstatic <E extends Warden>
BehaviorControl<E> SetRoarTarget.create
(Function<E, Optional<? extends LivingEntity>> targetFinder) static BehaviorControl
<LivingEntity> SetWardenLookTarget.create()
static BehaviorControl
<LivingEntity> TryToSniff.create()
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.armadillo
Classes in net.minecraft.world.entity.animal.armadillo that implement BehaviorControlModifier and TypeClassDescriptionstatic class
static class
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.axolotl
Classes in net.minecraft.world.entity.animal.axolotl that implement BehaviorControlMethods in net.minecraft.world.entity.animal.axolotl that return BehaviorControl -
Uses of BehaviorControl in net.minecraft.world.entity.animal.camel
Classes in net.minecraft.world.entity.animal.camel that implement BehaviorControlModifier and TypeClassDescriptionstatic class
static class
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.frog
Classes in net.minecraft.world.entity.animal.frog that implement BehaviorControl -
Uses of BehaviorControl in net.minecraft.world.entity.animal.sniffer
Classes in net.minecraft.world.entity.animal.sniffer that implement BehaviorControlModifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Uses of BehaviorControl in net.minecraft.world.entity.monster.breeze
Classes in net.minecraft.world.entity.monster.breeze that implement BehaviorControlModifier and TypeClassDescriptionstatic class
class
class
class
class
-
Uses of BehaviorControl in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin that return BehaviorControlModifier and TypeMethodDescriptionprivate static BehaviorControl
<PathfinderMob> PiglinAi.avoidRepellent()
private static BehaviorControl
<Piglin> PiglinAi.avoidZombified()
private static BehaviorControl
<Piglin> PiglinAi.babyAvoidNemesis()
private static BehaviorControl
<LivingEntity> PiglinAi.babySometimesRideBabyHoglin()
static BehaviorControl
<LivingEntity> RememberIfHoglinWasKilled.create()
static BehaviorControl
<LivingEntity> StartAdmiringItemIfSeen.create
(int admireDuration) static BehaviorControl
<LivingEntity> StopAdmiringIfItemTooFarAway.create
(int maxDist) static BehaviorControl
<LivingEntity> StopAdmiringIfTiredOfTryingToReachItem.create
(int maxTimeToReachItem, int disableDuration) static BehaviorControl
<Piglin> StopHoldingItemIfNoLongerAdmiring.create()
-
Uses of BehaviorControl in net.minecraft.world.entity.monster.warden
Fields in net.minecraft.world.entity.monster.warden declared as BehaviorControlModifier and TypeFieldDescriptionprivate static final BehaviorControl
<Warden> WardenAi.DIG_COOLDOWN_SETTER