Skip to content

Commit

Permalink
feat: ✨ Update to 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MPThLee committed Jun 15, 2023
1 parent 823f483 commit e224248
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v1.4.1

- Minecraft 1.20.1 support

## v1.4.0

- Minecraft 1.20 support
Expand Down
22 changes: 21 additions & 1 deletion DOWNLOAD.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,31 @@

## 1.20.x

### 1.20.1

[GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/tag/v1.4.1) or Modrinth.

[Nightly.link for 1.20.1](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/mc1.20.1)

#### Forge

[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.1/disable_compliance_notification-v1.4.1+forge-1.20.1.jar)

Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config).

#### Fabric

[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.1/disable_compliance_notification-v1.4.1+fabric-1.20.1.jar)

Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config) and [Mod Menu](https://modrinth.com/mod/modmenu).



### 1.20

[GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/tag/v1.4.0) or Modrinth.

[Nightly.link for 1.19.4](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/mc1.20)
[Nightly.link for 1.20](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/mc1.20)

#### Forge

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ Image and quote reference: https://minecraft.fandom.com/wiki/Java_Edition_1.18.2

Older changelog is available on [CHANGELOG.md](./CHANGELOG.md).

### v1.4.0 (Latest)
### v1.4.1 (Latest)

- Minecraft 1.20 support
- Minecraft 1.20.1 support
## Download

- [Modrinth](https://modrinth.com/mod/disable-compliance-notification)
- [GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/)

Older releases links are on [DOWNLOAD.md](./DOWNLOAD.md).

### Latest (v1.4.0 for Minecraft 1.20)
### Latest (v1.4.1 for Minecraft 1.20.1)

[GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/tag/v1.4.0) or Modrinth.
[GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/tag/v1.4.1) or Modrinth.

[Nightly.link for 1.19.4](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/mc1.20)
[Nightly.link for 1.20.1](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/mc1.20.1)

#### Forge

[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.0/disable_compliance_notification-v1.4.0+forge-1.20.jar)
[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.1/disable_compliance_notification-v1.4.1+forge-1.20.1.jar)

Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config).

#### Fabric

[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.0/disable_compliance_notification-v1.4.0+fabric-1.20.jar)
[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/v1.4.1/disable_compliance_notification-v1.4.1+fabric-1.20.1.jar)

Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config) and [Mod Menu](https://modrinth.com/mod/modmenu).
10 changes: 5 additions & 5 deletions config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ maven_group=ee.mpthl.mc.disable_compliance_notification
java_version=17

# Mod and Minecraft
mod_version=1.4.0
minecraft_version=1.20
mod_version=1.4.1
minecraft_version=1.20.1
pack_format=15

# Forge
# https://files.minecraftforge.net/net/minecraftforge/forge/
forge_version=46.0.1
forge_version=47.0.1

# Fabric
# https://fabricmc.net/develop/
fabric_loader_version=0.14.21
fabric_api_version=0.83.0
fabric_api_version=0.83.1


## BUILD TOOL ##
Expand All @@ -33,4 +33,4 @@ mixin_processor_version=0.8.5
cloth_config_version=11.0.99

# Mod Menu
modmenu_version=7.0.0
modmenu_version=7.0.1
41 changes: 41 additions & 0 deletions tools/make-template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/python3

import argparse
import asyncio


async def main():
parser = argparse.ArgumentParser(
prog='MakeVersionOutput',
description='Make version output')
parser.add_argument('-g', '--game', required=True)
parser.add_argument('-v', '--version', required=True)
args = parser.parse_args()

print(make_download(args.game, args.version))


def make_download(game_ver, ver):
ver = f"v{ver}" if not ver.startswith("v") else ver
branch = f"mc{game_ver}"
return f"""### {game_ver}
[GitHub Release](https://github.com/MPThLee/DisableComplianceNotification/releases/tag/{ver}) or Modrinth.
[Nightly.link for {game_ver}](https://nightly.link/MPThLee/DisableComplianceNotification/workflows/build/{branch})
#### Forge
[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/{ver}/disable_compliance_notification-{ver}+forge-{game_ver}.jar)
Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config).
#### Fabric
[Download Directly via GitHub](https://github.com/MPThLee/DisableComplianceNotification/releases/download/{ver}/disable_compliance_notification-{ver}+fabric-{game_ver}.jar)
Recommended with [Cloth Config](https://modrinth.com/mod/cloth-config) and [Mod Menu](https://modrinth.com/mod/modmenu)."""


if __name__ == "__main__":
asyncio.run(main())

0 comments on commit e224248

Please sign in to comment.