Skip to content

Commit

Permalink
Release v1.2.1 for MC 1.21.1 Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
cpburnz committed Aug 20, 2024
1 parent 52e0299 commit 81fee1a
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 181 deletions.
8 changes: 4 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ Change History
==============


1.2.1 for Minecraft 1.20.6 with Forge 50.1.0 (2024-08-19)
1.2.1 for Minecraft 1.21.1 with Forge 52.0.0 (2024-08-19)
---------------------------------------------------------

New features:

- Support MC 1.20.6.
- Support Minecraft 1.21.1.

Bug fixes:

- Prevent possible crash on bad start-up.


1.2.0 for Minecraft 1.20.6 with Forge 50.1.0 (Unreleased)
1.2.0 for Minecraft 1.21.1 with Forge 52.0.0 (Unreleased)
---------------------------------------------------------

New features:
Expand All @@ -32,7 +32,7 @@ Miscellaneous:
- Minor documentation.


1.1.0 for Minecraft 1.20.6 with Forge 50.1.0 (Unreleased)
1.1.0 for Minecraft 1.21.1 with Forge 52.0.0 (Unreleased)
---------------------------------------------------------

New features:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ systems monitoring toolkit, [Prometheus]. The mod is intended for server-side
use, and does not need to be installed client-side. This currently has builds
for the following versions:

- Minecraft 1.21.1 with Forge 52.0.0.
- Minecraft 1.20.6 with Forge 50.1.0.
- Minecraft 1.20.4 with Forge 49.1.0.
- Minecraft 1.20.2 with Forge 48.1.0.
Expand Down Expand Up @@ -58,8 +59,8 @@ Known compatible Grafana dashboards are listed in [dashboards.md].
[Curse Forge]: https://www.curseforge.com/minecraft/mc-mods/prometheus-exporter
[GitHub]: https://github.com/cpburnz/minecraft-prometheus-exporter/releases
[Prometheus]: https://prometheus.io/
[dashboards.md]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.20.6-forge/dashboards.md
[dashboards.md]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.21.1-forge/dashboards.md
[issue on GitHub]: https://github.com/cpburnz/minecraft-prometheus-exporter/issues
[metrics.md]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.20.6-forge/metrics.md
[output.txt]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.20.6-forge/examples/output.txt
[prometheus_exporter-server.toml]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.20.6-forge/examples/prometheus_exporter-server.toml
[metrics.md]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.21.1-forge/metrics.md
[output.txt]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.21.1-forge/examples/output.txt
[prometheus_exporter-server.toml]: https://github.com/cpburnz/minecraft-prometheus-exporter/blob/mc1.21.1-forge/examples/prometheus_exporter-server.toml
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id 'idea'

// Forge Gradle plugin (required).
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
id 'net.minecraftforge.gradle' version '[6.0.24,6.2)'

// Shadow Jar plugin: bundle dependencies.
id 'com.gradleup.shadow' version '8.3.0'
Expand Down
322 changes: 159 additions & 163 deletions examples/output.txt

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions examples/prometheus_exporter-server.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
mc_dimension_tick_errors = "LOG"
#Enable collecting metrics about the entities in each dimension (world).
mc_entities = true

#Web server settings.
[web]
#The IP address to listen on. To only allow connections from the local machine, use "127.0.0.1". To allow connections from remote machines, use "0.0.0.0".
listen_address = "0.0.0.0"
#The TCP port to listen on. Ports 1-1023 will not work unless Minecraft is run as root which is not recommended.
#Range: 0 ~ 65535
listen_port = 19565
#The IP address to listen on. To only allow connections from the local machine, use "127.0.0.1". To allow connections from remote machines, use "0.0.0.0".
listen_address = "0.0.0.0"
15 changes: 9 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ org.gradle.daemon=false
## Environment Properties

# The Minecraft version must agree with the Forge version to get a valid artifact
minecraft_version=1.20.6
minecraft_version=1.21.1

# The Minecraft version range can use any release version of Minecraft as bounds.
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.20.6,1.21)
minecraft_version_range=[1.21.1,1.22)

# The Forge version must agree with the Minecraft version to get a valid artifact
forge_version=50.1.0
forge_version=52.0.0

# The Forge version range can use any version of Forge as bounds or match the loader version range
forge_version_range=[50,)
forge_version_range=[52,)

# The loader version range can only use the major version of Forge/FML as bounds
loader_version_range=[50,)
loader_version_range=[52,)

# The mapping channel to use for mappings.
# The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"].
Expand All @@ -38,7 +41,7 @@ mapping_channel=official

# The mapping version to query from the mapping channel.
# This must match the format required by the mapping channel.
mapping_version=1.20.6
mapping_version=1.21.1


## Mod Properties
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "${mod_id} resources",
"pack_format": 32
"pack_format": 34
}
}

0 comments on commit 81fee1a

Please sign in to comment.