Interface Task<E extends LivingEntity>

All Known Implementing Classes:
BiasedLongJumpTask, BoneMealTask, BreedTask, CamelBrain.CamelWalkTask, CamelBrain.SitOrStandTask, CelebrateRaidWinTask, CompositeTask, CroakTask, CrossbowAttackTask, DigTask, DismountVehicleTask, EmergeTask, FarmerVillagerTask, FarmerWorkTask, FleeTask, FollowCustomerTask, FrogEatEntityTask, GatherItemsVillagerTask, GiveGiftsToHeroTask, GiveInventoryToLookTargetTask, HoldTradeOffersTask, JumpInBedTask, LeapingChargeTask, LongJumpTask, LookAroundTask, MultiTickTask, PanicTask, PlayDeadTask, PrepareRamTask, RamImpactTask, RandomLookAroundTask, RandomTask, RoarTask, SingleTickTask, SleepTask, SnifferBrain.DiggingTask, SnifferBrain.FeelHappyTask, SnifferBrain.FinishDiggingTask, SnifferBrain.ScentingTask, SnifferBrain.SearchingTask, SnifferBrain.SniffingTask, SniffTask, SonicBoomTask, StayAboveWaterTask, TemptationCooldownTask, TemptTask, VillagerBreedTask, VillagerWorkTask, WaitTask, WalkTowardJobSiteTask, WanderAroundTask

public interface Task<E extends LivingEntity>
Mappings:
Namespace Name
official bky
intermediary net/minecraft/class_7893
named net/minecraft/entity/ai/brain/task/Task
  • Method Details

    • getStatus

      Mappings:
      Namespace Name Mixin selector
      official a Lbky;a()Lbkx$a;
      intermediary method_18921 Lnet/minecraft/class_7893;method_18921()Lnet/minecraft/class_4097$class_4098;
      named getStatus Lnet/minecraft/entity/ai/brain/task/Task;getStatus()Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
    • tryStarting

      boolean tryStarting(ServerWorld world, E entity, long time)
      Mappings:
      Namespace Name Mixin selector
      official e Lbky;e(Lakq;Lbjg;J)Z
      intermediary method_18922 Lnet/minecraft/class_7893;method_18922(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z
      named tryStarting Lnet/minecraft/entity/ai/brain/task/Task;tryStarting(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z
    • tick

      void tick(ServerWorld world, E entity, long time)
      Mappings:
      Namespace Name Mixin selector
      official f Lbky;f(Lakq;Lbjg;J)V
      intermediary method_18923 Lnet/minecraft/class_7893;method_18923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      named tick Lnet/minecraft/entity/ai/brain/task/Task;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
    • stop

      void stop(ServerWorld world, E entity, long time)
      Mappings:
      Namespace Name Mixin selector
      official g Lbky;g(Lakq;Lbjg;J)V
      intermediary method_18925 Lnet/minecraft/class_7893;method_18925(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      named stop Lnet/minecraft/entity/ai/brain/task/Task;stop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
    • getName

      String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbky;b()Ljava/lang/String;
      intermediary method_46910 Lnet/minecraft/class_7893;method_46910()Ljava/lang/String;
      named getName Lnet/minecraft/entity/ai/brain/task/Task;getName()Ljava/lang/String;