public class InventoryFactoryBukkit extends java.lang.Object implements InventoryFactory
| Modifier and Type | Field and Description |
|---|---|
static InventoryFactory |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
InventoryFactoryBukkit() |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull InventoryFactory |
bukkitOrPaper() |
@NotNull org.bukkit.inventory.Inventory |
create(@Nullable org.bukkit.inventory.InventoryHolder holder,
@NotNull org.bukkit.event.inventory.InventoryType type,
int size,
@Nullable java.lang.Object title) |
public static final InventoryFactory INSTANCE
@NotNull public static @NotNull InventoryFactory bukkitOrPaper()
@NotNull
public @NotNull org.bukkit.inventory.Inventory create(@Nullable
@Nullable org.bukkit.inventory.InventoryHolder holder,
@NotNull
@NotNull org.bukkit.event.inventory.InventoryType type,
int size,
@Nullable
@Nullable java.lang.Object title)
create in interface InventoryFactory