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
official bss$b
intermediary net/minecraft/class_7691$class_7693
named net/minecraft/entity/passive/CamelBrain$SitOrStandTask
  • 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

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

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