Interface BannerPatternRegistryEntry
- All Known Subinterfaces:
BannerPatternRegistryEntry.Builder
@NonExtendable
public interface BannerPatternRegistryEntry
A data-centric version-specific registry entry for the
PatternType type.- Since:
- 1.21.4
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for theBannerPatternRegistryEntryplugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.key.KeyassetId()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
net.kyori.adventure.key.Key assetId()Provides the asset id of the pattern type, which is the location of the sprite to use.- Returns:
- the asset id
- Since:
- 1.21.4
-
translationKey
String translationKey()Provides the translation key for displaying the pattern inside the banner's tooltip.- Returns:
- the translation key
- Since:
- 1.21.4
-