public final class InventorySource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InventorySource.Flag |
static class |
InventorySource.Type |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static InventorySource |
fromContainerWindowId(ContainerId containerId) |
static InventorySource |
fromCreativeInventory() |
static InventorySource |
fromGlobalInventory() |
static InventorySource |
fromInvalid() |
static InventorySource |
fromNonImplementedTodo(ContainerId containerId) |
static InventorySource |
fromUntrackedInteractionUI(ContainerId containerId) |
static InventorySource |
fromWorldInteraction(InventorySource.Flag flag) |
ContainerId |
getContainerId() |
InventorySource.Flag |
getFlag() |
InventorySource.Type |
getType() |
int |
hashCode() |
String |
toString() |
public static InventorySource fromContainerWindowId(@Nonnull ContainerId containerId)
public static InventorySource fromCreativeInventory()
public static InventorySource fromGlobalInventory()
public static InventorySource fromInvalid()
public static InventorySource fromNonImplementedTodo(@Nonnull ContainerId containerId)
public static InventorySource fromUntrackedInteractionUI(@Nonnull ContainerId containerId)
public static InventorySource fromWorldInteraction(@Nonnull InventorySource.Flag flag)
public InventorySource.Type getType()
public ContainerId getContainerId()
public InventorySource.Flag getFlag()
Copyright © 2018–2019 NukkitX. All rights reserved.