Package net.minecraft.commands
Interface CommandResultCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandResultCallback
chain
(CommandResultCallback p_309638_, CommandResultCallback p_309688_) default void
void
onResult
(boolean p_309554_, int p_309707_) default void
onSuccess
(int p_309552_)
-
Field Details
-
EMPTY
-
-
Method Details
-
onResult
void onResult(boolean p_309554_, int p_309707_) -
onSuccess
default void onSuccess(int p_309552_) -
onFailure
default void onFailure() -
chain
static CommandResultCallback chain(CommandResultCallback p_309638_, CommandResultCallback p_309688_)
-