Interface LazyIterationConsumer<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LazyIterationConsumer<T>
A consumer used in an iteration that can be aborted early.
Mappings:
Namespace Name
official amx
intermediary net/minecraft/class_7927
named net/minecraft/util/function/LazyIterationConsumer
  • Method Details

    • accept

      Mappings:
      Namespace Name Mixin selector
      official accept Lamx;accept(Ljava/lang/Object;)Lamx$a;
      intermediary accept Lnet/minecraft/class_7927;accept(Ljava/lang/Object;)Lnet/minecraft/class_7927$class_7928;
      named accept Lnet/minecraft/util/function/LazyIterationConsumer;accept(Ljava/lang/Object;)Lnet/minecraft/util/function/LazyIterationConsumer$NextIteration;
    • forConsumer

      static <T> LazyIterationConsumer<T> forConsumer(Consumer<T> consumer)
      Mappings:
      Namespace Name Mixin selector
      official forConsumer Lamx;forConsumer(Ljava/util/function/Consumer;)Lamx;
      intermediary forConsumer Lnet/minecraft/class_7927;forConsumer(Ljava/util/function/Consumer;)Lnet/minecraft/class_7927;
      named forConsumer Lnet/minecraft/util/function/LazyIterationConsumer;forConsumer(Ljava/util/function/Consumer;)Lnet/minecraft/util/function/LazyIterationConsumer;