public abstract class BaseContainerManager extends Object implements ContainerManager
| Constructor and Description |
|---|
BaseContainerManager(PlayerSession player,
com.nukkitx.protocol.bedrock.data.ContainerId containerId) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getItems() |
ItemStack |
getSlot(int slot) |
abstract void |
init() |
void |
setData(int type,
int data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainerId, getPlayerpublic BaseContainerManager(PlayerSession player, com.nukkitx.protocol.bedrock.data.ContainerId containerId)
public ItemStack getSlot(int slot)
getSlot in interface ContainerManagerpublic ItemStack getItems()
getItems in interface ContainerManagerpublic void setData(int type,
int data)
setData in interface ContainerManagerpublic abstract void init()
Copyright © 2017–2020 NukkitX. All rights reserved.