| Modifier and Type | Method and Description |
|---|---|
BlockBehavior.Result |
BlockBehavior.onBreak(NukkitPlayerSession session,
Block block,
ItemStack withItem) |
BlockBehavior.Result |
SimpleBlockBehavior.onBreak(NukkitPlayerSession session,
Block block,
ItemStack withItem) |
BlockBehavior.Result |
ChestBlockBehavior.onBreak(NukkitPlayerSession session,
Block block,
ItemStack withItem) |
boolean |
BlockBehavior.onPlace(NukkitPlayerSession session,
Block against,
ItemStack withItem) |
boolean |
CropBlockBehavior.onPlace(NukkitPlayerSession session,
Block against,
ItemStack withItem) |
boolean |
SimpleBlockBehavior.onPlace(NukkitPlayerSession session,
Block against,
ItemStack withItem) |
boolean |
ChestBlockBehavior.onPlace(NukkitPlayerSession session,
Block against,
ItemStack withItem) |
boolean |
BlockBehavior.onUse(Block block,
NukkitPlayerSession player) |
boolean |
SimpleBlockBehavior.onUse(Block block,
NukkitPlayerSession player) |
| Modifier and Type | Method and Description |
|---|---|
NukkitPlayerSession |
NukkitFillingContainer.getPlayerSession() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NukkitContainer.addItem(ItemStack item,
NukkitPlayerSession session) |
boolean |
NukkitContainer.addItemToFirstEmptySlot(ItemStack item,
NukkitPlayerSession session) |
void |
NukkitContainer.clearItem(int slot,
NukkitPlayerSession session) |
void |
NukkitContainer.close(NukkitPlayerSession session) |
void |
NukkitContainer.onClose(NukkitPlayerSession session) |
void |
NukkitSimpleContainer.onClose(NukkitPlayerSession session) |
void |
NukkitFillingContainer.onClose(NukkitPlayerSession session) |
void |
NukkitEnderChestContainer.onClose(NukkitPlayerSession session) |
void |
NukkitCraftingContainer.onClose(NukkitPlayerSession session) |
void |
NukkitContainer.onOpen(NukkitPlayerSession session) |
void |
NukkitSimpleContainer.onOpen(NukkitPlayerSession session) |
void |
NukkitFillingContainer.onOpen(NukkitPlayerSession session) |
void |
NukkitEnderChestContainer.onOpen(NukkitPlayerSession session) |
void |
NukkitCraftingContainer.onOpen(NukkitPlayerSession session) |
void |
ContainerContentListener.onSlotChange(int slot,
ItemStack oldItem,
ItemStack newItem,
Container container,
NukkitPlayerSession session)
Called when a single slot is changed within the observed inventory.
|
void |
NukkitContainer.open(NukkitPlayerSession session) |
void |
NukkitContainer.setItem(int slot,
ItemStack item,
NukkitPlayerSession session) |
| Constructor and Description |
|---|
NukkitEnderChestContainer(NukkitPlayerSession session) |
NukkitFillingContainer(NukkitPlayerSession session,
int size,
ContainerType type) |
| Modifier and Type | Method and Description |
|---|---|
NukkitPlayerSession |
ContainerManager.getPlayer() |
| Constructor and Description |
|---|
BaseContainerManager(NukkitPlayerSession player,
com.nukkitx.protocol.bedrock.data.ContainerId containerId) |
| Constructor and Description |
|---|
PlayerDataComponent(NukkitPlayerSession session) |
| Modifier and Type | Method and Description |
|---|---|
NukkitPlayerSession |
PlayerInitializationEvent.getPlayerSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlayerInitializationEvent.setPlayerSession(NukkitPlayerSession playerSession) |
| Constructor and Description |
|---|
PlayerInitializationEvent(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> bedrockSession,
NukkitLevel level) |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.packet.InventoryContentPacket |
Inventories.newInventoryContentPacket(NukkitPlayerSession player,
com.nukkitx.protocol.bedrock.data.ContainerId id) |
void |
NukkitPlayerInventory.setItem(int slot,
ItemStack item,
NukkitPlayerSession session,
com.nukkitx.protocol.bedrock.data.ContainerId id) |
void |
NukkitPlayerInventory.setSelectedItem(ItemStack item,
NukkitPlayerSession session) |
| Constructor and Description |
|---|
NukkitInventory(NukkitPlayerSession session) |
NukkitPlayerInventory(NukkitPlayerSession session) |
| Modifier and Type | Method and Description |
|---|---|
InventoryTransactionResult |
InventoryTransaction.execute(NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
InventoryTransaction.handle(NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
ItemReleaseTransaction.handle(NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
ItemUseTransaction.handle(NukkitPlayerSession player,
boolean ignoreChecks) |
void |
InventoryTransaction.onTransactionError(NukkitPlayerSession player,
InventoryTransactionResult result) |
void |
ItemUseTransaction.onTransactionError(NukkitPlayerSession player,
InventoryTransactionResult result) |
InventoryTransactionResult |
InventoryTransaction.verify(NukkitPlayerSession player,
boolean ignoreChecks) |
| Modifier and Type | Method and Description |
|---|---|
InventoryTransactionResult |
CreativeInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
UntrackedInteractionUIInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
WorldInteractionInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
InventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
NormalInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
NonImplementedTodoInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
UnknownSourceInventoryActionFunction.execute(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player) |
InventoryTransactionResult |
CreativeInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
UntrackedInteractionUIInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
WorldInteractionInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
InventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
NormalInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
NonImplementedTodoInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
InventoryTransactionResult |
UnknownSourceInventoryActionFunction.verify(com.nukkitx.protocol.bedrock.data.InventoryAction action,
NukkitPlayerSession player,
boolean ignoreChecks) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleItemBehavior.onInteract(NukkitPlayerSession player,
ItemStack item,
BaseEntity entity) |
void |
BucketItemBehavior.onInteract(NukkitPlayerSession player,
ItemStack item,
BaseEntity entity) |
void |
SimpleItemBehavior.onInteract(NukkitPlayerSession player,
ItemStack item,
Block block) |
void |
BucketItemBehavior.onInteract(NukkitPlayerSession player,
ItemStack item,
Block block) |
void |
SimpleItemBehavior.onRelease(NukkitPlayerSession player,
ItemStack item) |
| Modifier and Type | Method and Description |
|---|---|
List<NukkitPlayerSession> |
LevelEntityManager.getPlayers() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NukkitSessionManager.add(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session) |
protected void |
NukkitSessionManager.onAddSession(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session) |
protected void |
NukkitSessionManager.onRemoveSession(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session) |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> |
NukkitPlayerSession.getBedrockSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
NukkitPlayerSession.onSlotChange(int slot,
ItemStack oldItem,
ItemStack newItem,
Container container,
NukkitPlayerSession session) |
| Constructor and Description |
|---|
LoginPacketHandler(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session,
NukkitServer server) |
NukkitPlayerSession(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session,
NukkitLevel level) |
ResourcePackPacketHandler(com.nukkitx.protocol.bedrock.session.BedrockSession<NukkitPlayerSession> session,
NukkitServer server) |
Copyright © 2017–2019 NukkitX. All rights reserved.