Package net.minecraft.entity.passive
Class CamelBrain.SitOrStandTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<CamelEntity>
net.minecraft.entity.passive.CamelBrain.SitOrStandTask
- All Implemented Interfaces:
Task<CamelEntity>
- Enclosing class:
CamelBrain
- Mappings:
Namespace Name named net/minecraft/entity/passive/CamelBrain$SitOrStandTask
intermediary net/minecraft/class_7691$class_7693
official cjo$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld serverWorld, CamelEntity camelEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, CamelEntity camelEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
finishRunning, getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, tryStarting
-
Field Details
-
lastPoseTickDelta
private final int lastPoseTickDelta- Mappings:
Namespace Name Mixin selector named lastPoseTickDelta
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;lastPoseTickDelta:I
intermediary field_40160
Lnet/minecraft/class_7691$class_7693;field_40160:I
official c
Lcjo$b;c:I
-
-
Constructor Details
-
SitOrStandTask
public SitOrStandTask(int lastPoseSecondsDelta) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7691$class_7693;<init>(I)V
official <init>
Lcjo$b;<init>(I)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<CamelEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/CamelEntity;)Z
intermediary method_45371
Lnet/minecraft/class_7691$class_7693;method_45371(Lnet/minecraft/class_3218;Lnet/minecraft/class_7689;)Z
official a
Lcjo$b;a(Lash;Lcjn;)Z
-
run
- Overrides:
run
in classMultiTickTask<CamelEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/CamelEntity;J)V
intermediary method_45372
Lnet/minecraft/class_7691$class_7693;method_45372(Lnet/minecraft/class_3218;Lnet/minecraft/class_7689;J)V
official a
Lcjo$b;a(Lash;Lcjn;J)V
-