Package org.bukkit.inventory.meta.trim
Interface TrimPattern
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,Keyed
,Translatable
Represents a pattern that may be used in an
ArmorTrim
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
static final TrimPattern
-
Method Summary
Modifier and TypeMethodDescriptionGet the description of thisTrimPattern
.getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.this method assumes thatdescription()
will always be a translatable component which is not guaranteed.
-
Field Details
-
SENTRY
-
DUNE
-
COAST
-
WILD
-
WARD
-
EYE
-
VEX
-
TIDE
-
SNOUT
-
RIB
-
SPIRE
-
WAYFINDER
-
SHAPER
-
SILENCE
-
RAISER
-
HOST
-
FLOW
-
BOLT
-
-
Method Details
-
description
Get the description of thisTrimPattern
.- Returns:
- the description
-
getTranslationKey
Deprecated, for removal: This API element is subject to removal in a future version.this method assumes thatdescription()
will always be a translatable component which is not guaranteed.Description copied from interface:Translatable
Get the translation key, suitable for use in a translation component.- Specified by:
getTranslationKey
in interfaceTranslatable
- Returns:
- the translation key
-
getKey
Deprecated, for removal: This API element is subject to removal in a future version.useRegistry.getKey(Keyed)
andRegistry.TRIM_PATTERN
. TrimPatterns can exist without a key.Description copied from interface:Keyed
Return the namespaced identifier for this object.
-
Registry.getKey(Keyed)
andRegistry.TRIM_PATTERN
.