Package net.minecraft.entity.ai.goal
Class PrioritizedGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.PrioritizedGoal
- Mappings:
Namespace Name official bbb
intermediary net/minecraft/class_4135
named net/minecraft/entity/ai/goal/PrioritizedGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeReplacedBy(PrioritizedGoal goal)
boolean
canStart()
boolean
canStop()
boolean
getGoal()
int
int
hashCode()
boolean
void
setControls(EnumSet<Goal.Control> controls)
boolean
void
start()
void
stop()
void
tick()
-
Field Details
-
goal
- Mappings:
Namespace Name Mixin selector official a
Lbbb;a:Lazo;
intermediary field_18416
Lnet/minecraft/class_4135;field_18416:Lnet/minecraft/class_1352;
named goal
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;goal:Lnet/minecraft/entity/ai/goal/Goal;
-
priority
private final int priority- Mappings:
Namespace Name Mixin selector official b
Lbbb;b:I
intermediary field_18417
Lnet/minecraft/class_4135;field_18417:I
named priority
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;priority:I
-
running
private boolean running- Mappings:
Namespace Name Mixin selector official c
Lbbb;c:Z
intermediary field_18418
Lnet/minecraft/class_4135;field_18418:Z
named running
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;running:Z
-
-
Constructor Details
-
PrioritizedGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbbb;<init>(ILazo;)V
intermediary <init>
Lnet/minecraft/class_4135;<init>(ILnet/minecraft/class_1352;)V
named <init>
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;<init>(ILnet/minecraft/entity/ai/goal/Goal;)V
-
-
Method Details
-
canBeReplacedBy
- Mappings:
Namespace Name Mixin selector official a
Lbbb;a(Lbbb;)Z
intermediary method_19055
Lnet/minecraft/class_4135;method_19055(Lnet/minecraft/class_4135;)Z
named canBeReplacedBy
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;canBeReplacedBy(Lnet/minecraft/entity/ai/goal/PrioritizedGoal;)Z
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lazo;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStop
public boolean canStop() -
start
public void start() -
stop
public void stop() -
tick
public void tick() -
setControls
- Overrides:
setControls
in classGoal
- Mappings:
Namespace Name Mixin selector official a
Lazo;a(Ljava/util/EnumSet;)V
intermediary method_6265
Lnet/minecraft/class_1352;method_6265(Ljava/util/EnumSet;)V
named setControls
Lnet/minecraft/entity/ai/goal/Goal;setControls(Ljava/util/EnumSet;)V
-
getControls
- Overrides:
getControls
in classGoal
- Mappings:
Namespace Name Mixin selector official i
Lazo;i()Ljava/util/EnumSet;
intermediary method_6271
Lnet/minecraft/class_1352;method_6271()Ljava/util/EnumSet;
named getControls
Lnet/minecraft/entity/ai/goal/Goal;getControls()Ljava/util/EnumSet;
-
isRunning
public boolean isRunning()- Mappings:
Namespace Name Mixin selector official g
Lbbb;g()Z
intermediary method_19056
Lnet/minecraft/class_4135;method_19056()Z
named isRunning
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;isRunning()Z
-
getPriority
public int getPriority()- Mappings:
Namespace Name Mixin selector official h
Lbbb;h()I
intermediary method_19057
Lnet/minecraft/class_4135;method_19057()I
named getPriority
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;getPriority()I
-
getGoal
- Mappings:
Namespace Name Mixin selector official j
Lbbb;j()Lazo;
intermediary method_19058
Lnet/minecraft/class_4135;method_19058()Lnet/minecraft/class_1352;
named getGoal
Lnet/minecraft/entity/ai/goal/PrioritizedGoal;getGoal()Lnet/minecraft/entity/ai/goal/Goal;
-
equals
-
hashCode
public int hashCode()
-