Uses of Class
net.minecraft.world.entity.ai.behavior.OneShot
Package
Description
-
Uses of OneShot in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionstatic OneShot<AgeableMob>
BabyFollowAdult.create
(UniformInt p_260109_, float p_259621_) static OneShot<AgeableMob>
BabyFollowAdult.create
(UniformInt p_259321_, Function<LivingEntity, Float> p_259190_) BackUpIfTooClose.create
(int p_259782_, float p_259071_) GoToTargetLocation.create
(MemoryModuleType<BlockPos> p_259938_, int p_259740_, float p_259957_) static OneShot<LivingEntity>
LocateHidingPlace.create
(int p_259202_, float p_259881_, int p_259982_) MeleeAttack.create
(int p_259758_) static OneShot<LivingEntity>
MoveToSkySeeingSpot.create
(float p_259860_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(float p_259830_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(Predicate<LivingEntity> p_260088_, float p_259747_) static OneShot<LivingEntity>
SetEntityLookTarget.create
(EntityType<?> p_260318_, float p_259522_) private static <T> OneShot<PathfinderMob>
SetWalkTargetAwayFrom.create
(MemoryModuleType<T> p_260057_, float p_259672_, int p_259866_, boolean p_259232_, Function<T, Vec3> p_259355_) SetWalkTargetFromBlockMemory.create
(MemoryModuleType<GlobalPos> p_259685_, float p_259842_, int p_259530_, int p_260360_, int p_259504_) static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(float p_259702_, int p_259510_) static OneShot<LivingEntity>
SetWalkTargetFromLookTarget.create
(Predicate<LivingEntity> p_260341_, Function<LivingEntity, Float> p_260269_, int p_259192_) static OneShot<LivingEntity>
SocializeAtBell.create()
static OneShot<PathfinderMob>
StrollAroundPoi.create
(MemoryModuleType<GlobalPos> p_259159_, float p_260182_, int p_260102_) static OneShot<PathfinderMob>
VillageBoundRandomStroll.create
(float p_260156_) static OneShot<PathfinderMob>
VillageBoundRandomStroll.create
(float p_259320_, int p_259708_, int p_259311_) static OneShot<PathfinderMob>
SetWalkTargetAwayFrom.entity
(MemoryModuleType<? extends Entity> p_259598_, float p_260183_, int p_260077_, boolean p_259761_) static OneShot<PathfinderMob>
RandomStroll.stroll
(float p_260304_) static OneShot<PathfinderMob>
RandomStroll.stroll
(float p_260303_, boolean p_259639_) private static OneShot<PathfinderMob>
RandomStroll.strollFlyOrSwim
(float p_260030_, Function<PathfinderMob, Vec3> p_259912_, Predicate<PathfinderMob> p_259088_) static <E extends LivingEntity>
OneShot<E>TriggerGate.triggerGate
(List<com.mojang.datafixers.util.Pair<? extends Trigger<? super E>, Integer>> p_259442_, GateBehavior.OrderPolicy p_259823_, GateBehavior.RunningPolicy p_259632_) static <E extends LivingEntity>
OneShot<E>TriggerGate.triggerOneShuffled
(List<com.mojang.datafixers.util.Pair<? extends Trigger<? super E>, Integer>> p_259551_) -
Uses of OneShot in net.minecraft.world.entity.ai.behavior.declarative
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
OneShot<E>BehaviorBuilder.create
(Function<BehaviorBuilder.Instance<E>, ? extends com.mojang.datafixers.kinds.App<BehaviorBuilder.Mu<E>, Trigger<E>>> p_259386_) static <E extends LivingEntity>
OneShot<E>static <E extends LivingEntity>
OneShot<E>BehaviorBuilder.triggerIf
(BiPredicate<ServerLevel, E> p_259227_) static <E extends LivingEntity>
OneShot<E>static <E extends LivingEntity>
OneShot<E> -
Uses of OneShot in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<OneShot<LivingEntity>,
Integer>> PiglinAi.createLookBehaviors()