Skip to content
MaxBogomol edited this page Nov 4, 2024 · 10 revisions

About

If you want to use my library in your mod, you should know that you should have at least some experience in modding.
And remember, the library should not and does not do everything for you. It is just a tool to simplify.

Setup Guide

Installation Stable

Recommended installation option.

gradle.properties:
minecraft_version = version here
fluffy_fur_version = version here
// Modrinth way
repositories {
  maven {
       name = "Modrinth"
       url = "https://api.modrinth.com/maven"
   }
}

dependencies {
   // your code here...
   implementation fg.deobf("maven.modrinth:fluffy-fur:${minecraft_version}-${fluffy_fur_version}")
}
 
// CurseForge way
repositories {
   maven { url "https://cursemaven.com"}
}

dependencies {
   // your code here...
   implementation fg.deobf("curse.maven:fluffy-fur-1097456:${fluffy_fur_version}") // <-- version from CurseForge here
}

Installation Dev

I use this option when developing mods to quickly change the code.
Not recommended.

Duplicate the project, run it in IDE and publish to local maven using Running: gradlew publishToMavenLocal

repositories {
   mavenLocal();
}

dependencies {
   // your code here...
   implementation fg.deobf("mod.maxbogomol.fluffy_fur:fluffy_fur:${minecraft_version}-${fluffy_fur_version}")
}

Mixins

buildscript {
    repositories {
        maven { url = 'https://files.minecraftforge.net/maven' }
        maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
        mavenCentral()
    }
    dependencies {
        classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '6.0.+', changing: true
        classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.7-SNAPSHOT'
    }
}

apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'org.spongepowered.mixin'

Documentation - English:
The Fluffy Wiki

Документация - Русский:
The Fluffy Wiki

Clone this wiki locally