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 p_21860_, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> p_21861_) 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 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_) (package private) com.google.common.collect.ImmutableList
<? extends com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super E>>> Brain.createPriorityPairs
(int p_21860_, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> p_21861_) -
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>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl
<Villager> AssignProfessionFromJobSite.create()
static BehaviorControl
<LivingEntity> BecomePassiveIfMemoryPresent.create
(MemoryModuleType<?> pPacifyingMemory, int pPacifyDuration) static <E extends LivingEntity,
T>
BehaviorControl<E> CopyMemoryWithExpiry.create
(Predicate<E> pCanCopyMemory, MemoryModuleType<? extends T> pSourceMemory, MemoryModuleType<T> pTargetMemory, UniformInt pDurationOfCopy) static <E extends LivingEntity>
BehaviorControl<E> DismountOrSkipMounting.create
(int pMaxDistanceFromVehicle, BiPredicate<E, Entity> pShouldStopRiding) static <E extends LivingEntity>
BehaviorControl<E> EraseMemoryIf.create
(Predicate<E> pShouldEraseMemory, MemoryModuleType<?> pErasingMemory) static BehaviorControl
<Villager> GoToClosestVillage.create
(float pSpeedModifier, int pCloseEnoughDist) static BehaviorControl
<LivingEntity> GoToWantedItem.create
(float pSpeedModifier, boolean pHasTarget, int pMaxDistToWalk) static <E extends LivingEntity>
BehaviorControl<E> GoToWantedItem.create
(Predicate<E> pCanWalkToItem, float pSpeedModifier, boolean pHasTarget, int pMaxDistToWalk) static BehaviorControl
<PathfinderMob> InsideBrownianWalk.create
(float pSpeedModifier) static BehaviorControl
<LivingEntity> InteractWithDoor.create()
static BehaviorControl
<LivingEntity> Mount.create
(float pSpeedModifier) 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 pSpeedModifier) static BehaviorControl
<LivingEntity> SetEntityLookTarget.create
(MobCategory pCategory, float pMakDist) static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float pMaxDist, UniformInt pInterval) Deprecated.private static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(float pMaxDist, UniformInt pInterval, Predicate<LivingEntity> pCanLookAtTarget) Deprecated.static BehaviorControl
<LivingEntity> SetEntityLookTargetSometimes.create
(EntityType<?> pEntityType, float pMaxDist, UniformInt pInterval) Deprecated.static BehaviorControl
<LivingEntity> SetHiddenState.create
(int pStayHiddenSeconds, int pCloseEnoughdist) static BehaviorControl
<LivingEntity> SetLookAndInteract.create
(EntityType<?> pEntityType, int pMaxDist) static BehaviorControl
<LivingEntity> SetRaidStatus.create()
static BehaviorControl
<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(float pSpeedModifier) static BehaviorControl
<Mob> SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(Function<LivingEntity, Float> pSpeedModifier) static <E extends Mob>
BehaviorControl<E> StartAttacking.create
(Function<E, Optional<? extends LivingEntity>> pTargetFinder) static <E extends Mob>
BehaviorControl<E> StartAttacking.create
(Predicate<E> pCanAttack, Function<E, Optional<? extends LivingEntity>> pTargetFinder) static BehaviorControl
<LivingEntity> StartCelebratingIfTargetDead.create
(int pDuration, BiPredicate<LivingEntity, LivingEntity> pCanDance) static BehaviorControl
<LivingEntity> StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> pTargetPositionGetter, Predicate<LivingEntity> pPredicate, int pCloseEnoughDist, int pTooClose, float pSpeedModifier) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create()
static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(BiConsumer<E, LivingEntity> pOnStopAttacking) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> pCanStopAttacking) static <E extends Mob>
BehaviorControl<E> StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> pCanStopAttacking, BiConsumer<E, LivingEntity> pOnStopAttacking, boolean pCanGrowTiredOfTryingToReachTarget) static BehaviorControl
<LivingEntity> StopBeingAngryIfTargetDead.create()
static BehaviorControl
<PathfinderMob> StrollToPoi.create
(MemoryModuleType<GlobalPos> pPoiPosMemory, float pSpeedModifier, int pCloseEnoughDist, int pMaxDistFromPoi) static BehaviorControl
<Villager> StrollToPoiList.create
(MemoryModuleType<List<GlobalPos>> pPoiListMemory, float pSpeedModifier, int pCloseEnoughDist, int pMaxDistFromPoi, MemoryModuleType<GlobalPos> pMustBeCloseToMemory) static BehaviorControl
<PathfinderMob> TryFindLand.create
(int pRange, float pSpeedModifier) static BehaviorControl
<PathfinderMob> TryFindLandNearWater.create
(int pRange, float pSpeedModifier) static BehaviorControl
<PathfinderMob> TryFindWater.create
(int pRange, float pSpeedModifier) static BehaviorControl
<LivingEntity> static BehaviorControl
<LivingEntity> UpdateActivityFromSchedule.create()
static BehaviorControl
<LivingEntity> ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> pPoiValidator, MemoryModuleType<GlobalPos> pPoiPosMemory) static BehaviorControl
<LivingEntity> VillagerCalmDown.create()
static BehaviorControl
<LivingEntity> WakeUp.create()
static BehaviorControl
<Villager> YieldJobSite.create
(float pSpeedModifier) static BehaviorControl
<PathfinderMob> RandomStroll.fly
(float pSpeedModifier) static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E> InteractWith.of
(EntityType<? extends T> pType, int pInteractionRange, Predicate<E> pSelfFilter, Predicate<T> pTargetFilter, MemoryModuleType<T> pMemory, float pSpeedModifier, int pMaxDist) static <T extends LivingEntity>
BehaviorControl<LivingEntity> InteractWith.of
(EntityType<? extends T> pType, int pInteractionRange, MemoryModuleType<T> pInteractMemory, float pSpeedModifier, int pMaxDist) static BehaviorControl
<PathfinderMob> SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget) static BehaviorControl
<PathfinderMob> RandomStroll.stroll
(float pSpeedModifier, int pMaxHorizontalDistance, int pMaxVerticalDistance) static BehaviorControl
<PathfinderMob> RandomStroll.swim
(float pSpeedModifier) 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 p_24586_, float p_24587_) 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 p_24611_, float p_24612_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage
(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage
(VillagerProfession p_24596_, float p_24597_) 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 p_24602_, float p_24603_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPlayPackage
(float p_24584_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage
(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage
(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage
(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage
(VillagerProfession p_24590_, float p_24591_) 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>> pBehaviors, ServerLevel pLevel, E pOwner, long pGameTime) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type BehaviorControlModifierConstructorDescriptionGateBehavior
(Map<MemoryModuleType<?>, MemoryStatus> pEntryCondition, Set<MemoryModuleType<?>> pExitErasedMemories, GateBehavior.OrderPolicy pOrderPolicy, GateBehavior.RunningPolicy pRunningPolicy, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> pDurations) RunOne
(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> pEntryCondition) RunOne
(Map<MemoryModuleType<?>, MemoryStatus> pEntryCondition, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> pDurations) -
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>> pTargetFinder) 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 pAdmireDuration) static BehaviorControl
<LivingEntity> StopAdmiringIfItemTooFarAway.create
(int pMaxDist) static BehaviorControl
<LivingEntity> StopAdmiringIfTiredOfTryingToReachItem.create
(int pMaxTimeToReachItem, int pDisableDuration) 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