Package de.eldoria.jacksonbukkit.util
Class PaperFeatures
java.lang.Object
de.eldoria.jacksonbukkit.util.PaperFeatures
Class used to check for api features of a Paper server.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
True when Adventure is presentstatic final boolean
True when MiniMessages is presentstatic final boolean
True when MiniMessages is presentstatic final boolean
True whenItemStack
supportsItemStack#serializeAsBytes()
static final boolean
True whenColor
supports alpha values. -
Constructor Summary
-
Method Summary
-
Field Details
-
IS_RGBA
public static final boolean IS_RGBATrue whenColor
supports alpha values. -
HAS_SERIALIZE_AS_BYTES
public static final boolean HAS_SERIALIZE_AS_BYTESTrue whenItemStack
supportsItemStack#serializeAsBytes()
-
HAS_MINI_MESSAGE
public static final boolean HAS_MINI_MESSAGETrue when MiniMessages is present -
HAS_COMPONENT_COMPACT
public static final boolean HAS_COMPONENT_COMPACTTrue when MiniMessages is present -
HAS_ADVENTURE
public static final boolean HAS_ADVENTURETrue when Adventure is present
-
-
Constructor Details
-
PaperFeatures
public PaperFeatures()
-