Class AdmireItemTimeLimitTask<E extends PiglinEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.AdmireItemTimeLimitTask<E>

public class AdmireItemTimeLimitTask<E extends PiglinEntity>
extends Task<E>
Mappings:
Namespace Name
official bgq
intermediary net/minecraft/class_5430
named net/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask
  • Field Details

    • timeLimit

      private final int timeLimit
      Mappings:
      Namespace Name Mixin selector
      official b Lbgq;b:I
      intermediary field_25815 Lnet/minecraft/class_5430;field_25815:I
      named timeLimit Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;timeLimit:I
    • cooldown

      private final int cooldown
      Mappings:
      Namespace Name Mixin selector
      official c Lbgq;c:I
      intermediary field_25816 Lnet/minecraft/class_5430;field_25816:I
      named cooldown Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;cooldown:I
  • Constructor Details

    • AdmireItemTimeLimitTask

      public AdmireItemTimeLimitTask​(int timeLimit, int cooldown)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbgq;<init>(II)V
      intermediary <init> Lnet/minecraft/class_5430;<init>(II)V
      named <init> Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;<init>(II)V
  • Method Details

    • shouldRun

      protected boolean shouldRun​(ServerWorld serverWorld, E e)
      Overrides:
      shouldRun in class Task<E extends PiglinEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbgq;a(Laav;Lbgh;)Z
      intermediary method_30337 Lnet/minecraft/class_5430;method_30337(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • run

      protected void run​(ServerWorld serverWorld, E e, long long2)
      Overrides:
      run in class Task<E extends PiglinEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbgq;a(Laav;Lbgh;J)V
      intermediary method_30338 Lnet/minecraft/class_5430;method_30338(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
      named run Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V