Package net.minecraft.util.function
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.
A consumer used in an iteration that can be aborted early.
- Mappings:
Namespace Name named net/minecraft/util/function/LazyIterationConsumer
intermediary net/minecraft/class_7927
official aws
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Indicates whether to perform the next iteration. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> LazyIterationConsumer
<T> forConsumer
(Consumer<T> consumer)
-
Method Details
-
accept
- Mappings:
Namespace Name Mixin selector named accept
Lnet/minecraft/util/function/LazyIterationConsumer;accept(Ljava/lang/Object;)Lnet/minecraft/util/function/LazyIterationConsumer$NextIteration;
intermediary accept
Lnet/minecraft/class_7927;accept(Ljava/lang/Object;)Lnet/minecraft/class_7927$class_7928;
official accept
Laws;accept(Ljava/lang/Object;)Laws$a;
-
forConsumer
- Mappings:
Namespace Name Mixin selector named forConsumer
Lnet/minecraft/util/function/LazyIterationConsumer;forConsumer(Ljava/util/function/Consumer;)Lnet/minecraft/util/function/LazyIterationConsumer;
intermediary forConsumer
Lnet/minecraft/class_7927;forConsumer(Ljava/util/function/Consumer;)Lnet/minecraft/class_7927;
official forConsumer
Laws;forConsumer(Ljava/util/function/Consumer;)Laws;
-