Package net.minecraft.entity.ai.goal
Class ProjectileAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.ProjectileAttackGoal
public class ProjectileAttackGoal extends Goal
- Mappings:
Namespace Name official saintermediary net/minecraft/class_1813named net/minecraft/entity/ai/goal/ProjectileAttackGoal
-
Field Summary
Fields Modifier and Type Field Description private MobEntityentityprivate intfield_7755private intfield_7756private floatfield_7757private floatfield_7758private doublemobSpeedprivate RangedAttackMobrangedAttackMobprivate intseenTargetTicksprivate LivingEntitytargetprivate intupdateCountdownTicks -
Constructor Summary
Constructors Constructor Description ProjectileAttackGoal(RangedAttackMob rangedAttackMob, double double2, int int2, float float2)ProjectileAttackGoal(RangedAttackMob mob, double double2, int int2, int int3, float float2) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
method_7363, method_7368, method_7369, start
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official aLsa;a:Lps;intermediary field_7749Lnet/minecraft/class_1813;field_7749:Lnet/minecraft/class_1753;named entityLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;entity:Lnet/minecraft/entity/mob/MobEntity;
-
rangedAttackMob
- Mappings:
Namespace Name Mixin selector official bLsa;b:Lvx;intermediary field_7750Lnet/minecraft/class_1813;field_7750:Lnet/minecraft/class_1931;named rangedAttackMobLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;rangedAttackMob:Lnet/minecraft/entity/RangedAttackMob;
-
target
- Mappings:
Namespace Name Mixin selector official cLsa;c:Lpr;intermediary field_7751Lnet/minecraft/class_1813;field_7751:Lnet/minecraft/class_1752;named targetLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;target:Lnet/minecraft/entity/LivingEntity;
-
updateCountdownTicks
private int updateCountdownTicks- Mappings:
Namespace Name Mixin selector official dLsa;d:Iintermediary field_7752Lnet/minecraft/class_1813;field_7752:Inamed updateCountdownTicksLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;updateCountdownTicks:I
-
mobSpeed
private double mobSpeed- Mappings:
Namespace Name Mixin selector official eLsa;e:Dintermediary field_7753Lnet/minecraft/class_1813;field_7753:Dnamed mobSpeedLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;mobSpeed:D
-
seenTargetTicks
private int seenTargetTicks- Mappings:
Namespace Name Mixin selector official fLsa;f:Iintermediary field_7754Lnet/minecraft/class_1813;field_7754:Inamed seenTargetTicksLnet/minecraft/entity/ai/goal/ProjectileAttackGoal;seenTargetTicks:I
-
field_7755
private int field_7755- Mappings:
Namespace Name Mixin selector official gLsa;g:Iintermediary field_7755Lnet/minecraft/class_1813;field_7755:Inamed field_7755Lnet/minecraft/entity/ai/goal/ProjectileAttackGoal;field_7755:I
-
field_7756
private int field_7756- Mappings:
Namespace Name Mixin selector official hLsa;h:Iintermediary field_7756Lnet/minecraft/class_1813;field_7756:Inamed field_7756Lnet/minecraft/entity/ai/goal/ProjectileAttackGoal;field_7756:I
-
field_7757
private float field_7757- Mappings:
Namespace Name Mixin selector official iLsa;i:Fintermediary field_7757Lnet/minecraft/class_1813;field_7757:Fnamed field_7757Lnet/minecraft/entity/ai/goal/ProjectileAttackGoal;field_7757:F
-
field_7758
private float field_7758- Mappings:
Namespace Name Mixin selector official jLsa;j:Fintermediary field_7758Lnet/minecraft/class_1813;field_7758:Fnamed field_7758Lnet/minecraft/entity/ai/goal/ProjectileAttackGoal;field_7758:F
-
-
Constructor Details
-
ProjectileAttackGoal
public ProjectileAttackGoal(RangedAttackMob rangedAttackMob, double double2, int int2, float float2) -
ProjectileAttackGoal
- Mappings:
Namespace Name Mixin selector official <init>Lsa;<init>(Lvx;DIIF)Vintermediary <init>Lnet/minecraft/class_1813;<init>(Lnet/minecraft/class_1931;DIIF)Vnamed <init>Lnet/minecraft/entity/ai/goal/ProjectileAttackGoal;<init>(Lnet/minecraft/entity/RangedAttackMob;DIIF)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLrd;b()Zintermediary method_7364Lnet/minecraft/class_1789;method_7364()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
stop
public void stop() -
tick
public void tick()
-