Uses of Interface
net.minecraft.world.entity.ai.behavior.BehaviorControl
Package
Description
-
Uses of BehaviorControl 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 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.Modifier 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
Modifier and TypeClassDescriptionclass
class
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
Modifier and TypeFieldDescriptionprivate final ShufflingList<BehaviorControl<? super E>>
GateBehavior.behaviors
Modifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_259994_, MemoryModuleType<GlobalPos> p_259167_, boolean p_259077_, Optional<Byte> p_259824_) static BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_260007_, MemoryModuleType<GlobalPos> p_259129_, MemoryModuleType<GlobalPos> p_260194_, boolean p_259108_, Optional<Byte> p_260129_) static BehaviorControl<Villager>
AssignProfessionFromJobSite.create()
static BehaviorControl<LivingEntity>
BecomePassiveIfMemoryPresent.create
(MemoryModuleType<?> p_259988_, int p_260143_) static <E extends LivingEntity,
T>
BehaviorControl<E>CopyMemoryWithExpiry.create
(Predicate<E> p_260270_, MemoryModuleType<? extends T> p_260344_, MemoryModuleType<T> p_260014_, UniformInt p_259596_) static <E extends LivingEntity>
BehaviorControl<E>DismountOrSkipMounting.create
(int p_259945_, BiPredicate<E, Entity> p_259837_) static <E extends LivingEntity>
BehaviorControl<E>EraseMemoryIf.create
(Predicate<E> p_260241_, MemoryModuleType<?> p_259406_) static BehaviorControl<Villager>
GoToClosestVillage.create
(float p_260342_, int p_259691_) static BehaviorControl<LivingEntity>
GoToWantedItem.create
(float p_260027_, boolean p_259769_, int p_259671_) static <E extends LivingEntity>
BehaviorControl<E>static BehaviorControl<PathfinderMob>
InsideBrownianWalk.create
(float p_259775_) static BehaviorControl<LivingEntity>
InteractWithDoor.create()
static BehaviorControl<LivingEntity>
Mount.create
(float p_259363_) 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 p_259960_) static BehaviorControl<LivingEntity>
SetEntityLookTarget.create
(MobCategory p_259154_, float p_260240_) static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(float p_259047_, UniformInt p_260065_) Deprecated.private static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(float p_260336_, UniformInt p_259266_, Predicate<LivingEntity> p_260173_) Deprecated.static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(EntityType<?> p_259588_, float p_259105_, UniformInt p_259422_) Deprecated.static BehaviorControl<LivingEntity>
SetHiddenState.create
(int p_259244_, int p_260263_) static BehaviorControl<LivingEntity>
SetLookAndInteract.create
(EntityType<?> p_259642_, int p_259805_) static BehaviorControl<LivingEntity>
SetRaidStatus.create()
static BehaviorControl<Mob>
SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(float p_259228_) static BehaviorControl<Mob>
SetWalkTargetFromAttackTargetIfTargetOutOfReach.create
(Function<LivingEntity, Float> p_259507_) static <E extends Mob>
BehaviorControl<E>StartAttacking.create
(Function<E, Optional<? extends LivingEntity>> p_259868_) static <E extends Mob>
BehaviorControl<E>StartAttacking.create
(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_) static BehaviorControl<LivingEntity>
StartCelebratingIfTargetDead.create
(int p_259238_, BiPredicate<LivingEntity, LivingEntity> p_259102_) static BehaviorControl<LivingEntity>
StayCloseToTarget.create
(Function<LivingEntity, Optional<PositionTracker>> p_272871_, Predicate<LivingEntity> p_273150_, int p_273536_, int p_273107_, float p_273745_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create()
static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(BiConsumer<E, LivingEntity> p_260165_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> p_259762_) static <E extends Mob>
BehaviorControl<E>StopAttackingIfTargetInvalid.create
(Predicate<LivingEntity> p_260357_, BiConsumer<E, LivingEntity> p_259568_, boolean p_260319_) static BehaviorControl<LivingEntity>
StopBeingAngryIfTargetDead.create()
static BehaviorControl<PathfinderMob>
StrollToPoi.create
(MemoryModuleType<GlobalPos> p_259919_, float p_259285_, int p_259332_, int p_259904_) static BehaviorControl<Villager>
StrollToPoiList.create
(MemoryModuleType<List<GlobalPos>> p_259573_, float p_259895_, int p_260285_, int p_259533_, MemoryModuleType<GlobalPos> p_259706_) static BehaviorControl<PathfinderMob>
TryFindLand.create
(int p_259889_, float p_259302_) static BehaviorControl<PathfinderMob>
TryFindLandNearWater.create
(int p_259739_, float p_259118_) static BehaviorControl<PathfinderMob>
TryFindWater.create
(int p_259298_, float p_259140_) static BehaviorControl<LivingEntity>
static BehaviorControl<LivingEntity>
UpdateActivityFromSchedule.create()
static BehaviorControl<LivingEntity>
ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) static BehaviorControl<LivingEntity>
VillagerCalmDown.create()
static BehaviorControl<LivingEntity>
WakeUp.create()
static BehaviorControl<Villager>
YieldJobSite.create
(float p_259768_) static BehaviorControl<PathfinderMob>
RandomStroll.fly
(float p_259119_) static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E>InteractWith.of
(EntityType<? extends T> p_259366_, int p_259564_, Predicate<E> p_259570_, Predicate<T> p_260254_, MemoryModuleType<T> p_260229_, float p_259369_, int p_259065_) static <T extends LivingEntity>
BehaviorControl<LivingEntity>InteractWith.of
(EntityType<? extends T> p_259703_, int p_260224_, MemoryModuleType<T> p_259995_, float p_259991_, int p_259933_) static BehaviorControl<PathfinderMob>
SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> p_259330_, float p_259719_, int p_259965_, boolean p_259828_) static BehaviorControl<PathfinderMob>
RandomStroll.stroll
(float p_260204_, int p_259502_, int p_259891_) static BehaviorControl<PathfinderMob>
RandomStroll.swim
(float p_259469_) Modifier 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_) Modifier and TypeMethodDescriptionabstract <E extends LivingEntity>
voidGateBehavior.RunningPolicy.apply
(Stream<BehaviorControl<? super E>> p_147532_, ServerLevel p_147533_, E p_147534_, long p_147535_) ModifierConstructorDescriptionGateBehavior
(Map<MemoryModuleType<?>, MemoryStatus> p_22873_, Set<MemoryModuleType<?>> p_22874_, GateBehavior.OrderPolicy p_22875_, GateBehavior.RunningPolicy p_22876_, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> p_22877_) RunOne
(List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> p_23832_) RunOne
(Map<MemoryModuleType<?>, MemoryStatus> p_23834_, List<com.mojang.datafixers.util.Pair<? extends BehaviorControl<? super E>, Integer>> p_23835_) -
Uses of BehaviorControl in net.minecraft.world.entity.ai.behavior.warden
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeMethodDescriptionstatic <E extends Warden>
BehaviorControl<E>SetRoarTarget.create
(Function<E, Optional<? extends LivingEntity>> p_260275_) static BehaviorControl<LivingEntity>
SetWardenLookTarget.create()
static BehaviorControl<LivingEntity>
TryToSniff.create()
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.axolotl
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.camel
Modifier and TypeClassDescriptionstatic class
static class
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.frog
-
Uses of BehaviorControl in net.minecraft.world.entity.animal.sniffer
Modifier 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.piglin
Modifier 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 p_259418_) static BehaviorControl<LivingEntity>
StopAdmiringIfItemTooFarAway.create
(int p_259415_) static BehaviorControl<LivingEntity>
StopAdmiringIfTiredOfTryingToReachItem.create
(int p_259110_, int p_259200_) static BehaviorControl<Piglin>
StopHoldingItemIfNoLongerAdmiring.create()
-
Uses of BehaviorControl in net.minecraft.world.entity.monster.warden
Modifier and TypeFieldDescriptionprivate static final BehaviorControl<Warden>
WardenAi.DIG_COOLDOWN_SETTER