Interface TrimPatternRegistryEntry
- All Known Subinterfaces:
TrimPatternRegistryEntry.Builder
@NonExtendable
public interface TrimPatternRegistryEntry
A data-centric version-specific registry entry for the
TrimPattern type.- Since:
- 26.2
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder forTrimPatternRegistryEntryplugins may change in applicable registry events. -
Method Summary
-
Method Details
-
assetId
@Contract(pure=true) net.kyori.adventure.key.Key assetId()Provides the asset id of the trim pattern.- Returns:
- the asset id
- Since:
- 26.2
-
description
@Contract(pure=true) net.kyori.adventure.text.Component description()Provides the description of the trim pattern.- Returns:
- the description
- Since:
- 26.2
-
decal
@Contract(pure=true) boolean decal()Checks if the trim pattern is a decal.- Returns:
- true if decal, false otherwise
- Since:
- 26.2
-