Skip to content

justorl/UtilsLib

Repository files navigation

UtilsLib

A shared code library for my projects. Feel free to use it anywhere you want. A wiki isn't available yet, but here's a quick overview


Features

ListenerSetup

Automatically register your event listeners without needing to manually register them in the main plugin class.

PaperPlugin class

Automatically handle plugin dependencies (currently supports FoliaLib, CommandAPI, and ScoreboardLib) with verbose logging and automatically register listeners and variables.

CustomItem, CustomItemDSL & CustomItemRegistry

Create custom items easily using a dsl builder, with support for an even craft recipe.

Utilities

Many helpful utility functions, such as easy unenchantable items, easier adventure api builders, async dsl chains and many others

Shading

Gradle Shading

Add JitPack to your repositories:

repositories {
    maven("https://jitpack.io")
}

Add the dependency:

dependencies {
    implementation("com.github.justorl:UtilsLib:2.3.5")
}

Relocate the package if needed (recommended):

tasks.shadowJar {
    relocate("com.pulse.utilslib", "your.package")
}

Maven Shading

Add the repository:

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

Add the dependency:

<dependency>
  <groupId>com.github.justorl</groupId>
  <artifactId>UtilsLib</artifactId>
  <version>2.3.5</version>
</dependency>

Relocate the package if needed (recommended):

<relocation>
    <pattern>com.pulse.utilslib</pattern>
    <shadedPattern>your.package</shadedPattern>
</relocation>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages