15048 errors 👍

This commit is contained in:
DaCodia
2024-07-25 21:22:57 -07:00
parent c74c4937e2
commit 756d8cd137
4 changed files with 30 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
plugins { plugins {
id 'fabric-loom' version "1.5.+" id 'fabric-loom' version "1.5-SNAPSHOT"
id 'maven-publish' id 'maven-publish'
} }
@@ -46,13 +46,13 @@ dependencies {
processResources { processResources {
// require dependencies to be the version compiled against or newer // require dependencies to be the version compiled against or newer
Map<String, String> properties = Map.of( // Map<String, String> properties = Map.of(
"version", version, // "version", version,
"fabric_loader_version", fabric_loader_version, // "fabric_loader_version", fabric_loader_version,
"fabric_api_version", fabric_api_version, // "fabric_api_version", fabric_api_version,
"create_version", create_version, // "create_version", create_version,
"minecraft_version", minecraft_version // "minecraft_version", minecraft_version
) // )
inputs.properties(properties) inputs.properties(properties)
@@ -87,69 +87,31 @@ publishing {
} }
} }
loom {
runs {
data {
environment = "data"
defaultMainClass = 'com.drmangotea.createindustry.CreateTFMG.java'
//property 'forge.logging.markers', 'REGISTRIES'
//property 'forge.logging.console.level', 'debug'
programArgs '--mod', 'createindustry', '--all', '--output', 'src/generated/resources/', '--existing', 'src/main/resources/'
}
// mixin {
// defaultRefmapName = 'mixins.createindustry.refmap.json'
// useRefmap = true
// remap = true
// }
}
}
//minecraft { //minecraft {
// //
// //
// // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default. // // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default.
// //
// runs {
// client {
// workingDirectory project.file('run')
// arg '-mixin.config=createindustry.mixins.json'
// property 'forge.logging.markers', 'REGISTRIES'
// property 'forge.logging.console.level', 'debug'
// property 'forge.enabledGameTestNamespaces', 'createindustry'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"
// mods {
// createindustry {
// source sourceSets.main
// }
// }
// }
//
// server {
// workingDirectory project.file('run')
// arg '-mixin.config=createindustry.mixins.json'
// property 'forge.logging.markers', 'REGISTRIES'
// property 'forge.logging.console.level', 'debug'
// property 'forge.enabledGameTestNamespaces', 'createindustry'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"
// mods {
// createindustry {
// source sourceSets.main
// }
// }
// }
//
// gameTestServer {
// workingDirectory project.file('run')
// property 'forge.logging.markers', 'REGISTRIES'
// property 'forge.logging.console.level', 'debug'
// property 'forge.enabledGameTestNamespaces', 'createindustry'
// property 'mixin.env.remapRefMap', 'true'
// property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"
// mods {
// createindustry {
// source sourceSets.main
// }
// }
// }
//
// data {
// workingDirectory project.file('run')
// property 'forge.logging.markers', 'REGISTRIES'
// property 'forge.logging.console.level', 'debug'
// args '--mod', 'createindustry', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
// mods {
// createindustry {
// source sourceSets.main
// }
// }
// }
// }
//} //}
// //
//// Include resources generated by data generators. //// Include resources generated by data generators.

View File

@@ -1,5 +1,6 @@
pluginManagement { pluginManagement {
repositories { repositories {
mavenCentral()
gradlePluginPortal() gradlePluginPortal()
maven { url = "https://maven.fabricmc.net/" } maven { url = "https://maven.fabricmc.net/" }
maven { url = "https://maven.quiltmc.org/repository/release" } maven { url = "https://maven.quiltmc.org/repository/release" }

View File

@@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"minVersion": "0.8", "minVersion": "0.5",
"package": "com.drmangotea.createindustry.mixins", "package": "com.drmangotea.createindustry.mixins",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_17",
"mixins": [ "mixins": [
@@ -10,9 +10,6 @@
"FluidPipeBlockMixin", "FluidPipeBlockMixin",
"PipeAttachmentModelMixin", "PipeAttachmentModelMixin",
"BucketItemMixin" "BucketItemMixin"
// "ArrowMixin"
//,
// "ScreenEffectRendererMixin"
], ],
"injectors": { "injectors": {

View File

@@ -8,7 +8,7 @@
"DrMangoTea, Pepa, Milky, Luna, but mostly DaCodia" "DrMangoTea, Pepa, Milky, Luna, but mostly DaCodia"
], ],
"contact": { "contact": {
"sources": "https://github.com/Fabricators-of-Create/create-fabric-addon-template" "sources": "https://github.com/DrMango14/Create-The_Factory_Must_Grow"
}, },
"license": "CC0", "license": "CC0",
"icon": "logo.png", "icon": "logo.png",