Class XModule<XForm extends XModule<XForm, BukkitForm>, BukkitForm>
java.lang.Object
com.cryptomorin.xseries.base.XModule<XForm, BukkitForm>
- Type Parameters:
XForm- the class type associated with the Bukkit type defined by XSeries.BukkitForm- the Bukkit class type associated with the XForm.
- All Implemented Interfaces:
XBase<XForm, BukkitForm>
- Direct Known Subclasses:
XAttribute, XBiome, XEnchantment, XGameRule, XPatternType, XSound
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.final BukkitFormget()String[]getNames()final inthashCode()Identity hash code.final @NotNull Stringname()Should be used for saving data.protected voidsetEnumName(XRegistry<XForm, BukkitForm> registry, String enumName) final StringtoString()Methods inherited from interface XBase
friendlyName, getMetadata, isSupported, or
-
Constructor Details
-
XModule
-
-
Method Details
-
name
Should be used for saving data.- Specified by:
namein interfaceXBase<XForm extends XModule<XForm, BukkitForm>, BukkitForm>
-
setEnumName
-
getNames
- Specified by:
getNamesin interfaceXBase<XForm extends XModule<XForm, BukkitForm>, BukkitForm>
-
get
- Specified by:
getin interfaceXBase<XForm extends XModule<XForm, BukkitForm>, BukkitForm>
-
toString
-
hashCode
-
equals
Deprecated.Identity comparison. Should use==instead.
-