Class MaterialFlatteningUtil
java.lang.Object
com.kamikazejam.kamicommon.util.nms.MaterialFlatteningUtil
A Utility class to provide some helper methods when dealing with the Material Flattening changes.
These methods make no guarantee to EXACTLY map your intentions, but they try their best.
These methods make no guarantee to EXACTLY map your intentions, but they try their best.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Optional
<com.cryptomorin.xseries.XMaterial> findMaterialAndDataMapping
(@NotNull String matName, byte data) static void
-
Constructor Details
-
MaterialFlatteningUtil
public MaterialFlatteningUtil()
-
-
Method Details
-
initialize
public static void initialize() -
findMaterialAndDataMapping
-