Skip to content
1.16
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Clothesline Fabric

CurseForge Downloads Maven Repository

A seamless laundry experience that is definitely not an item transport mod for Fabric.

Developing Clothesline Fabric

To get started, refer to the Fabric documentation.

Usage

To use this mod in your workspace, add the following to your build.gradle:

repositories {
    maven {url "https://maven.jamieswhiteshirt.com/libs-release/"}
}

dependencies {
    modImplementation "com.jamieswhiteshirt:clothesline-fabric:<CLOTHESLINE_FABRIC_VERSION>"
    modImplementation "com.jamieswhiteshirt:rtree-3i-lite-fabric:0.3.0"
}

Clothesline has an API, but it is currently unstable and with limited functionality. The API is located in the com.jamieswhiteshirt.clothesline.api package.

To get started, get the network manager of a World by casting to the NetworkManagerProvider interface and call getNetworkManager. Example:

import com.jamieswhiteshirt.clothesline.api.NetworkManagerProvider;
import com.jamieswhiteshirt.clothesline.api.NetworkManager;

class Example {
    void example(World world) {
        NetworkManager manager = ((NetworkManagerProvider) world).getNetworkManager();
        /* ... */
    }
}

About

A seamless laundry experience that is definitely not an item transport mod.

Topics

Resources

License

Packages

No packages published

Languages