diff --git a/README.MD b/README.MD index 33826ae..7d57115 100644 --- a/README.MD +++ b/README.MD @@ -1,174 +1,10 @@ +# HoloEasy HoloEasy is a simple, modern and high-performant Java and Kotlin Minecraft Hologram library for 1.8-1.20.4 servers. -Lightweight replacement for Holographic Display. HoloEasy only uses packets instead of registering the entity in the actual Minecraft server. -
- -
- -## Quickstart - -### Requirements -* ProtocolLib installed on your server - -### Add dependency -#### Maven - -```xml -+ Your first hologram. +
+ + ++ 1. Register HoloEasy api. +
+ +HoloEasy.bind(org.bukkit.plugin.Plugin);
+ + 2. Define your first Hologram class. +
+ +public class HelloWorldHologram extends Hologram {
+
+ ITextLine line = textLine("Hello World");
+
+ public HelloWorldHologram(@NotNull Location location) {
+ super(location);
+ }
+
+}
+ + 3. Now spawn a hologram. +
+ +HelloWorldHologram hologram = new HelloWorldHologram(location);
+hologram.show();
+ + 4. Once you’re done, you may now proceed creating your first hologram. +
+ + + + + ++ Get familiar with HoloEasy. +
+ ++ HoloEasy is an open-source minecraft hologram library. Under the hood, it uses ProtocolLib for sending packets. +
+ ++ Other... +
+ ++ Lightweight replacement for Holographic Display. HoloEasy only uses packets instead of registering the entity in the actual Minecraft server. +
++ No, the API wasn't created for only Kotlin users, but rather to provide a clean, fluent API that works well in both Java and Kotlin environments. +
++ For library and plugin devs. +
++ Learn how to install and integrate HoloEasy in your projects. +
+ + ++ 1. Add the JitPack repository to your build file. +
+ +<repositories>
+ <repository>
+ <id>jitpack.io</id>
+ <url>https://jitpack.io</url>
+ </repository>
+</repositories>
+ + 2. Add the dependency. +
+ +<dependency>
+ <groupId>com.github.unldenis.holoeasy</groupId>
+ <artifactId>holoeasy-core</artifactId>
+ <version>4.0.0</version>
+</dependency>
+
+ 3. For java
plugins include also the kotlin stdlib.
+
<dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-stdlib</artifactId>
+ <version>1.9.21</version>
+</dependency>
+ + 4. Once you’re done, you may now proceed creating your first hologram. +
+ + + + ++ 1. Add the JitPack repository to your build file. +
+ +dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ mavenCentral()
+ maven { url 'https://jitpack.io' }
+ }
+}
+ + 2. Add the dependency. +
+ +implementation 'com.github.unldenis.holoeasy:holoeasy-core:4.0.0'
+
+ 3. For java
plugins include also the kotlin stdlib.
+
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.9.21'
+ + 4. Once you’re done, you may now proceed creating your first hologram. +
+ +