public class RotateContentsTask
extends org.bukkit.scheduler.BukkitRunnable
| Constructor and Description |
|---|
RotateContentsTask(org.bukkit.inventory.Inventory inv)
constructor to make a new task to give a rotation to the inventory passed in
|
| Modifier and Type | Method and Description |
|---|---|
void |
rotateContentsLeft(org.bukkit.inventory.Inventory inv)
Shift the item stacks in an inventory one slot to the "left", moving the
stack on the leftmost side all the way to the rightmost side.
|
void |
run()
scheduler runs this to execute the task.
|
public RotateContentsTask(org.bukkit.inventory.Inventory inv)
public void run()
public void rotateContentsLeft(org.bukkit.inventory.Inventory inv)
inv - The inventory being rotated.