-
Notifications
You must be signed in to change notification settings - Fork 136
XModules
Crypto Morin edited this page May 23, 2025
·
1 revision
- Supports changed material names for 1.8 up to the latest version.
- Since this class is widely used, some version related functions are in this class. supports(int) - getVersion(), getMajorVersion(String)
- ID (Magic Value) and ItemStack data support.
- Matching materials names with newer and older names.
- Support for duplicated names.
- Support for damageable items.
- Item and Material parser.
- Comparing XMaterial with an ItemStack.
- Material name cleanup for all the methods.
- Java 8 techniques for optimization.
- XMaterial is not related to BlockState, BlockData or MaterialData. You cannot do anything that is related to blocks with this. Adding support for every single block's data is craziness. Use XBlock instead.
- XMaterial v1 Resource