Cardboard Box
A simple library for storing and retrieving ItemStacks in Bukkit-related environments.
Source Code
Adding to your project
Repository
<repository>
<id>dependency.download</id>
<url>https://dependency.download/releases</url>
</repository>
Dependency
<dependency>
<groupId>dev.kitteh</groupId>
<artifactId>cardboardbox</artifactId>
<version>2.0.0</version>
</dependency>
Example Code
Example demonstration of storing and retrieving the item in a player's hand: