Git Product home page Git Product logo

lirandapi's Introduction

Lirand API

Lirand API allows you to develop Spigot plugins faster, easier and more Kotlin-like way.

It includes a lot of cool features like:

  • Command DSL builders based on the Mojang Brigadier
  • Three types of inventory-based menus and their DSL builders
  • Easy way to change the NBT of items and entities
  • Shared event flow
  • Items and inventories serialization/deserialization
  • Online player collections
  • A bunch of useful extensions for working with chat, events, items, inventories, etc.
  • Scoreboard builder (experimental)

And most importantly it is backward compatible via 1.16+ Minecraft versions.

Declaring a dependency via Gradle

Add the following to your build script:

repositories { 
    // ...
    mavenCentral()
    maven("https://jitpack.io")
    maven("https://repo.codemc.io/repository/maven-snapshots/")
    maven("https://libraries.minecraft.net")
    // ...
}

dependencies {
    // ... 
    implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10")
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk9:1.6.0")
    implementation("com.github.dyam0:LirandAPI:VERSION")
    compileOnly("com.mojang:brigadier:1.0.18")
    // ...
}

Replace VERSION with the version of Lirand API you need. Also you can build the latest snapshot on the JitPack and use it as a dependency.

I highly recommend you to shade this dependency into your Jar file as well as some dependencies of Lirand API (MCCoroutine and AnvilGUI).

lirandapi's People

Contributors

navoyan avatar gabber235 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.