Package net.minecraft.entity.ai.goal
Class StayIndoorsGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.StayIndoorsGoal
public class StayIndoorsGoal extends Goal
- Mappings:
Namespace Name official rmintermediary net/minecraft/class_1799named net/minecraft/entity/ai/goal/StayIndoorsGoal
-
Field Summary
Fields Modifier and Type Field Description private VillageDoordoorprivate PassivePathFindingEntityentityprivate intxprivate inty -
Constructor Summary
Constructors Constructor Description StayIndoorsGoal(PassivePathFindingEntity entity) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()voidstart()voidstop()Methods inherited from class net.minecraft.entity.ai.goal.Goal
method_7363, method_7368, method_7369, tick
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official aLrm;a:Lpy;intermediary field_7689Lnet/minecraft/class_1799;field_7689:Lnet/minecraft/class_1760;named entityLnet/minecraft/entity/ai/goal/StayIndoorsGoal;entity:Lnet/minecraft/entity/PassivePathFindingEntity;
-
door
- Mappings:
Namespace Name Mixin selector official bLrm;b:Lte;intermediary field_7690Lnet/minecraft/class_1799;field_7690:Lnet/minecraft/class_1840;named doorLnet/minecraft/entity/ai/goal/StayIndoorsGoal;door:Lnet/minecraft/village/VillageDoor;
-
x
private int x- Mappings:
Namespace Name Mixin selector official cLrm;c:Iintermediary field_7691Lnet/minecraft/class_1799;field_7691:Inamed xLnet/minecraft/entity/ai/goal/StayIndoorsGoal;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official dLrm;d:Iintermediary field_7692Lnet/minecraft/class_1799;field_7692:Inamed yLnet/minecraft/entity/ai/goal/StayIndoorsGoal;y:I
-
-
Constructor Details
-
StayIndoorsGoal
- Mappings:
Namespace Name Mixin selector official <init>Lrm;<init>(Lpy;)Vintermediary <init>Lnet/minecraft/class_1799;<init>(Lnet/minecraft/class_1760;)Vnamed <init>Lnet/minecraft/entity/ai/goal/StayIndoorsGoal;<init>(Lnet/minecraft/entity/PassivePathFindingEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal- Mappings:
Namespace Name Mixin selector official bLrd;b()Zintermediary method_7364Lnet/minecraft/class_1789;method_7364()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start() -
stop
public void stop()
-