Class ItemStackWrapper

java.lang.Object
org.bukkit.inventory.ItemStack
io.github.thebusybiscuit.slimefun4.utils.itemstack.ItemStackWrapper
All Implemented Interfaces:
Cloneable, ConfigurationSerializable, Translatable

public final class ItemStackWrapper extends ItemStack
This ItemStack, which is not intended for actual usage, caches its ItemMeta. This significantly speeds up any ItemStack comparisons a lot. You cannot invoke equals(Object), hashCode() or any of its setter on an ItemStackWrapper.
Please be very careful when using this.
Author:
TheBusyBiscuit, md5sha256