Contents
Interface FeedbackConsumer
- 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
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(String key, int total, int count, CommandSender target, ComponentAccessor<EntityStore> componentAccessor) Invoked during BlockSelection operations to send feedback to its owner.
-
Field Details
-
DEFAULT
-
-
Method Details
-
accept
void accept(@Nonnull String key, int total, int count, @Nonnull CommandSender target, @Nonnull ComponentAccessor<EntityStore> componentAccessor) Invoked during BlockSelection operations to send feedback to its owner.- Parameters:
key- The feedback message key/text.total- The total number of blocks contained in the BlockSelection.count- The current number of blocks placed during the operation.target- The recipient of the feedback message.componentAccessor- TheComponentAccessor<EntityStore>for component access.
-