Class InventoryFingerprint

java.lang.Object
studio.magemonkey.fusion.gui.recipe.InventoryFingerprint

public class InventoryFingerprint extends Object
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 Details

    • InventoryFingerprint

      public InventoryFingerprint()
  • Method Details

    • fingerprint

      public static byte[] fingerprint(org.bukkit.entity.Player p)