Interface CommandBlockHolderMock

All Superinterfaces:
io.papermc.paper.command.CommandBlockHolder
All Known Implementing Classes:
CommandBlockMock

public interface CommandBlockHolderMock extends io.papermc.paper.command.CommandBlockHolder
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    default @NotNull net.kyori.adventure.text.Component
     
    default void
    lastOutput(@Nullable net.kyori.adventure.text.Component lastOutput)
     
    default void
    setSuccessCount(int successCount)
     

    Methods inherited from interface io.papermc.paper.command.CommandBlockHolder

    getCommand, setCommand
  • Method Details

    • lastOutput

      @NotNull default @NotNull net.kyori.adventure.text.Component lastOutput()
      Specified by:
      lastOutput in interface io.papermc.paper.command.CommandBlockHolder
    • lastOutput

      default void lastOutput(@Nullable @Nullable net.kyori.adventure.text.Component lastOutput)
      Specified by:
      lastOutput in interface io.papermc.paper.command.CommandBlockHolder
    • getSuccessCount

      default int getSuccessCount()
      Specified by:
      getSuccessCount in interface io.papermc.paper.command.CommandBlockHolder
    • setSuccessCount

      default void setSuccessCount(int successCount)
      Specified by:
      setSuccessCount in interface io.papermc.paper.command.CommandBlockHolder