Skip to content

Releases: BitByLogics/PacketBlocks

Hotfix - 1.2.4

22 Jan 00:20

Choose a tag to compare

🩹 PacketBlocks - v1.2.4 Hotfix

🐛 Fix

  • Fixed an issue where PacketBlockGroup blocks outside a chunk could wrap and render on the wrong side.

🔧 Details

  • Blocks are now validated against the target chunk before being written.
  • Prevents cross-chunk wraparound and visual inconsistencies.

Safe to update. No API changes.

Group Updates - 1.2.3

22 Jan 00:08

Choose a tag to compare

📦 PacketBlocks — v1.2.3 Group Updates

📌 What’s New

This release enhances the PacketBlocks API by adding support for adding and removing blocks from existing PacketBlockGroup instances. These new methods make it significantly easier to modify block groups after creation.

✅ Highlights

  • Added methods in PacketBlockManager to:
    • Add multiple blocks to a group (addBlocksToGroup(...))
    • Add single blocks to a group (addBlockToGroup(...))
    • Remove multiple blocks from a group (removeBlocksFromGroup(...))
    • Remove single blocks from a group (removeBlockFromGroup(...))

🧠 Why This Matters

Previously, block groups were static after creation. With this update, developers can dynamically modify groups at runtime!

Block Update Hotfix

21 Jan 23:06

Choose a tag to compare

🔧 Hotfix - 1.2.2

Summary

  • Ensures updateConsumer is invoked when a viewer is added and updated
  • Fixes cases where viewers were not receiving updates after being registered

Impact

  • Viewer state is now correctly synchronized on add

Notes

  • No breaking changes

1.2.1 Release - Data Update Hotfix

23 Dec 02:07

Choose a tag to compare

PacketBlocks v1.2.1 — Hotfix Release

🛠 Fixed

An oversight in the previous version caused any updates to the data in a PacketBlock or PacketBlock group to not properly reflect in updates sent to players.


This is a hotfix release, intended for all users of v1.2.0 to ensure block updates work as expected.

1.2.0 Release - Packet Block Groups

22 Dec 09:18

Choose a tag to compare

📦 PacketBlocks — 1.2.0 Release Notes

This release introduces grouped packet blocks, along with a substantial internal refactor to improve extensibility, clarity, and long-term maintainability.


🚀 New Features

✅ Packet Block Groups

PacketBlocks now supports grouped blocks, allowing multiple packet blocks to behave as a single logical unit.

With PacketBlockGroup, you can:

  • Treat multiple blocks as one entity
  • Share metadata and state across a block cluster
  • Handle interactions (break, place, update) at the group level
  • Resolve BlockData dynamically per group

This enables more advanced structures such as multi-block machines, large custom blocks, or linked visual elements.

Group logic is implemented in
net.bitbylogic.packetblocks.group.PacketBlockGroup


🔄 Group-Aware Packet Handling

Packet adapters have been updated to detect and respect block groups automatically:

  • BlockBreakAdapter
  • BlockPlaceAdapter
  • BlockUpdateAdapter
  • ChunkLoadAdapter

Each adapter now:

  • Detects whether a block belongs to a group
  • Resolves group-specific BlockData
  • Applies packet overrides consistently across the entire group

This ensures correct rendering and interaction behavior on the client.


🧩 Event Improvements

Existing events now support group context, including:

  • PacketBlockStartBreakEvent
  • PacketBlockBreakEvent
  • PacketBlockInteractEvent

Event consumers can now determine whether an interaction applies to:

  • A single block
  • A block group

1.1.1 Release - Performance Improvements

18 Dec 23:46

Choose a tag to compare

🚀 PacketBlocks v1.1.1 — Block Position Keying Fix & Stability Improvements

⚙️ Internal Changes

  • Migrated block indexing to WorldPosition rather than Location
  • PacketBlock's may now have a set of BoundingBoxes rather than a single one.

Performance Improvements

This update should drastically improve lookup times and raytracing performance using the PacketBlockUtil#rayTrace method.

1.1.0 Release - Improved Bounding Boxes & Ray Tracing

18 Dec 18:21

Choose a tag to compare

🚀 PacketBlocks v1.1.0 - Improved Bounding Boxes & Ray Tracing

✨ Changes

  • Reworked bounding boxes to be identified by block state, allowing accurate shape retrieval for all block variants
  • Overhauled packet block ray tracing to more accurately detect blocks
  • Improved reliability when interacting with non-full and complex block shapes

1.0.2 Release - Block Update Fixes

19 Nov 01:05

Choose a tag to compare

🚀 PacketBlocks v1.0.2 — Block Update Fixes

✨ What's New

  • Fixed player-specific block updates in BlockUpdateAdapter
  • 🧹 Removed unused parameter in handleStopDestroy for cleaner code.

1.0.1 Release - JitPack Support

04 Oct 20:11

Choose a tag to compare

🚀 PacketBlocks v1.0.1 — JitPack Support

✨ What's New

  • Added JitPack support for easy dependency management.
    You can now include PacketBlocks directly in your Maven or Gradle projects via JitPack!

🧩 How to Use

Maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.BitByLogics</groupId>
        <artifactId>PacketBlocks</artifactId>
        <version>1.0.1</version>
    </dependency>
</dependencies>

Gradle:

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.BitByLogics:PacketBlocks:1.0.1'
}

1.0.0 Release

30 Sep 22:22

Choose a tag to compare

PacketBlocks v1.0.0

PacketBlocks is a Spigot/Paper library that allows you to create and manage client-side blocks visible only to certain players.
Simulate block breaking, manage per-player visibility, and use utility features like bounding boxes and animations.

📖 For full installation instructions and API usage, see the GitHub README.

🌐 View the Javadocs: https://bitbylogics.github.io/PacketBlocks/