Uses of Class
net.bitbylogic.packetblocks.block.PacketBlock
Packages that use PacketBlock
Package
Description
-
Uses of PacketBlock in net.bitbylogic.packetblocks.block
Methods in net.bitbylogic.packetblocks.block that return PacketBlockModifier and TypeMethodDescriptionPacketBlockManager.createBlock(@NonNull org.bukkit.Location location, @NonNull org.bukkit.block.data.BlockData blockData) Creates a newPacketBlockinstance at the specified location with the given block data.Methods in net.bitbylogic.packetblocks.block that return types with arguments of type PacketBlockModifier and TypeMethodDescriptionPacketBlockManager.getBlock(@NonNull org.bukkit.Location location) PacketBlockManager.getBlocks(@NonNull org.bukkit.World world) Retrieves a list ofPacketBlockinstances associated with the specified world.PacketBlockManager.getBlocks(@NonNull org.bukkit.World world, int chunkX, int chunkZ) Retrieves a list ofPacketBlockinstances located within the specified chunk in the given world.PacketBlockManager.getBlocksByMetadata(@NonNull String key) Retrieves a list ofPacketBlockinstances that contain the specified metadata key.PacketBlockManager.getBlocksByViewer(@NonNull org.bukkit.entity.Player player) Retrieves a list ofPacketBlockinstances that are visible to the specified player.PacketBlockManager.getBlocksByViewerWithMeta(@NonNull org.bukkit.entity.Player player, @NonNull String metaKey) Retrieves a list ofPacketBlockinstances that are visible to the specified player and contain the specified metadata key.PacketBlockManager.getHitBlocks(@NonNull org.bukkit.World world, @NonNull org.bukkit.util.BoundingBox boundingBox) Retrieves a list ofPacketBlockinstances that intersect with the specified bounding box within a given world.PacketBlockManager.getHitBlocksByViewer(@NonNull org.bukkit.entity.Player player, @NonNull org.bukkit.util.BoundingBox boundingBox) Retrieves a list ofPacketBlockinstances that are visible to the specified player and overlap with the given bounding box.PacketBlockManager.getHitBlocksByViewerWithMeta(@NonNull org.bukkit.entity.Player player, @NonNull org.bukkit.util.BoundingBox boundingBox, @NonNull String metaKey) Retrieves a list ofPacketBlockinstances that are within a specified bounding box, are visible to the specified player, and contain the given metadata key.Methods in net.bitbylogic.packetblocks.block with parameters of type PacketBlockModifier and TypeMethodDescriptionvoidPacketBlockManager.removeBlock(@NonNull PacketBlock packetBlock) Removes the specifiedPacketBlockfrom the blockLocations map and updates its visual state for all associated viewers.Method parameters in net.bitbylogic.packetblocks.block with type arguments of type PacketBlockModifier and TypeMethodDescriptionvoidPacketBlockManager.removeIf(Predicate<PacketBlock> removePredicate) RemovesPacketBlockinstances from the managed collection if they satisfy a specified condition. -
Uses of PacketBlock in net.bitbylogic.packetblocks.event
Constructors in net.bitbylogic.packetblocks.event with parameters of type PacketBlockModifierConstructorDescriptionPacketBlockBreakEvent(org.bukkit.entity.Player player, PacketBlock block, org.bukkit.Location location, org.bukkit.inventory.ItemStack tool) PacketBlockStartBreakEvent(org.bukkit.entity.Player player, PacketBlock block, org.bukkit.Location location) -
Uses of PacketBlock in net.bitbylogic.packetblocks.task
Methods in net.bitbylogic.packetblocks.task with parameters of type PacketBlockModifier and TypeMethodDescriptionvoidPacketBlockAnimationTask.addEntry(org.bukkit.entity.Player player, PacketBlock block) Constructors in net.bitbylogic.packetblocks.task with parameters of type PacketBlock