A Minestom library for block placement and interactions.
repositories {
maven(url = "https://reposilite.bluedragonmc.com/releases")
}
dependencies {
// Use the latest version number from the badge above
implementation("com.bluedragonmc:interactions:$version")
}TBD
This project includes a Minestom server that you can use to test out the block behaviors. To use it, run:
./gradlew :demo:runIn their current form, block handlers are a finicky system. They require cooperation from an instance's chunk loader, and they need to be manually applied when a player places a block. This library uses events instead, which makes block behavior easier to reason about, with the additional benefit of allowing behaviors to be scoped using Minestom's powerful event system.
- vibenilla/placement (Apache 2.0)
- everbuild-org/blocks-and-stuff (MIT)
- hollow-cube/mapmaker (MIT)