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
public class RaiderEntity.PatrolApproachGoal extends Goal
- Mappings:
Namespace Name official bir$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
Fields Modifier and Type Field Description TargetPredicate
closeRaiderPredicate
private RaiderEntity
raider
private float
squaredDistance
-
Constructor Summary
Constructors Constructor Description PatrolApproachGoal(IllagerEntity illager, float distance)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, shouldContinue, toString
-
Field Details
-
raider
- Mappings:
Namespace Name Mixin selector official c
Lbir$a;c:Lbir;
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
Lbir$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
Lbir$a;a:Lbal;
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>
Lbir$a;<init>(Lbir;Lben;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() -
tick
public void tick()
-