Interface MutableTestFramework

All Superinterfaces:
TestFramework
All Known Implementing Classes:
TestFrameworkImpl

@ParametersAreNonnullByDefault public interface MutableTestFramework extends TestFramework
Interface with directly mutating methods for TestFrameworks.
See Also:
  • Field Details

    • REFERENCE_CODEC

      static final com.mojang.serialization.Codec<TestFramework> REFERENCE_CODEC
  • Method Details

    • configuration

      FrameworkConfiguration configuration()
    • init

      void init(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container)
    • registerCommands

      void registerCommands(com.mojang.brigadier.builder.LiteralArgumentBuilder<net.minecraft.commands.CommandSourceStack> node)
    • collectTests

      List<Test> collectTests(net.neoforged.fml.ModContainer container)
    • playerTestStore

      PlayerTestStore playerTestStore()
    • commandName

      String commandName()
    • buildCommand

      default String buildCommand(String subCommand)
    • setStatusCommand

      default net.minecraft.network.chat.ClickEvent setStatusCommand(String testId, Test.Result result, String message)
    • enableCommand

      default net.minecraft.network.chat.ClickEvent enableCommand(String id)
    • disableCommand

      default net.minecraft.network.chat.ClickEvent disableCommand(String id)
    • tests

      Description copied from interface: TestFramework
      Returns the Tests instance of this framework.
      Specified by:
      tests in interface TestFramework
      Returns:
      the Tests instance of this framework