Class TrimPatternMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.trim.TrimPatternMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,TrimPattern,Keyed,Translatable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTrimPatternMock(com.google.gson.JsonObject data) Deprecated, for removal: This API element is subject to removal in a future version.TrimPatternMock(NamespacedKey key, net.kyori.adventure.text.Component description, String translationKey) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.Componentstatic TrimPatternMockfrom(com.google.gson.JsonObject data) @NotNull NamespacedKeygetKey()@NotNull String
-
Constructor Details
-
TrimPatternMock
@Internal public TrimPatternMock(NamespacedKey key, net.kyori.adventure.text.Component description, String translationKey) -
TrimPatternMock
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
data- Json data
-
-
Method Details
-
description
@NotNull public @NotNull net.kyori.adventure.text.Component description()- Specified by:
descriptionin interfaceTrimPattern
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatable- Specified by:
getTranslationKeyin interfaceTrimPattern
-
getKey
- Specified by:
getKeyin interfaceKeyed- Specified by:
getKeyin interfaceTrimPattern
-
from
-