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