Class PylonArgument
-
- All Implemented Interfaces:
-
net.kyori.adventure.text.ComponentLike,net.kyori.adventure.text.TranslationArgumentLike,net.kyori.adventure.text.VirtualComponentRenderer
public final class PylonArgument implements VirtualComponentRenderer<Unit>, TranslationArgumentLike
A TranslationArgument only to be used when translating Pylon keys
-
-
Method Summary
Modifier and Type Method Description final StringgetName()final ComponentLikegetValue()ComponentLikeapply(Unit context)TranslationArgumentasTranslationArgument()final static PylonArgumentof(String name, ComponentLike value)final static PylonArgumentof(String name, String value)final static PylonArgumentof(String name, Integer value)final static PylonArgumentof(String name, Long value)final static PylonArgumentof(String name, Double value)final static PylonArgumentof(String name, Float value)final static PylonArgumentof(String name, Boolean value)final static PylonArgumentof(String name, Character value)-
Methods inherited from class net.kyori.adventure.text.VirtualComponentRenderer
fallbackString -
Methods inherited from class net.kyori.adventure.text.ComponentLike
asComponent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getValue
final ComponentLike getValue()
-
apply
ComponentLike apply(Unit context)
-
asTranslationArgument
TranslationArgument asTranslationArgument()
-
of
final static PylonArgument of(String name, ComponentLike value)
-
of
final static PylonArgument of(String name, String value)
-
of
final static PylonArgument of(String name, Integer value)
-
of
final static PylonArgument of(String name, Long value)
-
of
final static PylonArgument of(String name, Double value)
-
of
final static PylonArgument of(String name, Float value)
-
of
final static PylonArgument of(String name, Boolean value)
-
of
final static PylonArgument of(String name, Character value)
-
-
-
-