File tree Expand file tree Collapse file tree
src/main/resources/META-INF Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ subprojects { // TODO: Forge дублируется в зависимостях
4646archivesBaseName = " weightapi"
4747apply plugin : ' DepATs'
4848minecraft { at(DepATs . getDepATs()) } // Включаем трансформеры из зависимостей
49+ jar { manifest { attributes ' FMLAT' : ' weightapi_at.cfg' } }
4950safeClean { exclude + = DepATs . getDepATs(). name } // Добавляем файл трансформеров-зависимостей в исключение при очистке
5051
5152dependencies {
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 {
88
99dependencies {
1010 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