public final class InventorySource
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InventorySource.Flag |
static class |
InventorySource.Type |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static InventorySource |
fromContainerWindowId(int containerId) |
static InventorySource |
fromCreativeInventory() |
static InventorySource |
fromGlobalInventory() |
static InventorySource |
fromInvalid() |
static InventorySource |
fromNonImplementedTodo(int containerId) |
static InventorySource |
fromUntrackedInteractionUI(int containerId) |
static InventorySource |
fromWorldInteraction(@NonNull InventorySource.Flag flag) |
int |
getContainerId() |
InventorySource.Flag |
getFlag() |
InventorySource.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public static InventorySource fromContainerWindowId(int containerId)
public static InventorySource fromCreativeInventory()
public static InventorySource fromGlobalInventory()
public static InventorySource fromInvalid()
public static InventorySource fromNonImplementedTodo(int containerId)
public static InventorySource fromUntrackedInteractionUI(int containerId)
public static InventorySource fromWorldInteraction(@NonNull InventorySource.Flag flag)
public InventorySource.Type getType()
public int getContainerId()
public InventorySource.Flag getFlag()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object