Skip to content

Commit 71dec80

Browse files
authored
Fix ore overlays, bars and trapdoors in 1.16.5 (#551)
This fixes the flickering ore overlays and brings the vanilla bar connections across to 1.16.5. Doors and trapdoors now show the terrain through their gaps, and the held models change when you draw a bow, raise a shield or cast a fishing rod. I've bumped the version to 3.1.2.116051 and pinned the published OreSpawn 4.1.7.116051 for the build.
2 parents 832a44d + 95445da commit 71dec80

216 files changed

Lines changed: 3274 additions & 4199 deletions

File tree

Some content is hidden

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

‎CHANGELOG.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Base Metals 3.1.2.116051
2+
3+
- Fixed flickering ore overlays and brought the vanilla bar connections across to 1.16.5.
4+
- Fixed floors and walls disappearing through the gaps in doors and trapdoors.
5+
- Bows, crossbows, shields and fishing rods now switch to their in-use models.
6+
- Builds and stack tests now use the published OreSpawn 4.1.7.116051.
7+
18
Base Metals 3.1.1.116051
29

310
- Register the old-world hook through Forge's queued common setup, before any

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ shields, bows, crossbows, arrows, and bolts. The mod also includes Crack
1212
Hammers, scythes, metal anvils, the human detector, villager trades,
1313
advancements, and extra loot to find in chests.
1414

15-
This is Base Metals `3.1.1.116051` for Minecraft 1.16.5. It brings the 1.15.2
15+
This is Base Metals `3.1.2.116051` for Minecraft 1.16.5. It brings the 1.15.2
1616
release forward while keeping the same blocks, items and recipes. MMDLib and
1717
Additional Loot Tables are no longer needed. OreSpawn places the ores, and
1818
Base Metals supplies the metals and their recipes.
@@ -37,7 +37,7 @@ are not yet included in the 3.0.1 builds for Minecraft 1.13–1.15.
3737
- Java 8
3838
- OreSpawn `[4.1.0.116051,5.0.0)` on both client and server
3939

40-
Put `BaseMetals-3.1.1.116051.jar` and OreSpawn `4.1.0.116051` (or a later
40+
Put `BaseMetals-3.1.2.116051.jar` and OreSpawn `4.1.7.116051` (or a later
4141
compatible OreSpawn 4 build for 1.16.5) in the `mods` directory. MMDLib and
4242
Additional Loot Tables are not dependencies. Mineralogy is optional.
4343

@@ -205,16 +205,16 @@ builds, CodeQL, wrapper validation, and Eclipse classpath isolation. Test probes
205205
and historical fixtures are excluded from the published JAR.
206206

207207
Development and packaged tests use the published
208-
[OreSpawn `4.1.0.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9080646)
209-
through Curse Maven: `curse.maven:mmd-orespawn-245586:9080646`. The build checks
208+
[OreSpawn `4.1.7.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9929985)
209+
through Curse Maven: `curse.maven:mmd-orespawn-245586:9929985`. The build checks
210210
its checksum, Minecraft version and configuration-screen API.
211211

212212
CI stages the same verified download with `gradle/stage-orespawn-release.sh`
213213
and passes its temporary repository through `orespawnVerificationRepository`.
214214
Normal development does not need a local OreSpawn checkout or repository.
215215

216216
Release artifacts use Maven coordinate
217-
`zone.moddev.mc.basemetals:BaseMetals:3.1.1.116051`.
217+
`zone.moddev.mc.basemetals:BaseMetals:3.1.2.116051`.
218218

219219
Report defects through the
220220
[Base Metals issue tracker](https://github.com/MinecraftModDevelopmentMods/BaseMetals/issues).

‎docs/MIGRATION.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The hook is registered through queued common setup, after parallel mod loading.
88
Only registration timing has changed; saved IDs and migration rules are unchanged.
99

1010
Always upgrade a copy and retain the original 1.10/1.12 world. Install Base
11-
Metals `3.1.1.116051`, OreSpawn `4.1.0.116051`, and any other 1.16.5 mods needed
11+
Metals `3.1.2.116051`, OreSpawn `4.1.7.116051`, and any other 1.16.5 mods needed
1212
by that world. Do not carry MMDLib, Additional Loot Tables, the OreSpawn 3
1313
plugin, or Base Metals' old fallback generator into the new instance.
1414

‎docs/VERSIONS.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Supported versions
22

3-
Base Metals `3.1.1.116051` targets Minecraft `1.16.5`, Forge `36.2.34`, and
3+
Base Metals `3.1.2.116051` targets Minecraft `1.16.5`, Forge `36.2.34`, and
44
Java 8. The Gradle build itself runs on Java `17.0.1+12` and uses ForgeGradle
55
`7.0.34` with Gradle `9.6.1`; those build-time runtimes do not change the Java
66
8 requirement of the released mod.
77

88
Builds and tests use the published
9-
[OreSpawn `4.1.0.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9080646) with
10-
SHA-256 `CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04`.
9+
[OreSpawn `4.1.7.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9929985) with
10+
SHA-256 `310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC`.
1111
At runtime, Base Metals requires OreSpawn `[4.1.0.116051,5.0.0)` for Minecraft 1.16.5.
1212
The configuration cog uses OreSpawn's public 4.1 client API.
1313

14-
The development coordinate is `curse.maven:mmd-orespawn-245586:9080646`:
15-
CurseForge project `245586`, file `9080646`. CI downloads and checks the same
14+
The development coordinate is `curse.maven:mmd-orespawn-245586:9929985`:
15+
CurseForge project `245586`, file `9929985`. CI downloads and checks the same
1616
file before staging it in a temporary Maven repository.
1717
The schema-3 provider supports the OreSpawn versions in the runtime range above.
1818

1919
Release artifacts use Maven coordinate
20-
`zone.moddev.mc.basemetals:BaseMetals:3.1.1.116051`.
20+
`zone.moddev.mc.basemetals:BaseMetals:3.1.2.116051`.

‎docs/WORLDGEN.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Base Metals requires OreSpawn `[4.1.0.116051,5.0.0)` and packages provider
44
schema 3, revision 1 at `data/basemetals/orespawn/provider.json`. Builds and
5-
tests use the published OreSpawn `4.1.0.116051` release, CurseForge file `9080646`.
5+
tests use the published OreSpawn `4.1.7.116051` release, CurseForge file `9929985`.
66

77
The provider declares ores only: it has no rocks, geomes, biome rules, terrain
88
dimensions, formations, fluid deposits, vanilla suppression, or strata

‎gradle.properties‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ curseforge_project_id=240967
2222

2323
# Exact OreSpawn release used for development, CI and packaged tests.
2424
orespawn_dependency_mode=release
25-
orespawn_version=4.1.0.116051
25+
orespawn_version=4.1.7.116051
2626
orespawn_curse_project_id=245586
27-
orespawn_curse_file_id=9080646
28-
orespawn_sha256=CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04
27+
orespawn_curse_file_id=9929985
28+
orespawn_sha256=310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC
2929

3030
# Versions accepted when players load the mod.
3131
forge_version_range=[36,)
@@ -40,7 +40,7 @@ mcp_version=20210115.111550
4040
mod_id=basemetals
4141
mod_name=Base Metals
4242
mod_license=LGPL-2.1
43-
mod_version=3.1.1.116051
43+
mod_version=3.1.2.116051
4444

4545
# Maven coordinates and credits.
4646
mod_group=zone.moddev.mc.basemetals

‎gradle/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Use Java 17 to run Gradle. ForgeGradle uses Java 25 for its Mavenizer; Minecraft
1717
and the mod run on Java 8. Development accepts newer Java 8 updates, while
1818
release auditing requires the pinned compiler in `gradle.properties`.
1919

20-
The build resolves the published OreSpawn `4.1.0.116051` release through
21-
`curse.maven:mmd-orespawn-245586:9080646`. `verifyReleaseDependencies` checks
20+
The build resolves the published OreSpawn `4.1.7.116051` release through
21+
`curse.maven:mmd-orespawn-245586:9929985`. `verifyReleaseDependencies` checks
2222
its checksum, mod metadata and configuration-screen API. No local OreSpawn
2323
checkout is needed.
2424

‎gradle/release/artifacts.gradle‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tasks.register('verifyReleaseConfiguration') {
131131
loaderCode: project.loader_code.toString(), javaVersion: project.java_version.toString(),
132132
gradleJavaVersion: project.gradle_java_version.toString(),
133133
curseForgeProjectId: project.curseforge_project_id.toString()]
134-
def expected = [modVersion: '3.1.1.116051', modGroup: expectedMavenGroup,
134+
def expected = [modVersion: '3.1.2.116051', modGroup: expectedMavenGroup,
135135
minecraftVersion: '1.16.5', forgeVersion: '36.2.34',
136136
forgeInstallerSha256: '53B73DBBCC486F38726E76CE923B13381044984C83C762847C7193340F97130F',
137137
mappingChannel: 'official', mappingVersion: '1.16.5',
@@ -144,8 +144,8 @@ tasks.register('verifyReleaseConfiguration') {
144144
tasks.register('verifyReleaseDependencies') {
145145
group = 'verification'
146146
doLast {
147-
def expected = [version: '4.1.0.116051', curseProjectId: '245586', curseFileId: '9080646',
148-
sha256: 'CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04']
147+
def expected = [version: '4.1.7.116051', curseProjectId: '245586', curseFileId: '9929985',
148+
sha256: '310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC']
149149
if (configuredOreSpawnIdentity != expected) {
150150
throw new GradleException("Unexpected OreSpawn identity: ${configuredOreSpawnIdentity}")
151151
}
@@ -160,8 +160,8 @@ tasks.register('verifyReleaseDependencies') {
160160
if (metadataEntry == null) throw new GradleException('OreSpawn mod metadata is missing')
161161
String metadata = zip.getInputStream(metadataEntry).getText('UTF-8')
162162
if (!metadata.contains('modId="orespawn"')
163-
|| !metadata.contains('version="4.1.0.116051"')
164-
|| !metadata.contains('versionRange="[1.16.5,1.17)"')
163+
|| !metadata.contains('version="4.1.7.116051"')
164+
|| !metadata.contains('versionRange="[1.16.5]"')
165165
|| zip.getEntry('zone/moddev/mc/orespawn/api/OreSpawnApi.class') == null
166166
|| zip.getEntry('zone/moddev/mc/orespawn/api/client/WorldSettingsExtensionRegistry.class') == null) {
167167
throw new GradleException('Expected Minecraft 1.16.5 OreSpawn 4.1 and its configuration-screen API')
@@ -256,7 +256,7 @@ tasks.register('verifyReleaseArtifacts') {
256256
throw new GradleException('Release manifest contains the wrong identity')
257257
}
258258
String modsToml = zip.getInputStream(zip.getEntry('META-INF/mods.toml')).getText('UTF-8')
259-
if (modsToml.contains('${') || !modsToml.contains('version="3.1.1.116051"')
259+
if (modsToml.contains('${') || !modsToml.contains('version="3.1.2.116051"')
260260
|| !modsToml.contains('versionRange="[4.1.0.116051,5.0.0)"')
261261
|| !modsToml.contains('loaderVersion="[36,)"')
262262
|| !modsToml.contains('versionRange="[36,)"')

‎gradle/stage-orespawn-candidate.ps1‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ param(
44
)
55

66
$ErrorActionPreference = 'Stop'
7-
$candidateVersion = '4.1.0.116051'
8-
$candidateSha256 = 'CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04'
7+
$candidateVersion = '4.1.7.116051'
8+
$candidateSha256 = '310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC'
99

1010
if ((Get-FileHash -LiteralPath $CandidateJar -Algorithm SHA256).Hash -ne $candidateSha256) {
1111
throw 'The OreSpawn candidate differs from the qualified build.'
@@ -18,7 +18,7 @@ try {
1818
if ($null -eq $metadata) { throw 'OreSpawn mod metadata is missing.' }
1919
$reader = [IO.StreamReader]::new($metadata.Open())
2020
try { $text = $reader.ReadToEnd() } finally { $reader.Dispose() }
21-
if (!$text.Contains('version="4.1.0.116051"') -or !$text.Contains('versionRange="[1.16.5,1.17)"') -or
21+
if (!$text.Contains('version="4.1.7.116051"') -or !$text.Contains('versionRange="[1.16.5]"') -or
2222
$null -eq $archive.GetEntry('zone/moddev/mc/orespawn/api/client/WorldSettingsExtensionRegistry.class')) {
2323
throw 'Expected the OreSpawn 1.16.5 candidate with its configuration-screen API.'
2424
}

‎gradle/verification/generated-data.gradle‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,10 @@ tasks.named('check') {
9393
project.ext.baseMetalsBuild.putAll([
9494
generateOreModels: generateOreModels
9595
])
96+
97+
tasks.register('verifyBarModels', Exec) {
98+
dependsOn verifyGeneratedData
99+
commandLine 'node', '--test', 'tools/test_bar_models.js'
100+
}
101+
102+
tasks.named('check') { dependsOn 'verifyBarModels' }

0 commit comments

Comments
 (0)