Package net.minecraft.command
Interface ReturnValueConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Mappings:
Namespace Name named net/minecraft/command/ReturnValueConsumer
intermediary net/minecraft/class_8935
official em
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReturnValueConsumer
default void
void
onResult
(boolean successful, int returnValue) default void
onSuccess
(int successful)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/command/ReturnValueConsumer;EMPTY:Lnet/minecraft/command/ReturnValueConsumer;
intermediary field_47158
Lnet/minecraft/class_8935;field_47158:Lnet/minecraft/class_8935;
official a
Lem;a:Lem;
-
-
Method Details
-
onResult
void onResult(boolean successful, int returnValue) - Mappings:
Namespace Name Mixin selector named onResult
Lnet/minecraft/command/ReturnValueConsumer;onResult(ZI)V
intermediary onResult
Lnet/minecraft/class_8935;onResult(ZI)V
official onResult
Lem;onResult(ZI)V
-
onSuccess
default void onSuccess(int successful) - Mappings:
Namespace Name Mixin selector named onSuccess
Lnet/minecraft/command/ReturnValueConsumer;onSuccess(I)V
intermediary onSuccess
Lnet/minecraft/class_8935;onSuccess(I)V
official onSuccess
Lem;onSuccess(I)V
-
onFailure
default void onFailure() -
chain
- Mappings:
Namespace Name Mixin selector named chain
Lnet/minecraft/command/ReturnValueConsumer;chain(Lnet/minecraft/command/ReturnValueConsumer;Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/command/ReturnValueConsumer;
intermediary chain
Lnet/minecraft/class_8935;chain(Lnet/minecraft/class_8935;Lnet/minecraft/class_8935;)Lnet/minecraft/class_8935;
official chain
Lem;chain(Lem;Lem;)Lem;
-