Package net.minecraft.entity.raid
Class RaiderEntity.PatrolApproachGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.raid.RaiderEntity.PatrolApproachGoal
- Enclosing class:
RaiderEntity
- Mappings:
Namespace Name official bvk$a
intermediary net/minecraft/class_3763$class_4223
named net/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal TargetPredicate
private final RaiderEntity
private final float
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldContinue, toGoalTicks, toString
-
Field Details
-
raider
- Mappings:
Namespace Name Mixin selector official c
Lbvk$a;c:Lbvk;
intermediary field_18883
Lnet/minecraft/class_3763$class_4223;field_18883:Lnet/minecraft/class_3763;
named raider
Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;raider:Lnet/minecraft/entity/raid/RaiderEntity;
-
squaredDistance
private final float squaredDistance- Mappings:
Namespace Name Mixin selector official d
Lbvk$a;d:F
intermediary field_18884
Lnet/minecraft/class_3763$class_4223;field_18884:F
named squaredDistance
Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;squaredDistance:F
-
closeRaiderPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbvk$a;a:Lbmf;
intermediary field_18881
Lnet/minecraft/class_3763$class_4223;field_18881:Lnet/minecraft/class_4051;
named closeRaiderPredicate
Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;closeRaiderPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
-
-
Constructor Details
-
PatrolApproachGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbvk$a;<init>(Lbvk;Lbqy;F)V
intermediary <init>
Lnet/minecraft/class_3763$class_4223;<init>(Lnet/minecraft/class_3763;Lnet/minecraft/class_1543;F)V
named <init>
Lnet/minecraft/entity/raid/RaiderEntity$PatrolApproachGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Lnet/minecraft/entity/mob/IllagerEntity;F)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
stop
public void stop() -
shouldRunEveryTick
public boolean shouldRunEveryTick()Returns if the goal should run every tick or not.This returns
false
by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.- Overrides:
shouldRunEveryTick
in classGoal
- Returns:
- if the goal should run every tick or not
- See Also:
- Mappings:
Namespace Name Mixin selector official E_
Lbip;E_()Z
intermediary method_38846
Lnet/minecraft/class_1352;method_38846()Z
named shouldRunEveryTick
Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
-
tick
public void tick()
-