Interface IBracketDumperInfo

All Superinterfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>

public interface IBracketDumperInfo extends com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
Information related to a bracket dumper.
Since:
9.1.0
See Also:
  • Field Summary

    Fields inherited from interface com.mojang.brigadier.Command

    SINGLE_SUCCESS
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.MutableComponent
    Returns a human-readable representation of what the values dumped represent.
    Gets the name of the file on which all dumped values will be written to.
    Gets the name of the sub-command used in ct dump to obtain all values of a specific bracket handler.
    Gets a Stream containing all values that the bracket handler can recognize.

    Methods inherited from interface com.mojang.brigadier.Command

    run
  • Method Details

    • subCommandName

      String subCommandName()
      Gets the name of the sub-command used in ct dump to obtain all values of a specific bracket handler.
      Returns:
      The name of the sub-command.
      Since:
      9.1.0
    • description

      net.minecraft.network.chat.MutableComponent description()
      Returns a human-readable representation of what the values dumped represent.
      Returns:
      The description.
      Since:
      9.1.0
    • dumpedFileName

      String dumpedFileName()
      Gets the name of the file on which all dumped values will be written to.
      Returns:
      The file name where the dump resides.
      Since:
      9.1.0
    • values

      Stream<String> values()
      Gets a Stream containing all values that the bracket handler can recognize.

      In case returning all values is impossible, a valid and complete subset of them can be returned instead. This should be kept to a minimum to ensure complete information wherever possible.

      Returns:
      The values accepted by the bracket handler.
      Since:
      9.1.0