Dobneun is a helper for NMS related protocols, providing features such as:
Below you can find more information about how to use these sections.
You can see how to include Dobneun in your projects here.
Including Dobneun in your projects is incredibly easy with the help of Maven or Gradle.
You can copy either one of these examples.
GRADLE
repositories {
maven { url 'https://hat.lordoftherin.gs/releases/dev-builds/' }
}
dependencies {
implementation 'com.ankoki:Dobneun:1.0-DEV'
}MAVEN
<repositories>
<repository>
<id>Ankoki-Releases</id>
<url>https://hat.lordoftherin.gs/releases/dev-builds/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.ankoki</groupId>
<artifactId>Dobneun</artifactId>
<version>1.0-DEV</version>
<scope>compile</scope>
</dependency>
</dependencies>Please remember it is crucial to shade Dobneun into your plugin. You can use maven-shade-plugin for Maven, or shadowJar for Gradle.
Custom biomes are something that are regularly sought after, and with the help of Dobneun,
they are now easily achievable using com.ankoki.dobneun.biomes.CustomBiome and it's helper classes.
You can support things such as:
- Music
- Colours of grass, water, fog, foliage and sky.
- Ambient Particles with many to choose from.
The possibilities are endless, and many more such as terrain/entity generation are to come.
You can find an example JavaPlugin creating this here.
There are some important things to note.
- You MUST register all biomes before startup. I am currently unsure if it needs to be done before worlds load, however I would recommend doing so. The worlds will need to know the biomes exist before loading them.
- That's about it, actually.
- Refer to point 1.
Packets have not been started yet, however more information will be found here.
Reflection is very easy to do with Dobneun, as we can cut out alot of the work for you.
There's not much to explain, just take a nice read of the com.ankoki.dobneun.reflection.Reflection class, found here.