Package net.minecraft.entity.ai.goal
Class SitGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.SitGoal
public class SitGoal extends Goal
- Mappings:
Namespace Name official ayd
intermediary net/minecraft/class_1386
named net/minecraft/entity/ai/goal/SitGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private TameableEntity
tameable
-
Constructor Summary
Constructors Constructor Description SitGoal(TameableEntity tameable)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
stop()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
tameable
- Mappings:
Namespace Name Mixin selector official a
Layd;a:Lasb;
intermediary field_6597
Lnet/minecraft/class_1386;field_6597:Lnet/minecraft/class_1321;
named tameable
Lnet/minecraft/entity/ai/goal/SitGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
-
-
Constructor Details
-
SitGoal
- Mappings:
Namespace Name Mixin selector official <init>
Layd;<init>(Lasb;)V
intermediary <init>
Lnet/minecraft/class_1386;<init>(Lnet/minecraft/class_1321;)V
named <init>
Lnet/minecraft/entity/ai/goal/SitGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;)V
-
-
Method Details
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
canStart
public boolean canStart() -
start
public void start() -
stop
public void stop()
-