https://github.com/kooperlol/blockify
A client-sided block library for Minecraft
https://github.com/kooperlol/blockify
api blocks client-side java minecraft packets paper papermc spigot utils
Last synced: 2 months ago
JSON representation
A client-sided block library for Minecraft
- Host: GitHub
- URL: https://github.com/kooperlol/blockify
- Owner: Kooperlol
- License: mit
- Created: 2024-05-01T01:03:52.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-21T02:44:59.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T03:40:52.705Z (over 1 year ago)
- Topics: api, blocks, client-side, java, minecraft, packets, paper, papermc, spigot, utils
- Language: Java
- Homepage:
- Size: 4.35 MB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/Kooperlol/Blockify/blob/master/LICENSE.md) [](https://jitpack.io/#Kooperlol/Blockify) [](https://discord.gg/HeH2CuFCjz)
# About
Ever wondered how servers like FadeCloud or AkumaMC do private farms and mines?
Well, let Blockify take care of it for you! Blockify is a public library that can manage and create client-sided blocks.
Check out the [Wiki](https://github.com/Kooperlol/Blockify/wiki) to get started, and join the [Discord](https://discord.gg/BKrSKqaAZp) for help.
## Features
1. **Stage Management**: Blockify has different stages for an audience. Each stage has multiple "views", which represent different patterns within a stage.
2. **Block Interaction Events**: The project handles block interaction events, such as starting to dig a block, as seen in the `BlockDigAdapter` class.
3. **Block Breaking Events**: Blockify also handles block-breaking events, including checking if a block is breakable and sending block change updates to the player.
4. **Chunk Loading**: The `ChunkLoadAdapter` class handles chunk-loading events, including sending block changes to the player.
5. **Game Mode Checks**: The project checks the player's game mode and adjusts block-breaking speed accordingly.
6. **Memory Management**: Blockify manages memory efficiently by using custom data types like `BlockifyPosition` and `BlockifyChunk`.
7. **Custom Events:** Blockify has a custom event `BlockifyBlockBreakEvent` that is called when a block is broken.
8. **Complex Block Patterns:** Blockify can handle complex block patterns using the `BlockifyPattern` class. In addition, it can handle setting crop ages and other custom block data.
## Dependencies
- [PacketEvents](https://github.com/retrooper/packetevents)
## Statistics
Check out our [bStats page](https://bstats.org/plugin/bukkit/Blockify/21782)