nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Loose Ends Lib

Loose Ends Lib

Mod

A library that controls how servers and clients will act when joining without the mod.

Client or server Library

168 downloads
3 followers

Loose Ends Lib

A library that controls how servers and clients will act when joining without the mod.

Installation: Add the following to your build.gradle.

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    modImplementation 'com.github.Totobird-Creations:LooseEndsLib:${looseendslib_version}'
    // Optional.
    include 'com.github.Totobird-Creations:LooseEndsLib:${looseendslib_version}'
}

Add the following to your gradle.properties.

looseendslib_version = v1.0.3-mc1.19

Usage: In your initialiser's onInitialize method, add the following:

LooseEndManager.getInstance().register(mod_id, mod_name, mod_version)
    .whenClientJoins(condition)
    .whenJoinServer(condition).

Conditions:

  • LooseEnd.Condition.REQUIRED : The peer must also have the mod.
  • LooseEnd.Condition.NONE : Nothing happens.
  • LooseEnd.Condition.DISALLOWED : The peer can not have the mod.

External resources


Project members

Totobird-Creations

Owner


Technical information

License
MIT
Client side
optional
Server side
optional
Project ID