'Minestom Placement' is a simple re implementation of Minecraft vanilla block placement for Minestom
You can use 'Minestom Placement' as a librarie or as an extension
-
Just download the last release build and put it to the extension folder
-
Add the jitpack repository
repositories {
maven { url 'https://jitpack.io' }
}
And add the dependencies
dependencies {
implementation 'com.github.ALS-Project:Minestom-Placement:1.0'
}
To register ALL block placement rules just write this
BlockPlacementManager.register();
To register a specific block
BlockPlacementManager.register(Block.REDSTONE_TORCH);
It's a gradle project, just import it into your favorite IDE !
- Fork it (https://github.com/ALS-Project/Minestom-Placement)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request