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

public static class CamelBrain.SitOrStandTask extends MultiTickTask<CamelEntity>
Mappings:
Namespace Name
named net/minecraft/entity/passive/CamelBrain$SitOrStandTask
intermediary net/minecraft/class_7691$class_7693
official cjo$b
  • 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

      protected boolean shouldRun(ServerWorld serverWorld, CamelEntity camelEntity)
      Overrides:
      shouldRun in class MultiTickTask<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

      protected void run(ServerWorld serverWorld, CamelEntity camelEntity, long long2)
      Overrides:
      run in class MultiTickTask<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