Seems to work in 1.12, not tested in 1.13 a lot yet. https://pastebin.com/9SYDeKXB XMaterial.java ^ Using the class: Change Code (Text): Material.GOLD_CHESTPLATE to Code (Text): XMaterial.GOLDEN_CHESTPLATE.parseMaterial() It will give Material.GOLDEN_CHESTPLATE in 1.13 to Material.GOLD_CHESTPLATE in 1.12 depending on which one exists in the current server version. Change Code (Text): new ItemStack(Material.WOOL,1,(byte)4); to Code (Text): XMaterial.YELLOW_WOOL.parseItem() This gives An itemstack of material YELLOW_WOOL in 1.13, but an itemstack of material WOOL and data 4 in 1.12 A big, hardcoded solution for 1.8 to 1.13 material/item support. Note that the hardcoding was not scripted, and done to the semi-best of my own knowledge (I'm not sure of the Skulls, Wall banners, Spawn eggs, 1.13 Wood (not planks) and filled flower pots) Materials that don't exist in 1.12 will return as either stone, or a close alternative (eg, XMaterial.BRAIN_CORAL.parseMaterial() will give Material.STONE in 1.12) Older XMaterial classes: https://pastebin.com/sVHmhbhC Old obsolete code kept here for archiving purposes. Spoiler https://pastebin.com/fTZHc0Dm Using the class: Change Code (Text): Material.GOLD_CHESTPLATE to Code (Text): XMaterial.GOLD_CHESTPLATE.parse() It will give Material.GOLD_CHESTPLATE in 1.12 to Material.GOLDEN_CHESTPLATE in 1.13 To try and get a 1.13 material: Code (Text): XMaterial.reqIfNot("RED_WOOL",XMaterial.WOOL) Tries to get the material (from 1.13) called RED_WOOL, if it doesn't exist, return XMaterial.WOOL.parse(); It's a pretty flimsy fix for part of 1.13's problems, and it was made pretty quickly (So some of the stuff are a little weird. I've added comments to the ones I'm unsure of (//UNKNOWN or //UNSURE) Generated the enum with a script, and manually fixed all the red underlines. By default, returns white or oak for stuff like Material.WOOL, Material.WOOD, Material.LOG Before using it, test it yourself. As mentioned above, some of the linked materials may not make sense. Enjoy the lazy fix EDIT: If someone found a better way, please reply. please.