LLib

Minecraft library to versions 1.21 - 26.2

53 downloads 0 followers

LLib

Shared library for my LastStudio plugins (LastMines, LastItems and others). I got tired of copy-pasting the same messages/items/actions/commands code into every plugin, so I pulled it all out here once and now everything just depends on this.

What's inside

  • messages() — colors/placeholders, understands legacy &, hex, MiniMessage (<gradient> and friends) and GSON at the same time
  • items() — ItemStack <-> config (YAML/JSON), component-based, full 1.21 item component support
  • actions() — a small action DSL (message/actionbar/title/sound/console/particle/...) so configs can describe behavior without me writing a switch-case in every plugin
  • commands() — thin command-tree wrapper
  • particles() — packet-based particle shapes (circle/ring/sphere/line/helix)
  • locale() / version() — translations and MC version checks

Entry point: LLibAPI.get().

Requirements

Java 21, Paper 1.21–1.26.2 (self-disables outside that range).

Using it in another plugin

Gradle Kotlin:

build.gradle.kts:

repositories {
    maven("https://repo.laststudio.space/repository/")
}

dependencies {
    compileOnly("dev.laststudio.lib:LLib:0.1")
}

Maven

pom.xml:

<repositories>
    <repository>
        <id>laststudio-repo</id>
        <url>https://repo.laststudio.space/repository/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>dev.laststudio.lib</groupId>
        <artifactId>LLib</artifactId>
        <version>0.1</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

plugin.yml:

depend: [ LLib ]

Wiki

Wiki site - https://wiki.laststudio.space/llib (soon...)

No gallery available for this project.

Version Minecraft Loader Download

Update #1 | 0.1

0.1

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2
bukkit, paper, purpur, spigot
Download