Class TrimMaterialMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.trim.TrimMaterialMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,TrimMaterial,Keyed,Translatable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTrimMaterialMock(com.google.gson.JsonObject data) Deprecated, for removal: This API element is subject to removal in a future version.TrimMaterialMock(NamespacedKey key, net.kyori.adventure.text.Component description, String translationKey) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.Componentstatic TrimMaterialMockfrom(com.google.gson.JsonObject data) @NotNull NamespacedKeygetKey()@NotNull String
-
Constructor Details
-
TrimMaterialMock
@Internal public TrimMaterialMock(NamespacedKey key, net.kyori.adventure.text.Component description, String translationKey) -
TrimMaterialMock
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 interfaceTrimMaterial
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatable- Specified by:
getTranslationKeyin interfaceTrimMaterial
-
getKey
- Specified by:
getKeyin interfaceKeyed- Specified by:
getKeyin interfaceTrimMaterial
-
from
-