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:
BeeEntity.BeeRevengeGoal
,LlamaEntity.SpitRevengeGoal
,PandaEntity.PandaRevengeGoal
,PolarBearEntity.PolarBearRevengeGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/RevengeGoal
intermediary net/minecraft/class_1399
official ccc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private boolean
private int
private final Class<?>[]
private static final TargetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
canStart()
setGroupRevenge
(Class<?>[] noHelpTypes) protected void
setMobEntityTarget
(MobEntity mob, LivingEntity target) void
start()
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
VALID_AVOIDABLES_PREDICATE
- Mappings:
Namespace Name Mixin selector named VALID_AVOIDABLES_PREDICATE
Lnet/minecraft/entity/ai/goal/RevengeGoal;VALID_AVOIDABLES_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
intermediary field_18091
Lnet/minecraft/class_1399;field_18091:Lnet/minecraft/class_4051;
official a
Lccc;a:Lced;
-
BOX_VERTICAL_EXPANSION
private static final int BOX_VERTICAL_EXPANSION- See Also:
- Mappings:
Namespace Name Mixin selector named BOX_VERTICAL_EXPANSION
Lnet/minecraft/entity/ai/goal/RevengeGoal;BOX_VERTICAL_EXPANSION:I
intermediary field_30230
Lnet/minecraft/class_1399;field_30230:I
official b
Lccc;b:I
-
groupRevenge
private boolean groupRevenge- Mappings:
Namespace Name Mixin selector named groupRevenge
Lnet/minecraft/entity/ai/goal/RevengeGoal;groupRevenge:Z
intermediary field_6639
Lnet/minecraft/class_1399;field_6639:Z
official c
Lccc;c:Z
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector named lastAttackedTime
Lnet/minecraft/entity/ai/goal/RevengeGoal;lastAttackedTime:I
intermediary field_6638
Lnet/minecraft/class_1399;field_6638:I
official d
Lccc;d:I
-
noRevengeTypes
- Mappings:
Namespace Name Mixin selector named noRevengeTypes
Lnet/minecraft/entity/ai/goal/RevengeGoal;noRevengeTypes:[Ljava/lang/Class;
intermediary field_6637
Lnet/minecraft/class_1399;field_6637:[Ljava/lang/Class;
official i
Lccc;i:[Ljava/lang/Class;
-
noHelpTypes
- Mappings:
Namespace Name Mixin selector named noHelpTypes
Lnet/minecraft/entity/ai/goal/RevengeGoal;noHelpTypes:[Ljava/lang/Class;
intermediary field_6640
Lnet/minecraft/class_1399;field_6640:[Ljava/lang/Class;
official j
Lccc;j:[Ljava/lang/Class;
-
-
Constructor Details
-
RevengeGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/RevengeGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;[Ljava/lang/Class;)V
intermediary <init>
Lnet/minecraft/class_1399;<init>(Lnet/minecraft/class_1314;[Ljava/lang/Class;)V
official <init>
Lccc;<init>(Lbtu;[Ljava/lang/Class;)V
-
-
Method Details
-
canStart
public boolean canStart() -
setGroupRevenge
- Mappings:
Namespace Name Mixin selector named setGroupRevenge
Lnet/minecraft/entity/ai/goal/RevengeGoal;setGroupRevenge([Ljava/lang/Class;)Lnet/minecraft/entity/ai/goal/RevengeGoal;
intermediary method_6318
Lnet/minecraft/class_1399;method_6318([Ljava/lang/Class;)Lnet/minecraft/class_1399;
official a
Lccc;a([Ljava/lang/Class;)Lccc;
-
start
public void start()- Overrides:
start
in classTrackTargetGoal
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
official d
Lcak;d()V
-
callSameTypeForRevenge
protected void callSameTypeForRevenge()- Mappings:
Namespace Name Mixin selector named callSameTypeForRevenge
Lnet/minecraft/entity/ai/goal/RevengeGoal;callSameTypeForRevenge()V
intermediary method_6317
Lnet/minecraft/class_1399;method_6317()V
official h
Lccc;h()V
-
setMobEntityTarget
- Mappings:
Namespace Name Mixin selector named setMobEntityTarget
Lnet/minecraft/entity/ai/goal/RevengeGoal;setMobEntityTarget(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_6319
Lnet/minecraft/class_1399;method_6319(Lnet/minecraft/class_1308;Lnet/minecraft/class_1309;)V
official a
Lccc;a(Lbtn;Lbtl;)V
-