类 RemoveOffHandItemTask<E extends PiglinEntity>


  • public class RemoveOffHandItemTask<E extends PiglinEntity>
    extends Task<E>
    Mappings:
    Namespace Name
    official bil
    intermediary net/minecraft/class_4830
    named net/minecraft/entity/ai/brain/task/RemoveOffHandItemTask
    • 构造器详细资料

      • RemoveOffHandItemTask

        public RemoveOffHandItemTask()
    • 方法详细资料

      • shouldRun

        protected boolean shouldRun​(ServerWorld serverWorld,
                                    E e)
        覆盖:
        shouldRun 在类中 Task<E extends PiglinEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lbil;a(Labj;Lbib;)Z
        intermediary method_24835 Lnet/minecraft/class_4830;method_24835(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;)Z
        named shouldRun Lnet/minecraft/entity/ai/brain/task/RemoveOffHandItemTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;)Z
      • run

        protected void run​(ServerWorld serverWorld,
                           E e,
                           long long2)
        覆盖:
        run 在类中 Task<E extends PiglinEntity>
        Mappings:
        Namespace Name Mixin selector
        official a Lbil;a(Labj;Lbib;J)V
        intermediary method_24630 Lnet/minecraft/class_4830;method_24630(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
        named run Lnet/minecraft/entity/ai/brain/task/RemoveOffHandItemTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V