Tags
Creators
Details
1.2.0
Compatibility
Required content
Changes
š¦ 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:
BlockBreakAdapterBlockPlaceAdapterBlockUpdateAdapterChunkLoadAdapter
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:
PacketBlockStartBreakEventPacketBlockBreakEventPacketBlockInteractEvent
Event consumers can now determine whether an interaction applies to:
- A single block
- A block group
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:2ZnPwkRV:UJbIqra4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:2ZnPwkRV:UJbIqra4"
}

