forked from Foxyas/Changed-Addon-Rework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
134 lines (109 loc) · 4.53 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'eclipse'
version = '2.0.0'
group = 'com.foxyas.changed_addon'
archivesBaseName = 'changed_addon'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
minecraft {
mappings channel: 'official', version: '1.18.2'
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
runs {
client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
changed_addon {
source sourceSets.main
}
}
}
server {
workingDirectory project.file('run')
property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'
mods {
changed_addon {
source sourceSets.main
}
}
}
}
}
repositories {
// Mod Location
flatDir {
dirs 'libs'
}
maven {
url "https://cursemaven.com"
}
maven {
name = "Changed"
url = "https://raw.githubusercontent.com/LtxProgrammer/Changed-Minecraft-Mod/master/mcmodsrepo/"
}
/*maven {
name = "Changed_Local_file"
url uri("${rootProject.projectDir}/libs")
}*/
/* maven {
// location of the maven that hosts JEI files
name = "Progwml6 maven"
url = "https://dvs1.progwml6.com/files/maven/"
}
maven {
// location of a maven mirror for JEI files, as a fallback
name = "ModMaven"
url = "https://modmaven.dev"
}*/
}
mixin {
add sourceSets.main, "changed_addon.refmap.json"
config "changed_addon.mixins.json"
env {
remapRefMap = true
}
}
dependencies {
minecraft 'net.minecraftforge:forge:1.18.2-40.2.21' //Forge Version
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
//implementation fg.deobf('net.ltxprogrammer.changed:Changed-m1.18.2-f40.2.0:v0.14b') //Changed Local File
implementation fg.deobf("net.ltxprogrammer.changed:Changed-m1.18.2-f40.2.0:v0.14") //Changed
runtimeOnly fg.deobf("curse.maven:advanced-xray-256256:3712732") //Xray Ores
runtimeOnly fg.deobf("curse.maven:lightspeedmod-821790:4594803") //Speed Up The Start of The Game
runtimeOnly fg.deobf("curse.maven:forge-carpet-547361:3930877") //Player Summon
runtimeOnly fg.deobf("curse.maven:embeddium-908741:5322305") //Fps Boost
runtimeOnly fg.deobf("curse.maven:oculus-581495:4578744") //Shaders :D
runtimeOnly fg.deobf("curse.maven:custom-player-models-439870:4840534") //Custom Player Models
//implementation fg.deobf("curse.maven:roughly-enough-items-310111:4774383") //Jei But better
//implementation fg.deobf("curse.maven:cloth-config-348521:4633387") // REI mod dependence
//implementation fg.deobf("curse.maven:architectury-api-419699:4521465") //REI mod dependence
runtimeOnly fg.deobf("curse.maven:spark-361579:4505375") // Spark
runtimeOnly fg.deobf("curse.maven:hardcore-revival-274036:3830873") //HardCore Survival
runtimeOnly fg.deobf("curse.maven:balm-531761:4442615") //Balm API need for HardCore Survival
runtimeOnly fg.deobf("curse.maven:appleskin-248787:4770822") //AppleSkin
runtimeOnly fg.deobf("curse.maven:catalogue-459701:3803098") //Catalogue (Better Mod menu)
runtimeOnly fg.deobf("curse.maven:configured-457570:4462832") //Configured (Config options in game)
runtimeOnly fg.deobf("curse.maven:carry-on-274259:5141758") //Carry On mod
runtimeOnly fg.deobf("curse.maven:in-game-account-switcher-232676:4589915") //ReAuth
runtimeOnly fg.deobf("curse.maven:forgetmechunk-forge-632973:4041502") //Fps Boost
//compileOnly fg.deobf("mezz.jei:jei-1.18.2:9.7.2.281:api") //Jei Api
//runtimeOnly fg.deobf("mezz.jei:jei-1.18.2:9.7.2.281") //Jei Mod
//implementation files("libs/Changed-m1.18.2-v0.14")
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
apply from: 'mcreator.gradle'