Class InventoryFingerprint
java.lang.Object
studio.magemonkey.fusion.gui.recipe.InventoryFingerprint
Helper to build a small MD5 fingerprint of an entire PlayerInventory.
We incorporate:
- Material ordinal
- amount
- customModelData
- displayName
- lore lines
- enchantments
- unbreakable
- durability if Damageable
If MD5 is not available, we fall back to a simple intâhash of slot hashCodes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InventoryFingerprint
public InventoryFingerprint()
-
-
Method Details
-
fingerprint
public static byte[] fingerprint(org.bukkit.entity.Player p)
-