File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ subprojects { // TODO: Forge дублируется в зависимостях
46
46
archivesBaseName = " weightapi"
47
47
apply plugin : ' DepATs'
48
48
minecraft { at(DepATs . getDepATs()) } // Включаем трансформеры из зависимостей
49
+ jar { manifest { attributes ' FMLAT' : ' weightapi_at.cfg' } }
49
50
safeClean { exclude + = DepATs . getDepATs(). name } // Добавляем файл трансформеров-зависимостей в исключение при очистке
50
51
51
52
dependencies {
Original file line number Diff line number Diff line change 1
- archivesBaseName = " weightapi-case1"
1
+ archivesBaseName = " weightapi-case1"
2
+
3
+ jar { manifest { attributes ' FMLAT' : ' weightapi_example1_at.cfg' } }
Original file line number Diff line number Diff line change @@ -8,4 +8,6 @@ repositories {
8
8
9
9
dependencies {
10
10
compile ' ru.rarescrap.configurableweight:configurableweight:0.5.0_1.7.10:dev'
11
- }
11
+ }
12
+
13
+ jar { manifest { attributes ' FMLAT' : ' weightapi_example2_at.cfg' } }
Original file line number Diff line number Diff line change
1
+ # У следующих полей модификатор доступа изменится на public
2
+ public net.minecraft.inventory.Container field_75149_d # crafters
You can’t perform that action at this time.
0 commit comments