Skip to content

Commit b445e32

Browse files
committed
Merge branch 'mc1.20.1/dev' into mc1.20.1/tcmods-data-compat
2 parents e91fa99 + 0bc4f0b commit b445e32

File tree

206 files changed

+15625
-6023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+15625
-6023
lines changed

.github/workflows/build.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ jobs:
2121

2222
- name: Setup Gradle
2323
uses: gradle/actions/setup-gradle@v4
24-
with:
25-
gradle-home-cache-cleanup: true
2624

2725
- name: Validate Gradle Wrapper Integrity
28-
uses: gradle/wrapper-validation-action@v2
26+
uses: gradle/actions/wrapper-validation@v3
2927

3028
- name: Build
3129
run: ./gradlew build

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache-disabled: true
1919

2020
- name: Validate Gradle Wrapper Integrity
21-
uses: gradle/wrapper-validation-action@v2
21+
uses: gradle/actions/wrapper-validation@v3
2222

2323
- name: Build & Publish
2424
env:

build.gradle

+29-26
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply from: "gradle/property_loader.gradle"
1616

1717
boolean dev = System.getenv('RELEASE') == null || System.getenv('RELEASE').equals('false')
1818
ext.buildNumber = System.getenv('BUILD_NUMBER')
19-
String gitHash = "\"${calculateGitHash() + (hasUnstaged() ? "-modified" : "")}\""
19+
String gitHash = "${calculateGitHash() + (hasUnstaged() ? "-modified" : "")}"
2020

