Class HashedStack
java.lang.Object
com.github.retrooper.packetevents.protocol.item.HashedStack
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWARNING: We can't fully reconstruct the ItemStack which was hashed, as all added component values have been hashedstatic Optional
<HashedStack> fromItemStack
(ItemStack stack) int
getCount()
getItem()
static Optional
<HashedStack> read
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, Optional<HashedStack> optStack)
-
Constructor Details
-
HashedStack
-
-
Method Details
-
read
-
write
-
fromItemStack
-
asItemStack
WARNING: We can't fully reconstruct the ItemStack which was hashed, as all added component values have been hashed -
getItem
-
getCount
public int getCount() -
getComponents
-