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 TypeFieldDescriptionprivate final ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.behaviorPriorityPairsThe field for thebehaviorPriorityPairsrecord component.Methods in net.minecraft.world.entity.ai that return types with arguments of type BehaviorControlModifier and TypeMethodDescriptionImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.behaviorPriorityPairs()Returns the value of thebehaviorPriorityPairsrecord component.static <E extends LivingEntity>
ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.createPriorityPairs(int priorityOfFirstBehavior, ImmutableList<? extends BehaviorControl<? super E>> behaviorList) List<BehaviorControl<? super E>> Brain.getRunningBehaviors()Deprecated.Method parameters in net.minecraft.world.entity.ai with type arguments of type BehaviorControlModifier and TypeMethodDescriptionvoidBrain.addActivity(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, int priorityOfFirstBehavior, ImmutableList<? extends BehaviorControl<? super E>> behaviorList) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, int priorityOfFirstBehavior, ImmutableList<? extends BehaviorControl<? super E>> behaviorList, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, int priorityOfFirstBehavior, ImmutableList<? extends BehaviorControl<? super E>> behaviorList, MemoryModuleType<?> memoryThatMustHaveValueAndWillBeErasedAfter) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) static <E extends LivingEntity>
ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.createPriorityPairs(int priorityOfFirstBehavior, ImmutableList<? extends BehaviorControl<? super E>> behaviorList) Constructor parameters in net.minecraft.world.entity.ai with type arguments of type BehaviorControlModifierConstructorDescriptionActivityData(Activity activityType, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) Creates an instance of aActivityDatarecord class. -
Uses of BehaviorControl in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior that implement BehaviorControlModifier and TypeClassDescriptionclassclassAnimalPanic<E extends PathfinderMob>classBehavior<E extends LivingEntity>classclassclassclassclassCrossbowAttack<E extends Mob & CrossbowAttackMob, T extends LivingEntity>classclassclassGateBehavior<E extends LivingEntity>classclassGoAndGiveItemsToTarget<E extends LivingEntity & InventoryCarrier>classclassclassclassclassLongJumpToPreferredBlock<E extends Mob>classLongJumpToRandomPos<E extends Mob>classclassclassclassOneShot<E extends LivingEntity>classPrepareRamNearestTarget<E extends PathfinderMob>classclassclassRunOne<E extends LivingEntity>classclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.ai.behavior with type parameters of type BehaviorControlModifier and TypeFieldDescriptionprivate final ShufflingList<BehaviorControl<? super E>> GateBehavior.behaviorsMethods in net.minecraft.world.entity.ai.behavior that return BehaviorControlModifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToValidate, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) 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> copyIfTrue, MemoryModuleType<? extends T> sourceMemory, MemoryModuleType<T> targetMemory, UniformInt durationOfCopy) static <E extends LivingEntity>
BehaviorControl<E> DismountOrSkipMounting.create(int maxWalkDistToRideTarget, BiPredicate<E, Entity> dontRideIf) static <E extends LivingEntity>
BehaviorControl<E> EraseMemoryIf.create(Predicate<E> predicate, MemoryModuleType<?> memoryType) static BehaviorControl<Villager> GoToClosestVillage.create(float speedModifier, int closeEnoughDistance) static BehaviorControl<LivingEntity> GoToWantedItem.create(float speedModifier, boolean interruptOngoingWalk, int maxDistToWalk) static <E extends LivingEntity>
BehaviorControl<E> GoToWantedItem.create(Predicate<E> predicate, float speedModifier, boolean interruptOngoingWalk, 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 maxDist) static BehaviorControl<LivingEntity> SetEntityLookTargetSometimes.create(float maxDist, UniformInt interval) Deprecated.private static BehaviorControl<LivingEntity> SetEntityLookTargetSometimes.create(float maxDist, UniformInt interval, Predicate<LivingEntity> predicate) Deprecated.static BehaviorControl<LivingEntity> SetEntityLookTargetSometimes.create(EntityType<?> type, float maxDist, UniformInt interval) Deprecated.static BehaviorControl<LivingEntity> SetHiddenState.create(int seconds, int closeEnoughDist) static BehaviorControl<LivingEntity> SetLookAndInteract.create(EntityType<?> type, int interactionRange) 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(StartAttacking.StartAttackingCondition<E> canAttackPredicate, StartAttacking.TargetFinder<E> targetFinderFunction) static <E extends Mob>
BehaviorControl<E> StartAttacking.create(StartAttacking.TargetFinder<E> targetFinderFunction) static BehaviorControl<LivingEntity> StartCelebratingIfTargetDead.create(int celebrateDuration, BiPredicate<LivingEntity, LivingEntity> dancePredicate) static BehaviorControl<LivingEntity> StayCloseToTarget.create(Function<LivingEntity, Optional<PositionTracker>> targetPositionGetter, Predicate<LivingEntity> shouldRunPredicate, int closeEnough, int tooFar, float speedModifier) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create()static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(StopAttackingIfTargetInvalid.StopAttackCondition stopAttackingWhen) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(StopAttackingIfTargetInvalid.StopAttackCondition stopAttackingWhen, StopAttackingIfTargetInvalid.TargetErasedCallback<E> onTargetErased, boolean canGrowTiredOfTryingToReachTarget) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create(StopAttackingIfTargetInvalid.TargetErasedCallback<E> onTargetErased) static BehaviorControl<LivingEntity> StopBeingAngryIfTargetDead.create()static BehaviorControl<PathfinderMob> StrollToPoi.create(MemoryModuleType<GlobalPos> memoryType, float speedModifier, int closeEnoughDist, int maxDistanceFromPoi) static BehaviorControl<Villager> StrollToPoiList.create(MemoryModuleType<List<GlobalPos>> strollToMemoryType, float speedModifier, int closeEnoughDist, int maxDistanceFromPoi, MemoryModuleType<GlobalPos> mustBeCloseToMemoryType) 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>> poiType, MemoryModuleType<GlobalPos> memoryType) 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> interactionTarget, float speedModifier, int stopDistance) static <T extends LivingEntity>
BehaviorControl<LivingEntity> InteractWith.of(EntityType<? extends T> type, int interactionRange, MemoryModuleType<T> interactionTarget, float speedModifier, int stopDistance) static BehaviorControl<PathfinderMob> SetWalkTargetAwayFrom.pos(MemoryModuleType<BlockPos> memory, float speedModifier, int desiredDistance, boolean interruptCurrentWalk) 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 ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(Holder<VillagerProfession> profession, float speedModifier) private static com.mojang.datafixers.util.Pair<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(float speedModifier) private static com.mojang.datafixers.util.Pair<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPlayPackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<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 body, long timestamp) 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>> behaviors) RunOne(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) RunOne(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) -
Uses of BehaviorControl in net.minecraft.world.entity.ai.behavior.warden
Classes in net.minecraft.world.entity.ai.behavior.warden that implement BehaviorControlModifier and TypeClassDescriptionclassclassclassclassclassclassMethods 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>> targetFinderFunction) 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 classstatic 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 classstatic 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 TypeClassDescriptionprivate static classprivate static classprivate static classprivate static classprivate static classprivate 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 classclassclassclassclass -
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 maxDistanceToItem) static BehaviorControl<LivingEntity> StopAdmiringIfTiredOfTryingToReachItem.create(int maxTimeToReachItem, int disableTime) 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