Package io.papermc.paper.registry.data
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 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.
-
translationKey
String translationKey()Provides the translation key for displaying the pattern inside the banner's tooltip.- Returns:
- the translation key.
-