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 official bss$b
intermediary net/minecraft/class_7691$class_7693
named net/minecraft/entity/passive/CamelBrain$SitOrStandTask
-
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 official c
Lbss$b;c:I
intermediary field_40160
Lnet/minecraft/class_7691$class_7693;field_40160:I
named lastPoseTickDelta
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;lastPoseTickDelta:I
-
-
Constructor Details
-
SitOrStandTask
public SitOrStandTask(int lastPoseSecondsDelta) - Mappings:
Namespace Name Mixin selector official <init>
Lbss$b;<init>(I)V
intermediary <init>
Lnet/minecraft/class_7691$class_7693;<init>(I)V
named <init>
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;<init>(I)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<CamelEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbss$b;a(Laid;Lbsr;)Z
intermediary method_45371
Lnet/minecraft/class_7691$class_7693;method_45371(Lnet/minecraft/class_3218;Lnet/minecraft/class_7689;)Z
named shouldRun
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/CamelEntity;)Z
-
run
- Overrides:
run
in classMultiTickTask<CamelEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbss$b;a(Laid;Lbsr;J)V
intermediary method_45372
Lnet/minecraft/class_7691$class_7693;method_45372(Lnet/minecraft/class_3218;Lnet/minecraft/class_7689;J)V
named run
Lnet/minecraft/entity/passive/CamelBrain$SitOrStandTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/CamelEntity;J)V
-