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 official dp
intermediary net/minecraft/class_8935
named net/minecraft/command/ReturnValueConsumer
-
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 official a
Ldp;a:Ldp;
intermediary field_47158
Lnet/minecraft/class_8935;field_47158:Lnet/minecraft/class_8935;
named EMPTY
Lnet/minecraft/command/ReturnValueConsumer;EMPTY:Lnet/minecraft/command/ReturnValueConsumer;
-
-
Method Details
-
onResult
void onResult(boolean successful, int returnValue) - Mappings:
Namespace Name Mixin selector official onResult
Ldp;onResult(ZI)V
intermediary onResult
Lnet/minecraft/class_8935;onResult(ZI)V
named onResult
Lnet/minecraft/command/ReturnValueConsumer;onResult(ZI)V
-
onSuccess
default void onSuccess(int successful) - Mappings:
Namespace Name Mixin selector official onSuccess
Ldp;onSuccess(I)V
intermediary onSuccess
Lnet/minecraft/class_8935;onSuccess(I)V
named onSuccess
Lnet/minecraft/command/ReturnValueConsumer;onSuccess(I)V
-
onFailure
default void onFailure() -
chain
- Mappings:
Namespace Name Mixin selector official chain
Ldp;chain(Ldp;Ldp;)Ldp;
intermediary chain
Lnet/minecraft/class_8935;chain(Lnet/minecraft/class_8935;Lnet/minecraft/class_8935;)Lnet/minecraft/class_8935;
named chain
Lnet/minecraft/command/ReturnValueConsumer;chain(Lnet/minecraft/command/ReturnValueConsumer;Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/command/ReturnValueConsumer;
-