2121
base {
2222
archivesName = "create-${artifact_minecraft_version}"
@@ -34,8 +34,9 @@ if (ponderInWorkspace) {
3434
project.logger.lifecycle("MultiModWorkspace ${inMultiModWorkspace ? 'enabled' : 'disabled'} for project ${project.name}.")
3535
project.logger.lifecycle("Dependencies included in Workspace: [Ponder: ${ponderInWorkspace}]")
3636

37+
def refmap
3738
mixin {
38-
add sourceSets.main, 'create.refmap.json'
39+
refmap = add sourceSets.main, 'create.refmap.json'
3940
config 'create.mixins.json'
4041
}
4142

@@ -149,34 +150,19 @@ repositories {
149150
}
150151

151152
dependencies {
152-
jarJar("com.tterrag.registrate:Registrate:${registrate_version}") {
153-
version {
154-
strictly "[MC1.20-1.3.3,)"
155-
}
156-
}
157-
jarJar("dev.engine-room.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}") {
158-
version {
159-
strictly "[1.0,2.0)"
160-
}
161-
}
153+
modImplementation(jarJar("com.tterrag.registrate:Registrate:${registrate_version}"))
154+
jarJar("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}")
162155

163-
jarJar("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}") {
164-
version {
165-
strictly "[${ponder_version},)"
166-
}
167-
}
156+
implementation(jarJar("io.github.llamalad7:mixinextras-forge:${mixin_extras_version}"))
168157

169-
implementation(jarJar("io.github.llamalad7:mixinextras-forge:${mixin_extras_version}")) {
158+
modCompileOnly("dev.engine-room.flywheel:flywheel-forge-api-${flywheel_minecraft_version}:${flywheel_version}")
159+
modRuntimeOnly(jarJar("dev.engine-room.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}") {
170160
version {
171-
strictly "[${mixin_extras_version},)"
161+
strictly "[1.0,2.0)"
162+
prefer "1.0.1"
172163
}
173-
}
174-
175-
modImplementation("com.tterrag.registrate:Registrate:${registrate_version}")
176-
177-
modCompileOnly("dev.engine-room.flywheel:flywheel-forge-api-${flywheel_minecraft_version}:${flywheel_version}")
178-
modRuntimeOnly("dev.engine-room.flywheel:flywheel-forge-${flywheel_minecraft_version}:${flywheel_version}")
179-
modRuntimeOnly("dev.engine-room.vanillin:vanillin-forge-${flywheel_minecraft_version}:${flywheel_version}")
164+
})
165+
modRuntimeOnly("dev.engine-room.vanillin:vanillin-forge-${flywheel_minecraft_version}:${vanillin_version}")
180166

181167
if (ponderInWorkspace) {
182168
implementation project(":ponder:Common")
@@ -247,6 +233,7 @@ dependencies {
247233
// modRuntimeOnly("curse.maven:blueprint-382216:4749000")
248234
// modRuntimeOnly("curse.maven:windsweptmod-636321:4817132")
249235
// modRuntimeOnly("curse.maven:good-ending-690161:4363719")
236+
// modRuntimeOnly("curse.maven:inventory-sorter-240633:5979609")
250237

251238
// https://discord.com/channels/313125603924639766/725850371834118214/910619168821354497
252239
// Prevent Mixin annotation processor from getting into IntelliJ's annotation processor settings
@@ -306,11 +293,26 @@ tasks.named("sourcesJar") {
306293
])
307294
}
308295

296+
final slimJar = tasks.register("slimJar", Jar) {
297+
archiveClassifier = "slim"
298+
from(sourceSets.main.output)
299+
from(refmap)
300+
manifest.attributes([
301+
"MixinConfigs": "create.mixins.json",
302+
"Git-Hash" : gitHash
303+
])
304+
}
305+
obfuscation.reobfuscate(slimJar, sourceSets.main)
306+
309307
project.publishing {
310308
publications {
311309
mavenJava(MavenPublication) {
312310
artifactId base.archivesName.get()
313311
from components.java
312+
313+
artifact(tasks.jar) {
314+
classifier = "all"
315+
}
314316
}
315317
}
316318

@@ -337,6 +339,7 @@ publishMods {
337339
file = reobfJar.archiveFile
338340
changelog = ChangelogText.getChangelogText(project).toString()
339341
type = STABLE
342+
version = "$minecraft_version-$mod_version"
340343
displayName = "$mod_name $mod_version for mc$minecraft_version"
341344
modLoaders.add("forge")
342345
modLoaders.add("neoforge")

changelog.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
------------------------------------------------------
2+
Create 6.0.2
3+
------------------------------------------------------
4+
5+
#### Bug Fixes
6+
7+
- Fix warning getting logged when cc: tweaked isn't installed
8+
9+
------------------------------------------------------
10+
Create 6.0.1
11+
------------------------------------------------------
12+
13+
#### Bug Fixes
14+
15+
- Fixed Shopping lists not updating when adding purchases (1.21) #7449 #7393
16+
- Fixed Frogport ponder scene not animating correctly (1.21)
17+
- Fixed broken address filter in second stock ticker ponder scene (1.21)
18+
- Fixed crash when modifying pipe structures while they are transporting fluids (1.21) #7515
19+
- Fixed shift-inserting into toolboxes causing items to be voided (1.21) #7519
20+
- Fixed inconsistent component serialisation in backtank BE (1.21)
21+
- Fixed table cloths not showing tooltips and enchantment effect when configured (1.21)
22+
- Fixed shopping list tooltip expanding as its viewed (1.21) #7503
23+
- Fixed crash when selling enchanted items on a table cloth (1.21) #7516 #7536
24+
- Added a tooltip for the stock keeper address input
25+
- Fixed crash when re-packaging a duplicated package fragment #7456
26+
- Fixed crash when ctrl-click copying a gauge #7431
27+
- Safety check for unexpected string modifications in address edit boxes #7409
28+
- Fixed crash with fluid propagator
29+
- Fixed a crash when using factory gauges
30+
- Fixed debug info command not translating the graphics mode text
31+
- Fixed cardboard sword not being able to damage arthropod mobs other than the spider
32+
- Fixed a crash that occurred when placing a stock link on a re-packager
33+
- Fixed an issue where wearing diving boots and sprinting would force you into the swim position and then out of it
34+
right away
35+
- Fixed item group attribute filters crashing
36+
- Fixed mixin conflict with immersive portals
37+
- Fixed processing output not supporting itemstack components
38+
- Fixed crash when shift-clicking items in the package filter UI #7497
39+
- Fixed crash caused by the create menu button when loaded too early #7521
40+
141
------------------------------------------------------
242
Create 6.0.0
343
------------------------------------------------------

gradle.properties

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ org.gradle.caching = true
77

88
# mod version info
99
# build_info_mod_version is the version that gets filled into CreateBuildInfo.java
10-
mod_version = 6.0.0
11-
build_info_mod_version = 6.0.0
10+
mod_version = 6.0.1
11+
build_info_mod_version = 6.0.1
1212
artifact_minecraft_version = 1.20.1
1313

1414
minecraft_version = 1.20.1
@@ -20,12 +20,13 @@ use_parchment = true
2020
# dependency versions
2121
registrate_version = MC1.20-1.3.3
2222
flywheel_minecraft_version = 1.20.1
23-
flywheel_version = 1.0.0-beta-212
23+
flywheel_version = 1.0.1
24+
vanillin_version = 1.0.0-beta-217
2425
jei_minecraft_version = 1.20.1
2526
jei_version = 15.19.0.85
2627
curios_minecraft_version = 1.20.1
2728
curios_version = 5.3.1
28-
ponder_version = 1.0.34
29+
ponder_version = 1.0.45
2930
mixin_extras_version = 0.4.1
3031

3132
cc_tweaked_enable = true

0 commit comments

Comments
 (0)