Skip to content

Commit

Permalink
Update to Minecraft 1.20 (#14)
Browse files Browse the repository at this point in the history
* Add notice on compiling previous versions

* Update mod to 1.19.4-pre2
Bump version

* Update the release workflow as well

* Move README FAQ below images

* Fix wrong MC version dependency in FMJ

* Remove LazyDFU, 1.19.4 DFU optimizations are good enough

* Use vanilla `Material` class instead of custom `MaterialCategory`

* Update to `1.19.4-rc2`

* Add more properties related to releases

* Update to MC 1.19.4

* Update gradle to 8.1, as required by fabric loom 1.2-SNAPSHOT

* Go back to the custom `MaterialCategory` class
as the vanilla `Material` class has gone away

* Update how the item group is built for 1.20-pre2

* Update the mod's properties and release workflow for 1.20-pre2

* Update the mod's properties and release workflow for 1.20-rc1

* Update the mod's properties and release workflow for 1.20

---------

Co-authored-by: NebelNidas <nebelnidas@gmail.com>
  • Loading branch information
thefirethirteen and NebelNidas authored Jun 9, 2023
1 parent 7d5aae0 commit 32b1b3d
Show file tree
Hide file tree
Showing 14 changed files with 355 additions and 258 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
files-primary: build/libs/!(*-@(dev|sources)).jar
files-secondary: null

name: Release 4.2.0 for Minecraft 1.19.4
version: 4.2.0+1.19.4
name: Release 5.0.0 for Minecraft 1.20
version: 5.0.0+1.20
version-type: release

loaders: |
Expand All @@ -59,7 +59,10 @@ jobs:
fabric-api | depends | *
game-versions: |
1.19.4
[1.20-rc1,1.20.1-rc1]
game-version-filter: |
any
java: |
17
16 changes: 9 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@
org.gradle.jvmargs = -Xmx2G

# Gradle Plugins
fabric_loom_version = 1.1-SNAPSHOT
fabric_loom_version = 1.2-SNAPSHOT
loom_quiltflower_version = 1.8.0
checkstyle_version = 10.5.0

# Mod Properties
mod_version = 4.2.0+1.19.4
mod_version = 5.0.0+1.20
maven_group = com.github.reviversmc
archives_base_name = modern-glass-doors

# Mod Dependencies
minecraft_version = 1.19.4
fabric_loader_version = 0.14.18
fabric_api_version = 0.76.0+1.19.4
yarn_mappings = 1.19.4+build.1
minecraft_version = 1.20
fabric_loader_version = 0.14.21
fabric_api_version = 0.83.0+1.20
yarn_mappings = 1.20+build.1


# If true, third-party mods will be loaded during runtime in the developer run configurations
use_third_party_mods = true
# To be disabled for the time being to protect from fractureiser
use_third_party_mods = false

# Everything is outdated
modmenu_version = 6.1.0-rc.4
sodium_version = mc1.19.4-0.4.10
lithium_version = mc1.19.4-0.11.1
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
12 changes: 6 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase = GRADLE_USER_HOME
distributionPath = wrapper/dists
distributionUrl = https\://services.gradle.org/distributions/gradle-7.6-bin.zip
networkTimeout = 10000
zipStoreBase = GRADLE_USER_HOME
zipStorePath = wrapper/dists
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 32b1b3d

Please sign in to comment.