Skip to content

Commit

Permalink
Merge branch 'mc/1.20.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Dec 28, 2023
2 parents c8936db + 38c6582 commit 3299f6e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ classes/
*.launch

.DS_Store

.architectury-transformer/
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Just Hammers Changelog

## [82.0.1]

### Fixed

- Removed mixin debugs
- Fixed render issues with neoforge

## [82.0.0]

### Changed
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ allprojects {

publishMods {
dryRun = providers.environmentVariable("CURSE_TOKEN").getOrNull() == null
changelog = file("./CHANGELOG.md").text
changelog = file("./CHANGELOG.md").text.replace("# Just Hammers Changelog", "").trim()
version = "${mod_version}"
type = STABLE

Expand Down Expand Up @@ -146,6 +146,9 @@ publishMods {
github {
file = project.provider { project(":forge").tasks.remapJar }.flatMap { it.archiveFile }
additionalFiles.from project.provider { project(":fabric").tasks.remapJar }.flatMap { it.archiveFile }
additionalFiles.from project.provider { project(":neoforge").tasks.remapJar }.flatMap { it.archiveFile }

announcementTitle = "[${minecraft_version}] Just Hammers ${mod_version}"

repository = "${project.github_repo}"
accessToken = providers.environmentVariable("GITHUB_TOKEN")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/**
* Forge and fabric seem to have different source sets so this is required... Fun
*/
@Debug(export = true)
@Mixin(ServerPlayerGameMode.class)
public class ServerPlayerGameModeMixinFabric {
@Shadow @Final protected ServerPlayer player;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/**
* Forge and fabric seem to have different source sets so this is required... Fun
*/
@Debug(export = true)
@Mixin(ServerPlayerGameMode.class)
public class ServerPlayerGameModeMixinForge {
@Shadow @Final protected ServerPlayer player;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version=1.20.2
enabled_platforms=fabric,forge,neoforge

archives_base_name=just-hammers
mod_version=82.0.0
mod_version=82.0.1
maven_group=pro.mikey.mods

architectury_version=10.0.17
Expand Down
2 changes: 2 additions & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ remapJar {
dependsOn shadowJar
setArchiveClassifier null
setArchivesBaseName("${rootProject.archivesBaseName}-${project.name}") // adds fabric to the maven and curse name

atAccessWideners.add('justhammers.accesswidener')
}

jar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/**
* Forge and fabric seem to have different source sets so this is required... Fun
*/
@Debug(export = true)
@Mixin(ServerPlayerGameMode.class)
public class ServerPlayerGameModeMixinNeoForge {
@Shadow @Final protected ServerPlayer player;
Expand Down

0 comments on commit 3299f6e

Please sign in to comment.