Package net.minecraft.entity.passive
Class FoxEntity.DefendFriendGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.ActiveTargetGoal<LivingEntity>
net.minecraft.entity.passive.FoxEntity.DefendFriendGoal
- Enclosing class:
FoxEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/FoxEntity$DefendFriendGoal
intermediary net/minecraft/class_4019$class_4020
official cig$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable LivingEntity
private int
private @Nullable LivingEntity
Fields inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
ConstructorDescriptionDefendFriendGoal
(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, TargetPredicate.EntityPredicate targetPredicate) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
findClosestTarget, getSearchBox, setTargetEntity
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, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
offender
- Mappings:
Namespace Name Mixin selector named offender
Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;offender:Lnet/minecraft/entity/LivingEntity;
intermediary field_17966
Lnet/minecraft/class_4019$class_4020;field_17966:Lnet/minecraft/class_1309;
official j
Lcig$a;j:Lbwf;
-
friend
- Mappings:
Namespace Name Mixin selector named friend
Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;friend:Lnet/minecraft/entity/LivingEntity;
intermediary field_17967
Lnet/minecraft/class_4019$class_4020;field_17967:Lnet/minecraft/class_1309;
official k
Lcig$a;k:Lbwf;
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector named lastAttackedTime
Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;lastAttackedTime:I
intermediary field_17968
Lnet/minecraft/class_4019$class_4020;field_17968:I
official l
Lcig$a;l:I
-
-
Constructor Details
-
DefendFriendGoal
public DefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, @Nullable TargetPredicate.EntityPredicate targetPredicate) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;Ljava/lang/Class;ZZLnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;)V
intermediary <init>
Lnet/minecraft/class_4019$class_4020;<init>(Lnet/minecraft/class_4019;Ljava/lang/Class;ZZLnet/minecraft/class_4051$class_10254;)V
official <init>
Lcig$a;<init>(Lcig;Ljava/lang/Class;ZZLcgw$a;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classActiveTargetGoal<LivingEntity>
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official b
Lcdd;b()Z
-
start
public void start()- Overrides:
start
in classActiveTargetGoal<LivingEntity>
- 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
Lcdd;d()V
-