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.

@FunctionalInterface public interface FeedbackConsumer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FeedbackConsumer
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String key, int total, int count, CommandSender target, ComponentAccessor<EntityStore> componentAccessor)
    Invoked during BlockSelection operations to send feedback to its owner.
  • Field Details

  • 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 - The ComponentAccessor<EntityStore> for component access.