Class ItemDataConverter
java.lang.Object
studio.magemonkey.genesis.managers.misc.ItemDataConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.MaterialconvertMaterial(int ID, byte Data) Convert a material from old to newstatic org.bukkit.MaterialconvertMaterial(org.bukkit.Material m, byte data) Convert a material from old to new
-
Constructor Details
-
ItemDataConverter
public ItemDataConverter()
-
-
Method Details
-
convertMaterial
public static org.bukkit.Material convertMaterial(org.bukkit.Material m, byte data) Convert a material from old to new- Parameters:
m- material to getdata- data value- Returns:
- material
-
convertMaterial
public static org.bukkit.Material convertMaterial(int ID, byte Data) Convert a material from old to new- Parameters:
ID- the id of the itemData- the data of the item- Returns:
- material
-