public class InventoryTransformations extends Object
InventoryTransformation
sModifier and Type | Field and Description |
---|---|
static InventoryTransformation |
EMPTY
A transformation that returns an empty inventory.
|
static InventoryTransformation |
NO_OP
A transformation that returns the incoming inventory without changing anything.
|
static InventoryTransformation |
PLAYER_MAIN_HOTBAR_FIRST
A transformation that puts the Hotbar of a player inventory before the main inventory.
|
static InventoryTransformation |
REVERSE
A transformations that reverses the slot order.
|
Constructor and Description |
---|
InventoryTransformations() |
public static final InventoryTransformation PLAYER_MAIN_HOTBAR_FIRST
This transformation is equivalent to calling Inventory.union(Inventory)
on the query
for Hotbar
with the query for MainPlayerInventory
as parameter.
public static final InventoryTransformation REVERSE
public static final InventoryTransformation NO_OP
public static final InventoryTransformation EMPTY