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 named net/minecraft/entity/ai/goal/RaidGoalintermediary net/minecraft/class_3909official cch
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
ConstructorsConstructorDescriptionRaidGoal(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, setTargetEntityMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stopMethods 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 named MAX_COOLDOWNLnet/minecraft/entity/ai/goal/RaidGoal;MAX_COOLDOWN:Iintermediary field_30231Lnet/minecraft/class_3909;field_30231:Iofficial iLcch;i:I
-
cooldown
private int cooldown- Mappings:
Namespace Name Mixin selector named cooldownLnet/minecraft/entity/ai/goal/RaidGoal;cooldown:Iintermediary field_17282Lnet/minecraft/class_3909;field_17282:Iofficial jLcch;j:I
-
-
Constructor Details
-
RaidGoal
public RaidGoal(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable @Nullable Predicate<LivingEntity> targetPredicate) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/ai/goal/RaidGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Ljava/lang/Class;ZLjava/util/function/Predicate;)Vintermediary <init>Lnet/minecraft/class_3909;<init>(Lnet/minecraft/class_3763;Ljava/lang/Class;ZLjava/util/function/Predicate;)Vofficial <init>Lcch;<init>(Lcoj;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
-
-
Method Details
-
getCooldown
public int getCooldown()- Mappings:
Namespace Name Mixin selector named getCooldownLnet/minecraft/entity/ai/goal/RaidGoal;getCooldown()Iintermediary method_17352Lnet/minecraft/class_3909;method_17352()Iofficial iLcch;i()I
-
decreaseCooldown
public void decreaseCooldown()- Mappings:
Namespace Name Mixin selector named decreaseCooldownLnet/minecraft/entity/ai/goal/RaidGoal;decreaseCooldown()Vintermediary method_17353Lnet/minecraft/class_3909;method_17353()Vofficial kLcch;k()V
-
canStart
public boolean canStart()- Overrides:
canStartin classActiveTargetGoal<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
start
public void start()- Overrides:
startin classActiveTargetGoal<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector named startLnet/minecraft/entity/ai/goal/Goal;start()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vofficial dLcam;d()V
-