-
Deprecated MethodsMethodDescriptionNot stable, use
XBlock.isType(Block, XMaterial)orXBlock.isSimilar(Block, XMaterial)instead. If you want to save a block material somewhere, you need to useXMaterial.matchXMaterial(Material)Use XTag.stringMatcher() instead.this method loops through all the available materials and matches their ID usingXMaterial.getId()which takes a really long time. Plugins should no longer support IDs. If you want, you can make aMapcache yourself. This method obviously doesn't work for 1.13+ and will not be supported. This is only here for debugging purposes.not for removal, but usePotionEffectTypeinstead.useXSound.SoundPlayerinstead.useXSound.SoundPlayerinstead.useXSound.play(String, Consumer)instead.Won't work for Folia, useXSound.SoundPlayermanually instead.Won't work for Folia, useXSound.SoundPlayermanually instead.
ReflectionUtils.toArrayClass(Class)instead.