Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

ALS-Project/Minestom-Placement

Repository files navigation

Minestom Placement

'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

Usage example

  • Extension Usage:

    Just download the last release build and put it to the extension folder

  • Libraries Usage:

    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);

Development setup

It's a gradle project, just import it into your favorite IDE !

License

CeCILL License

Contributing

  1. Fork it (https://github.com/ALS-Project/Minestom-Placement)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request