Class HashedArmorpiece

java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.HashedArmorpiece

public final class HashedArmorpiece extends Object
This class serves as a way of checking whether a Player has changed their armor between ticks. We do that by storing the hash of their armor and a reference to the corresponding SlimefunArmorPiece if such a correlation exists. This gives us a significant performance improvement as we only need to check for a SlimefunArmorPiece if the item diverged in the first place.
Author:
TheBusyBiscuit
See Also: