Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wisp-forest/accessories

A extendable and data-driven Accessory Mod for Minecraft
https://github.com/wisp-forest/accessories

Last synced: about 1 month ago
JSON representation

A extendable and data-driven Accessory Mod for Minecraft

Awesome Lists containing this project

README

        





αccessories











Maven metadata URL







## Overview
Accessories is a Data-Driven Accessory mod for NeoForge and Fabric with emphasis on using a Common API for both platforms when possible



This API is based on the works of [Curios](https://github.com/TheIllusiveC4/Curios) and [Trinkets](https://github.com/emilyploszaj/trinkets) with credit going to both [TheIllusiveC4](https://github.com/TheIllusiveC4) and [emilyploszaj](https://github.com/emilyploszaj) for their work on Accessory mods for Minecraft.



## Build Setup

Below is an example of various dependencies setups for platforms with the given repositories are all required for all accessories dependencies.

### Groovy
```groovy
repositories {
maven { url 'https://maven.wispforest.io/releases' }
maven { url 'https://maven.su5ed.dev/releases' }
maven { url 'https://maven.fabricmc.net' }
maven { url 'https://maven.shedaniel.me/' }
}

// Fabric
dependencies {
modImplementation("io.wispforest:accessories-fabric:${project.accessories_version}")
}
//...

// Arch Common
dependencies {
modImplementation("io.wispforest:accessories-common:${project.accessories_version}")
}
//...

// Arch NeoForge
dependencies {
modImplementation("io.wispforest:accessories-neoforge:${project.accessories_version}")

// Required due to issues with JIJ dependency resolving in arch or something
forgeRuntimeLibrary("io.wispforest:endec:0.1.8")
forgeRuntimeLibrary("io.wispforest.endec:gson:0.1.5")
forgeRuntimeLibrary("io.wispforest.endec:netty:0.1.4")
}
//...

// NeoForge
dependencies {
implementation("io.wispforest:accessories-neoforge:${project.accessories_version}")
}
//...

// Vanilla Gradle Common
dependencies {
// Yarn Intermediary
compileOnly("io.wispforest:accessories-common:${project.accessories_version}")

// Mojang Mappings
compileOnly("io.wispforest:accessories-common:${project.accessories_version}-mojmap")
}
```

Kotlin DSL



```kotlin
repositories {
maven("https://maven.wispforest.io/releases")
maven("https://maven.su5ed.dev/releases")
maven("https://maven.fabricmc.net")
maven("https://maven.shedaniel.me/")
}

// Fabric
dependencies {
modImplementation("io.wispforest:accessories-fabric:${properties["accessories_version"]}")
}
//...

// Arch Common
dependencies {
modImplementation("io.wispforest:accessories-common:${properties["accessories_version"]}")
}
//...

// Arch NeoForge
dependencies {
modImplementation("io.wispforest:accessories-neoforge:${properties["accessories_version"]}")

// Required due to issues with JIJ dependency resolving in arch or something
forgeRuntimeLibrary("io.wispforest:endec:0.1.8")
forgeRuntimeLibrary("io.wispforest.endec:gson:0.1.5")
forgeRuntimeLibrary("io.wispforest.endec:netty:0.1.4")
}
//...

// NeoForge
dependencies {
implementation("io.wispforest:accessories-neoforge:${properties["accessories_version"]}")
}
//...

// Vanilla Gradle Common
dependencies {
// Yarn Intermediary
compileOnly("io.wispforest:accessories-common:${properties["accessories_version"]}")

// Mojang Mappings
compileOnly("io.wispforest:accessories-common:${properties["accessories_version"]}-mojmap")
}
```

## Features
- Compatibility Layers with existing Accessory Mods like [Curios](https://github.com/TheIllusiveC4/Curios) and [Trinkets](https://github.com/emilyploszaj/trinkets)
- Full Support for NBT-based Accessories (More Info on Wiki {TODO: ADD LINK TO WIKI})
- Existing API Events for Piglin Neutral Items, Enderman Masks, Looting Adjustments, Fortune Adjustments, and Snow Walking Ability.
- Unique Slot API for Mod Specific Accessories (More Info on Wiki {TODO: ADD LINK TO WIKI})