Package net.minecraft.entity.ai.goal
Class RaidGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.ActiveTargetGoal<T>
net.minecraft.entity.ai.goal.RaidGoal<T>
- Mappings:
Namespace Name official boq
intermediary net/minecraft/class_3909
named net/minecraft/entity/ai/goal/RaidGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
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
ConstructorDescriptionRaidGoal
(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable Predicate<LivingEntity> 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, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
MAX_COOLDOWN
private static final int MAX_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lboq;i:I
intermediary field_30231
Lnet/minecraft/class_3909;field_30231:I
named MAX_COOLDOWN
Lnet/minecraft/entity/ai/goal/RaidGoal;MAX_COOLDOWN:I
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector official j
Lboq;j:I
intermediary field_17282
Lnet/minecraft/class_3909;field_17282:I
named cooldown
Lnet/minecraft/entity/ai/goal/RaidGoal;cooldown:I
-
-
Constructor Details
-
RaidGoal
public RaidGoal(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable @Nullable Predicate<LivingEntity> targetPredicate) - Mappings:
Namespace Name Mixin selector official <init>
Lboq;<init>(Lbzw;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
intermediary <init>
Lnet/minecraft/class_3909;<init>(Lnet/minecraft/class_3763;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
named <init>
Lnet/minecraft/entity/ai/goal/RaidGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
-
-
Method Details
-
getCooldown
public int getCooldown()- Mappings:
Namespace Name Mixin selector official i
Lboq;i()I
intermediary method_17352
Lnet/minecraft/class_3909;method_17352()I
named getCooldown
Lnet/minecraft/entity/ai/goal/RaidGoal;getCooldown()I
-
decreaseCooldown
public void decreaseCooldown()- Mappings:
Namespace Name Mixin selector official k
Lboq;k()V
intermediary method_17353
Lnet/minecraft/class_3909;method_17353()V
named decreaseCooldown
Lnet/minecraft/entity/ai/goal/RaidGoal;decreaseCooldown()V
-
canStart
public boolean canStart()- Overrides:
canStart
in classActiveTargetGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbmv;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
start
public void start()- Overrides:
start
in classActiveTargetGoal<T extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbmv;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-