public final class InventorySource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InventorySource.Flag |
static class |
InventorySource.Type |
| Constructor and Description |
|---|
InventorySource() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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)
Copyright © 2018–2019 NukkitX. All rights reserved.