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_312991_, CommandResultCallback p_310583_) default void
void
onResult
(boolean p_312490_, int p_311494_) default void
onSuccess
(int p_312969_)
-
Field Details
-
EMPTY
-
-
Method Details
-
onResult
void onResult(boolean p_312490_, int p_311494_) -
onSuccess
default void onSuccess(int p_312969_) -
onFailure
default void onFailure() -
chain
static CommandResultCallback chain(CommandResultCallback p_312991_, CommandResultCallback p_310583_)
-