Uses of Class
net.bitbylogic.packetblocks.block.PacketBlockPlayerData
Packages that use PacketBlockPlayerData
-
Uses of PacketBlockPlayerData in net.bitbylogic.packetblocks.block
Methods in net.bitbylogic.packetblocks.block that return PacketBlockPlayerDataModifier and TypeMethodDescriptionPacketBlock.addAndUpdateViewer
(@NonNull org.bukkit.entity.Player player) Adds the specified player as a viewer to this Packet Block if they are not already added and updates their block state to reflect the current state of the Packet Block.PacketBlock.addAndUpdateViewer
(@NonNull org.bukkit.entity.Player player, @NonNull Supplier<org.bukkit.block.data.BlockData> blockDataSupplier) Adds a viewer for the block data and sends an update to the specified player.PacketBlock.addViewer
(@NonNull org.bukkit.entity.Player player) Adds the specified player as a viewer to this Packet Block.PacketBlock.addViewer
(@NonNull org.bukkit.entity.Player player, @NonNull Supplier<org.bukkit.block.data.BlockData> blockDataSupplier) Adds a viewer to this Packet Block with a custom BlockData supplier.Methods in net.bitbylogic.packetblocks.block that return types with arguments of type PacketBlockPlayerDataModifier and TypeMethodDescriptionPacketBlock.attemptAddViewer
(@NonNull org.bukkit.entity.Player player, boolean sendUpdate) Attempts to add the specified player as a viewer to this Packet Block if they meet the viewing conditions.PacketBlock.getViewer
(@NonNull org.bukkit.entity.Player player) Retrieves thePacketBlockPlayerData
associated with the given player if they are a viewer of this Packet Block.