Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkona committed May 25, 2024
1 parent 28fb37a commit be098e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
22 changes: 5 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,7 @@ java {
}

minecraft {
// The mappings can be changed at any time and must be in the following format.
// Channel: Version:
// official MCVersion Official field/method names from Mojang mapping files
// parchment YYYY.MM.DD-MCVersion Open community-sourced parameter names and javadocs layered on top of official
//
// You must be aware of the Mojang license when using the 'official' or 'parchment' mappings.
// See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
//
// Parchment is an unofficial project maintained by ParchmentMC, separate from MinecraftForge
// Additional setup is needed to use their mappings: https://parchmentmc.org/docs/getting-started
//
// Use non-default mappings at your own risk. They may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.

mappings channel: 'official', version: mc_version

// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
Expand Down Expand Up @@ -78,10 +66,10 @@ minecraft {

property 'forge.logging.console.level', 'debug'

property 'forge.enabledGameTestNamespaces', 'actions-of-stamina'
property 'forge.enabledGameTestNamespaces', mod_id

mods {
actionsofstamina {
"${mod_id}" {
source sourceSets.main
}
}
Expand Down Expand Up @@ -187,12 +175,12 @@ dependencies {
jar {
manifest {
attributes([
"Specification-Title" : "actionsofstamina",
"Specification-Title" : mod_id,
"Specification-Vendor" : "CCr4ft3r, Darkona",
"Specification-Version" : "1", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : "CCr4ft3r, Darkona",
"Implementation-Vendor" : mod_authors,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ better_combat_file_id=5266134
player_animator_file_id=4587214
wall_jump_file_id=3597135
architectury_file_id=5137938
mod_id=actions-of-stamina
mod_authors=ccr4ft3r,Darkona
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ public class ModConstants {

public static final String MOD_ID = "actionsofstamina";
public static final String PARCOOL_MOD_ID = "parcool";
public static final String CREATE_MOD_ID = "create";
}

0 comments on commit be098e3

Please sign in to comment.