Interface VolumeCategory.Builder

Enclosing interface:
VolumeCategory

public static interface VolumeCategory.Builder
  • Method Details

    • setId

      This ID has to be between 1 and 16 characters and can only contain lowercase a-z and _.
      Parameters:
      id - the unique ID of the category
      Returns:
      the builder
    • setName

      Parameters:
      name - the full name of the category, that is displayed for the end user
      Returns:
      the builder
    • setDescription

      VolumeCategory.Builder setDescription(@Nullable String description)
      Parameters:
      description - the hover tooltip that is shown for this category
      Returns:
      the builder
    • setIcon

      VolumeCategory.Builder setIcon(@Nullable int[][] icon)
      The array has to be 16x16. Each integer represents a pixel in the RGBA format.
      Parameters:
      icon - the icon that is shown for this category
      Returns:
      the builder
    • build

      Returns:
      the built category