Interface BannerPatternRegistryEntry

All Known Subinterfaces:
BannerPatternRegistryEntry.Builder

@Experimental @NonExtendable public interface BannerPatternRegistryEntry
A data-centric version-specific registry entry for the PatternType type.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A mutable builder for the BannerPatternRegistryEntry plugins may change in applicable registry events.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the asset id of the pattern type, which is the location of the sprite to use.
    Provides the translation key for displaying the pattern inside the banner's tooltip.
  • Method Details

    • assetId

      Key assetId()
      Provides the asset id of the pattern type, which is the location of the sprite to use.
      Returns:
      the asset id.
    • translationKey

      String translationKey()
      Provides the translation key for displaying the pattern inside the banner's tooltip.
      Returns:
      the translation key.