Package net.minecraft.entity.ai.goal
Class RevengeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.RevengeGoal
- Direct Known Subclasses:
class_2653
- Mappings:
Namespace Name official aalintermediary net/minecraft/class_926named net/minecraft/entity/ai/goal/RevengeGoal
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, mob -
Constructor Summary
ConstructorsConstructorDescriptionRevengeGoal(PathAwareEntity mob, boolean groupRevenge, Class[] noRevengeTypes) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected voidsetMobEntityTarget(PathAwareEntity mob, LivingEntity target) voidstart()Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, method_11025, shouldContinue, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits, tick
-
Field Details
-
groupRevenge
private boolean groupRevenge- Mappings:
Namespace Name Mixin selector official aLaal;a:Zintermediary field_3624Lnet/minecraft/class_926;field_3624:Znamed groupRevengeLnet/minecraft/entity/ai/goal/RevengeGoal;groupRevenge:Z
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector official bLaal;b:Iintermediary field_6867Lnet/minecraft/class_926;field_6867:Inamed lastAttackedTimeLnet/minecraft/entity/ai/goal/RevengeGoal;lastAttackedTime:I
-
noRevengeTypes
- Mappings:
Namespace Name Mixin selector official cLaal;c:[Ljava/lang/Class;intermediary field_11949Lnet/minecraft/class_926;field_11949:[Ljava/lang/Class;named noRevengeTypesLnet/minecraft/entity/ai/goal/RevengeGoal;noRevengeTypes:[Ljava/lang/Class;
-
-
Constructor Details
-
RevengeGoal
- Mappings:
Namespace Name Mixin selector official <init>Laal;<init>(Lxu;Z[Ljava/lang/Class;)Vintermediary <init>Lnet/minecraft/class_926;<init>(Lnet/minecraft/class_877;Z[Ljava/lang/Class;)Vnamed <init>Lnet/minecraft/entity/ai/goal/RevengeGoal;<init>(Lnet/minecraft/entity/PathAwareEntity;Z[Ljava/lang/Class;)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start()- Overrides:
startin classTrackTargetGoal- Mappings:
Namespace Name Mixin selector official cLzb;c()Vintermediary method_2747Lnet/minecraft/class_896;method_2747()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
setMobEntityTarget
- Mappings:
Namespace Name Mixin selector official aLaal;a(Lxu;Lxm;)Vintermediary method_11017Lnet/minecraft/class_926;method_11017(Lnet/minecraft/class_877;Lnet/minecraft/class_1699;)Vnamed setMobEntityTargetLnet/minecraft/entity/ai/goal/RevengeGoal;setMobEntityTarget(Lnet/minecraft/entity/PathAwareEntity;Lnet/minecraft/entity/LivingEntity;)V
-