Package com.comphenix.protocol.wrappers
Class WrappedNumberFormat
java.lang.Object
com.comphenix.protocol.wrappers.AbstractWrapper
com.comphenix.protocol.wrappers.WrappedNumberFormat
- Direct Known Subclasses:
WrappedNumberFormat.Blank,WrappedNumberFormat.Fixed,WrappedNumberFormat.Styled
A wrapper around the NumberFormat NMS classes.
- Since:
- 1.20.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
handle, handleType -
Method Summary
Modifier and TypeMethodDescriptionstatic WrappedNumberFormat.Blankblank()static WrappedNumberFormat.Fixedfixed(@NotNull WrappedChatComponent content) static WrappedNumberFormatfromHandle(Object handle) static booleanstatic WrappedNumberFormat.Styledstyled(@NotNull WrappedComponentStyle style) Methods inherited from class com.comphenix.protocol.wrappers.AbstractWrapper
equals, getHandle, getHandleType, hashCode, setHandle, toString
-
Method Details
-
isSupported
public static boolean isSupported()- Returns:
- Whether the NumberFormat classes exist on the current server version
-
fromHandle
-
blank
-
fixed
-
styled
-