Skip to content
A seamless laundry experience that is definitely not an item transport mod.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
CHANGELOG.md
LICENSE.md
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

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 {
    modCompile "com.jamieswhiteshirt:clothesline-fabric:<CLOTHESLINE_FABRIC_VERSION>"
}

Clothesline has an API, but it is currently unstable and with limited functionality. The API is located in the com.jamieswhiteshirt.clotheslinefabric.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.clotheslinefabric.api.NetworkManagerProvider;
import com.jamieswhiteshirt.clotheslinefabric.api.NetworkManager;

class Example {
    void example(World world) {
        NetworkManager manager = ((NetworkManagerProvider) world).getNetworkManager();
        /* ... */
    }
}
You can’t perform that action at this time.