-
MethodsMethodDescriptionUse
!XMaterial.supports(9)
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 aMap
cache yourself. This method obviously doesn't work for 1.13+ and will not be supported. This is only here for debugging purposes.
XMaterial.supports(13)
instead. This method name can be confusing.