Uses of Class
org.cloudburstmc.server.player.CloudPlayer
Packages that use CloudPlayer
Package
Description
-
Uses of CloudPlayer in org.cloudburstmc.server
Methods in org.cloudburstmc.server that return CloudPlayerMethods in org.cloudburstmc.server that return types with arguments of type CloudPlayerMethods in org.cloudburstmc.server with parameters of type CloudPlayerModifier and TypeMethodDescriptionvoidAchievement.broadcast(CloudPlayer player)static booleanAchievement.broadcast(CloudPlayer player, String achievementId)CloudAdventureSettings.clone(CloudPlayer newPlayer)voidCloudServer.removePlayerListData(UUID uuid, CloudPlayer[] players)voidCloudServer.sendFullPlayerListData(CloudPlayer player)voidCloudServer.updatePlayerListData(UUID uuid, long entityId, String name, com.nukkitx.protocol.bedrock.data.skin.SerializedSkin skin, String xboxUserId, CloudPlayer[] players)voidCloudServer.updatePlayerListData(UUID uuid, long entityId, String name, com.nukkitx.protocol.bedrock.data.skin.SerializedSkin skin, CloudPlayer[] players)Method parameters in org.cloudburstmc.server with type arguments of type CloudPlayerModifier and TypeMethodDescriptionstatic voidCloudServer.broadcastPacket(Set<CloudPlayer> players, com.nukkitx.protocol.bedrock.BedrockPacket packet)voidCloudServer.removePlayerListData(UUID uuid, Collection<CloudPlayer> players)voidCloudServer.updatePlayerListData(UUID uuid, long entityId, String name, com.nukkitx.protocol.bedrock.data.skin.SerializedSkin skin, String xboxUserId, Collection<CloudPlayer> players)Constructors in org.cloudburstmc.server with parameters of type CloudPlayerModifierConstructorDescriptionCloudAdventureSettings(CloudPlayer player)CloudAdventureSettings(CloudPlayer player, Map<org.cloudburstmc.api.player.AdventureSetting,Boolean> values) -
Uses of CloudPlayer in org.cloudburstmc.server.block.behavior
Methods in org.cloudburstmc.server.block.behavior with parameters of type CloudPlayerModifier and TypeMethodDescriptionprotected voidBlockBehaviorCauldron.replaceBucket(org.cloudburstmc.api.item.ItemStack oldBucket, CloudPlayer player, org.cloudburstmc.api.item.ItemStack newBucket) -
Uses of CloudPlayer in org.cloudburstmc.server.blockentity
Methods in org.cloudburstmc.server.blockentity with parameters of type CloudPlayerModifier and TypeMethodDescriptionbooleanBaseBlockEntity.updateFromClient(com.nukkitx.nbt.NbtMap tag, CloudPlayer player)protected booleanBaseBlockEntity.updateNbtMap(com.nukkitx.nbt.NbtMap nbt, CloudPlayer player)Called when a player updates a block entity's NBT data for example when writing on a sign.booleanBeaconBlockEntity.updateNbtMap(com.nukkitx.nbt.NbtMap nbt, CloudPlayer player)booleanSignBlockEntity.updateNbtMap(com.nukkitx.nbt.NbtMap tag, CloudPlayer player) -
Uses of CloudPlayer in org.cloudburstmc.server.command
Methods in org.cloudburstmc.server.command with parameters of type CloudPlayerModifier and TypeMethodDescriptioncom.nukkitx.protocol.bedrock.data.command.CommandDataCommand.toNetwork(CloudPlayer player)Generates theCommandDataused inAvailableCommandsPacketwhich sends the Command data to a client. -
Uses of CloudPlayer in org.cloudburstmc.server.crafting
Methods in org.cloudburstmc.server.crafting with parameters of type CloudPlayer -
Uses of CloudPlayer in org.cloudburstmc.server.entity
Fields in org.cloudburstmc.server.entity with type parameters of type CloudPlayerMethods in org.cloudburstmc.server.entity that return types with arguments of type CloudPlayerMethods in org.cloudburstmc.server.entity with parameters of type CloudPlayerModifier and TypeMethodDescriptionvoidBaseEntity.despawnFrom(CloudPlayer player)voidUnknownEntity.despawnFrom(CloudPlayer player)voidBaseEntity.sendData(CloudPlayer player)voidBaseEntity.sendData(CloudPlayer player, com.nukkitx.protocol.bedrock.data.entity.EntityData... data)voidBaseEntity.sendFlags(CloudPlayer player)voidBaseEntity.sendPotionEffects(CloudPlayer player)voidBaseEntity.spawnTo(CloudPlayer player)voidUnknownEntity.spawnTo(CloudPlayer player) -
Uses of CloudPlayer in org.cloudburstmc.server.entity.misc
Fields in org.cloudburstmc.server.entity.misc declared as CloudPlayer -
Uses of CloudPlayer in org.cloudburstmc.server.form
Fields in org.cloudburstmc.server.form with type parameters of type CloudPlayerModifier and TypeFieldDescriptionprotected List<Consumer<CloudPlayer>>Form.FormBuilder.closeListenersprotected List<Consumer<CloudPlayer>>Form.FormBuilder.errorListenersprotected List<BiConsumer<CloudPlayer,R>>Form.FormBuilder.listenersMethods in org.cloudburstmc.server.form with parameters of type CloudPlayerModifier and TypeMethodDescriptionvoidForm.close(CloudPlayer p)voidForm.error(CloudPlayer p)voidCustomForm.handleResponse(CloudPlayer p, com.fasterxml.jackson.databind.JsonNode node)abstract voidForm.handleResponse(CloudPlayer p, com.fasterxml.jackson.databind.JsonNode node)voidModalForm.handleResponse(CloudPlayer p, com.fasterxml.jackson.databind.JsonNode node)voidSimpleForm.handleResponse(CloudPlayer p, com.fasterxml.jackson.databind.JsonNode node)voidForm.submit(CloudPlayer p, R response)Method parameters in org.cloudburstmc.server.form with type arguments of type CloudPlayerModifier and TypeMethodDescriptionSimpleForm.SimpleFormBuilder.button(String text, Consumer<CloudPlayer> action)Adda button with on click callbackSimpleForm.SimpleFormBuilder.button(String text, ImageType imageType, String imageData, Consumer<CloudPlayer> action)Add a button with image and on click callbackForm.FormBuilder.onClose(Consumer<CloudPlayer> listener)Called when the form is closedForm.FormBuilder.onError(Consumer<CloudPlayer> listener)Called when an error occurs during the response processing That could be caused either by a plugin or wrong response (which shouldn't occur in case of vanilla client)Form.FormBuilder.onSubmit(BiConsumer<CloudPlayer,R> listener)Called when the form is successfully submittedConstructor parameters in org.cloudburstmc.server.form with type arguments of type CloudPlayerModifierConstructorDescriptionModalForm(String title, String content, String trueValue, String falseValue, List<BiConsumer<CloudPlayer,Boolean>> listeners, List<Consumer<CloudPlayer>> closeListeners, List<Consumer<CloudPlayer>> errorListeners)SimpleForm(String title, String content, List<ElementButton> buttons, it.unimi.dsi.fastutil.ints.Int2ObjectMap<Consumer<CloudPlayer>> buttonListeners, List<BiConsumer<CloudPlayer,SimpleFormResponse>> listeners, List<Consumer<CloudPlayer>> closeListeners, List<Consumer<CloudPlayer>> errorListeners) -
Uses of CloudPlayer in org.cloudburstmc.server.inventory
Fields in org.cloudburstmc.server.inventory with type parameters of type CloudPlayerMethods in org.cloudburstmc.server.inventory that return CloudPlayerModifier and TypeMethodDescriptionCloudAnvilInventory.getHolder()CloudBeaconInventory.getHolder()CloudCraftingGrid.getHolder()CloudEnchantInventory.getHolder()CloudEnderChestInventory.getHolder()CloudPlayerInventory.getHolder()PlayerCursorInventory.getHolder()This override is here for documentation and code completion purposes only.Methods in org.cloudburstmc.server.inventory that return types with arguments of type CloudPlayerMethods in org.cloudburstmc.server.inventory with parameters of type CloudPlayerModifier and TypeMethodDescriptionvoidCloudCreatureInventory.sendArmorContents(CloudPlayer player)voidCloudCreatureInventory.sendArmorContents(CloudPlayer[] players)voidCloudCreatureInventory.sendArmorSlot(int index, CloudPlayer player)voidCloudCreatureInventory.sendArmorSlot(int index, CloudPlayer[] players)voidCloudCreatureInventory.sendHeldItem(CloudPlayer... players)voidCloudCreatureInventory.sendOffHandContents(CloudPlayer player)voidCloudCreatureInventory.sendOffHandContents(CloudPlayer[] players)voidCloudCreatureInventory.sendOffHandSlot(CloudPlayer player)voidCloudCreatureInventory.sendOffHandSlot(CloudPlayer[] players)Method parameters in org.cloudburstmc.server.inventory with type arguments of type CloudPlayerModifier and TypeMethodDescriptionvoidCloudCreatureInventory.sendArmorContents(Collection<CloudPlayer> players)voidCloudCreatureInventory.sendArmorSlot(int index, Collection<CloudPlayer> players)voidCloudCreatureInventory.sendHeldItem(Collection<CloudPlayer> players)voidCloudCreatureInventory.sendOffHandContents(Collection<CloudPlayer> players)voidCloudCreatureInventory.sendOffHandSlot(Collection<CloudPlayer> players)Constructors in org.cloudburstmc.server.inventory with parameters of type CloudPlayerModifierConstructorDescriptionCloudAnvilInventory(CloudPlayer player)CloudBeaconInventory(CloudPlayer player)CloudCraftingGrid(CloudPlayer holder)CloudEnchantInventory(CloudPlayer player, org.cloudburstmc.api.blockentity.EnchantingTable table)CloudPlayerInventory(CloudPlayer player)PlayerCursorInventory(CloudPlayer player) -
Uses of CloudPlayer in org.cloudburstmc.server.inventory.transaction
Fields in org.cloudburstmc.server.inventory.transaction declared as CloudPlayerMethods in org.cloudburstmc.server.inventory.transaction that return CloudPlayerMethods in org.cloudburstmc.server.inventory.transaction with parameters of type CloudPlayerModifier and TypeMethodDescriptionprotected voidInventoryTransaction.init(CloudPlayer source, List<InventoryAction> actions)Constructors in org.cloudburstmc.server.inventory.transaction with parameters of type CloudPlayerModifierConstructorDescriptionCraftingTransaction(CloudPlayer source, List<InventoryAction> actions)CraftingTransaction(CloudPlayer source, org.cloudburstmc.api.inventory.Recipe recipe)InventoryTransaction(CloudPlayer source, List<InventoryAction> actions)InventoryTransaction(CloudPlayer source, List<InventoryAction> actions, boolean init)ItemStackTransaction(CloudPlayer source) -
Uses of CloudPlayer in org.cloudburstmc.server.inventory.transaction.action
Methods in org.cloudburstmc.server.inventory.transaction.action with parameters of type CloudPlayerModifier and TypeMethodDescriptionbooleanCraftingTakeResultAction.execute(CloudPlayer source)booleanCraftingTransferMaterialAction.execute(CloudPlayer source)booleanCreativeInventoryAction.execute(CloudPlayer source)No need to do anything extra here: this type just provides a place for items to disappear or appear from.booleanDropItemAction.execute(CloudPlayer source)Drops the target item in front of the player.booleanDropItemStackAction.execute(CloudPlayer player)abstract booleanInventoryAction.execute(CloudPlayer source)Performs actions needed to complete the inventory-action server-side.booleanPlaceItemStackAction.execute(CloudPlayer player)booleanSlotChangeAction.execute(CloudPlayer source)Sets the item into the target inventory.booleanSwapItemStackAction.execute(CloudPlayer player)booleanTakeItemStackAction.execute(CloudPlayer source)booleanCraftingTakeResultAction.isValid(CloudPlayer source)booleanCraftingTransferMaterialAction.isValid(CloudPlayer source)booleanCreativeInventoryAction.isValid(CloudPlayer source)Checks that the player is in creative, and (if creating an item) that the item exists in the creative inventory.booleanDropItemAction.isValid(CloudPlayer source)Verifies that the source item of a drop-item action must be air.booleanDropItemStackAction.isValid(CloudPlayer player)abstract booleanInventoryAction.isValid(CloudPlayer source)Returns whether this action is currently valid.booleanPlaceItemStackAction.isValid(CloudPlayer player)booleanSlotChangeAction.isValid(CloudPlayer source)Checks if the item in the inventory at the specified inventorySlot is the same as this action's source item.booleanSwapItemStackAction.isValid(CloudPlayer player)booleanTakeItemStackAction.isValid(CloudPlayer source)voidCraftingTakeResultAction.onExecuteFail(CloudPlayer source)voidCraftingTransferMaterialAction.onExecuteFail(CloudPlayer source)voidCreativeInventoryAction.onExecuteFail(CloudPlayer source)voidDropItemAction.onExecuteFail(CloudPlayer source)abstract voidInventoryAction.onExecuteFail(CloudPlayer source)Performs additional actions when this inventory-action did not complete successfully.voidItemStackAction.onExecuteFail(CloudPlayer source)voidSlotChangeAction.onExecuteFail(CloudPlayer source)Sends the original inventorySlot contents to the source player to revert the action.voidCraftingTakeResultAction.onExecuteSuccess(CloudPlayer $source)voidCraftingTransferMaterialAction.onExecuteSuccess(CloudPlayer $source)voidCreativeInventoryAction.onExecuteSuccess(CloudPlayer source)voidDropItemAction.onExecuteSuccess(CloudPlayer source)abstract voidInventoryAction.onExecuteSuccess(CloudPlayer source)Performs additional actions when this inventory-action completed successfully.voidItemStackAction.onExecuteSuccess(CloudPlayer source)voidSlotChangeAction.onExecuteSuccess(CloudPlayer source)Sends inventorySlot changes to other viewers of the inventory.booleanDropItemAction.onPreExecute(CloudPlayer source)booleanInventoryAction.onPreExecute(CloudPlayer source)Called by inventory transactions before any actions are processed. -
Uses of CloudPlayer in org.cloudburstmc.server.level
Methods in org.cloudburstmc.server.level that return types with arguments of type CloudPlayerModifier and TypeMethodDescriptionCloudLevel.getChunkPlayers(int chunkX, int chunkZ)CloudLevel.getPlayers() -
Uses of CloudPlayer in org.cloudburstmc.server.level.chunk
Methods in org.cloudburstmc.server.level.chunk that return types with arguments of type CloudPlayerModifier and TypeMethodDescriptionUnsafeChunk.getLoaders()CloudChunk.getPlayerLoaders()UnsafeChunk.getPlayerLoaders()CloudChunk.getPlayers()CloudLockableChunk.getPlayers()UnsafeChunk.getPlayers()Gets an immutable copy of players currently in this chunk -
Uses of CloudPlayer in org.cloudburstmc.server.network
Methods in org.cloudburstmc.server.network with parameters of type CloudPlayerModifier and TypeMethodDescriptionorg.cloudburstmc.server.network.BedrockInterface.NukkitSessionListenerBedrockInterface.initDisconnectHandler(CloudPlayer player) -
Uses of CloudPlayer in org.cloudburstmc.server.network.protocol.types
Methods in org.cloudburstmc.server.network.protocol.types with parameters of type CloudPlayerModifier and TypeMethodDescriptionstatic InventoryActionInventoryTransactionUtils.createInventoryAction(CloudPlayer player, com.nukkitx.protocol.bedrock.data.inventory.InventoryActionData inventoryActionData) -
Uses of CloudPlayer in org.cloudburstmc.server.player
Fields in org.cloudburstmc.server.player with type parameters of type CloudPlayerMethods in org.cloudburstmc.server.player that return CloudPlayerMethods in org.cloudburstmc.server.player with parameters of type CloudPlayerModifier and TypeMethodDescriptionbooleanCloudPlayer.canSee(CloudPlayer player)voidCloudPlayer.closeInventory(CloudPlayer who)voidCloudPlayer.hidePlayer(CloudPlayer player)voidCloudPlayer.openInventory(CloudPlayer who)voidCloudPlayer.showPlayer(CloudPlayer player)voidCloudPlayer.spawnTo(CloudPlayer player)Method parameters in org.cloudburstmc.server.player with type arguments of type CloudPlayerModifier and TypeMethodDescriptionvoidCloudPlayer.sendPosition(com.nukkitx.math.vector.Vector3f pos, double yaw, double pitch, com.nukkitx.protocol.bedrock.packet.MovePlayerPacket.Mode mode, Set<CloudPlayer> targets)Constructors in org.cloudburstmc.server.player with parameters of type CloudPlayerModifierConstructorDescriptionPlayerFood(CloudPlayer player, int foodLevel, float foodSaturationLevel) -
Uses of CloudPlayer in org.cloudburstmc.server.player.handler
Constructors in org.cloudburstmc.server.player.handler with parameters of type CloudPlayer -
Uses of CloudPlayer in org.cloudburstmc.server.player.manager
Constructors in org.cloudburstmc.server.player.manager with parameters of type CloudPlayerModifierConstructorDescriptionPlayerChunkManager(CloudPlayer player)PlayerInventoryManager(CloudPlayer player) -
Uses of CloudPlayer in org.cloudburstmc.server.registry
Methods in org.cloudburstmc.server.registry with parameters of type CloudPlayerModifier and TypeMethodDescriptioncom.nukkitx.protocol.bedrock.packet.AvailableCommandsPacketCommandRegistry.createPacketFor(CloudPlayer player)Used internally to obtain the AvailableCommandsPacket to send to a client. -
Uses of CloudPlayer in org.cloudburstmc.server.utils
Methods in org.cloudburstmc.server.utils that return CloudPlayerConstructors in org.cloudburstmc.server.utils with parameters of type CloudPlayer