{"repo":"BitByLogics/PacketBlocks","free":true,"listed":false,"github":"https://github.com/BitByLogics/PacketBlocks","clone":"git clone https://github.com/BitByLogics/PacketBlocks.git","description":"A lightweight Spigot/Paper library for creating and managing client-side, packet-based Minecraft blocks.","language":"Java","stars":33,"topics":["minecraft","minecraft-library","minecraft-plugin","spigot-plugin"],"license":"MIT","category":"game-templates","readme_excerpt":"Packet Blocks A Spigot/Paper library for creating and managing client-side blocks. PacketBlocks lets you display blocks to players without modifying the real world, while still providing APIs for interaction, metadata, block breaking, and per-player visibility. --- Features - Spawn blocks visible only to specific players - Fully per-player block states ( BlockData , suppliers, metadata) - Break simulation ( PacketBlockBreakEvent ) with configurable item drops - Per-viewer visibility conditions - Utilities for bounding boxes, collision handling, and animations - Automatic viewer management --- Requirements - Server: Paper 1.21+ (or a compatible fork) - Dependency: PacketEvents 2.9.5+ --- Demo Per-player blocks, structures, and animations without modifying the world! --- Example Usage A production example of Packet Blocks being used to create per-player structures can be found here: - GitHub - Modrinth --- Installation Maven: Gradle: --- Quick Start --- Documentation Full API documentation is available here --- Simulate breaks & drops simulateBreak(...) triggers PacketBlockBreakEvent . This event: - Is cancellable - By default, will drop items based on the BlockState and tool used - If you do not want items to drop, call event.setDropItems(false) in your event listener --- PacketBlockManager Overview The PacketBlockManager is the main API for managing PacketBlocks on the server. You can get the manager using: Some important methods: - createBlock(Location location, BlockData bl","default_branch":null,"files":null,"tree":[],"storefront":"/r/BitByLogics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BitByLogics/PacketBlocks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}