Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Base Metals 3.0.3.115021

- Fixed flickering ore overlays on stone, Netherrack and End Stone.
- Bars now connect the same way as vanilla iron bars.
- Fixed floors and walls disappearing through the gaps in doors and trapdoors.

Base Metals 3.0.2.115021

- Fix an intermittent world loading and saving failure when other mods also
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![Discord](https://img.shields.io/badge/Discord-MMD-green.svg?style=flat&logo=Discord)](https://discord.moddev.zone)

This update fixes flickering ore overlays, bar connections and missing terrain behind doors and trapdoors.
[![CurseForge downloads](https://cf.way2muchnoise.eu/full_base-metals_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/base-metals)
[![Supported Minecraft versions](https://cf.way2muchnoise.eu/versions/Minecraft_base-metals_all.svg)](https://www.curseforge.com/minecraft/mc-mods/base-metals)
[![Build, test, and audit](https://github.com/MinecraftModDevelopmentMods/BaseMetals/actions/workflows/ci.yml/badge.svg?branch=master-1.15.2)](https://github.com/MinecraftModDevelopmentMods/BaseMetals/actions/workflows/ci.yml?query=branch%3Amaster-1.15.2)
Expand All @@ -12,7 +14,7 @@ shields, bows, crossbows, arrows, and bolts. The mod also includes Crack
Hammers, scythes, metal anvils, the human detector, villager trades,
advancements, and extra loot to find in chests.

This is Base Metals `3.0.2.115021` for Minecraft 1.15.2. It brings the 1.14.4
This is Base Metals `3.0.3.115021` for Minecraft 1.15.2. It brings the 1.14.4
release forward while keeping the same blocks, items and recipes. MMDLib and
Additional Loot Tables are no longer needed. OreSpawn places the ores, and
Base Metals supplies the metals and their recipes.
Expand All @@ -29,7 +31,7 @@ Armorer, Weaponsmith and Toolsmith professions introduced in Minecraft 1.14.
- Java 8
- OreSpawn `[4.1.0.115021,5.0.0)` on both client and server

Put `BaseMetals-3.0.2.115021.jar` and OreSpawn `4.1.0.115021` (or a later
Put `BaseMetals-3.0.3.115021.jar` and OreSpawn `4.1.0.115021` (or a later
compatible OreSpawn 4 build for 1.15.2) in the `mods` directory. MMDLib and
Additional Loot Tables are not dependencies. Mineralogy is optional.

Expand Down Expand Up @@ -204,7 +206,7 @@ the temporary repository through `orespawnVerificationRepository`. Local
candidate builds remain guarded against publication.

Release artifacts use Maven coordinate
`zone.moddev.mc.basemetals:BaseMetals:3.0.2.115021`.
`zone.moddev.mc.basemetals:BaseMetals:3.0.3.115021`.

Report defects through the
[Base Metals issue tracker](https://github.com/MinecraftModDevelopmentMods/BaseMetals/issues).
Expand Down
2 changes: 1 addition & 1 deletion docs/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ blocks cannot be reconstructed by Mojang's vanilla fixer alone, so Base Metals
installs a narrowly scoped migration hook before Forge reads an old world.

Always upgrade a copy and retain the original 1.10/1.12 world. Install Base
Metals `3.0.2.115021`, OreSpawn `4.1.0.115021`, and any other 1.15.2 mods needed
Metals `3.0.3.115021`, OreSpawn `4.1.0.115021`, and any other 1.15.2 mods needed
by that world. Do not carry MMDLib, Additional Loot Tables, the OreSpawn 3
plugin, or Base Metals' old fallback generator into the new instance.

Expand Down
4 changes: 2 additions & 2 deletions docs/VERSIONS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Supported versions

Base Metals `3.0.2.115021` targets Minecraft `1.15.2`, Forge `31.2.57`, and
Base Metals `3.0.3.115021` targets Minecraft `1.15.2`, Forge `31.2.57`, and
Java 8. The Gradle build itself runs on Java `17.0.1+12` and uses ForgeGradle
`7.0.34` with Gradle `9.6.1`; those build-time runtimes do not change the Java
8 requirement of the released mod.
Expand All @@ -16,4 +16,4 @@ CI stages the same checksum-verified file in a temporary Maven repository.
The schema-3 provider supports the OreSpawn versions in the runtime range above.

Release artifacts use Maven coordinate
`zone.moddev.mc.basemetals:BaseMetals:3.0.2.115021`.
`zone.moddev.mc.basemetals:BaseMetals:3.0.3.115021`.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mcp_version=20200515.085601
mod_id=basemetals
mod_name=Base Metals
mod_license=LGPL-2.1
mod_version=3.0.2.115021
mod_version=3.0.3.115021

# Maven coordinates and credits.
mod_group=zone.moddev.mc.basemetals
Expand Down
4 changes: 2 additions & 2 deletions gradle/release/artifacts.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ tasks.register('verifyReleaseConfiguration') {
loaderCode: project.loader_code.toString(), javaVersion: project.java_version.toString(),
gradleJavaVersion: project.gradle_java_version.toString(),
curseForgeProjectId: project.curseforge_project_id.toString()]
def expected = [modVersion: '3.0.2.115021', modGroup: expectedMavenGroup,
def expected = [modVersion: '3.0.3.115021', modGroup: expectedMavenGroup,
minecraftVersion: '1.15.2', forgeVersion: '31.2.57',
forgeInstallerSha256: '84FD49A743978421B26F62AC78222289FE892A46F996CF11CB5E05B7441A7773',
mappingChannel: 'snapshot', mappingVersion: '20200514-1.15.1',
Expand Down Expand Up @@ -256,7 +256,7 @@ tasks.register('verifyReleaseArtifacts') {
throw new GradleException('Release manifest contains the wrong identity')
}
String modsToml = zip.getInputStream(zip.getEntry('META-INF/mods.toml')).getText('UTF-8')
if (modsToml.contains('${') || !modsToml.contains('version="3.0.2.115021"')
if (modsToml.contains('${') || !modsToml.contains('version="3.0.3.115021"')
|| !modsToml.contains('versionRange="[4.1.0.115021,5.0.0)"')) {
throw new GradleException('Release mods.toml contains unresolved or incompatible metadata')
}
Expand Down
7 changes: 7 additions & 0 deletions gradle/verification/generated-data.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,10 @@ tasks.named('check') {
project.ext.baseMetalsBuild.putAll([
generateOreModels: generateOreModels
])

tasks.register('verifyBarModels', Exec) {
dependsOn verifyGeneratedData
commandLine 'node', '--test', 'tools/test_bar_models.js'
}

tasks.named('check') { dependsOn 'verifyBarModels' }
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,8 @@ private static void validateOreModel(IBakedModel model, Block block, String name
private static void validateOreVertices(BakedQuad quad, boolean overlay, String name) {
int[] vertices = quad.getVertexData();
int stride = vertices.length / 4;
float low = overlay ? -0.001F / 16 : 0;
float high = overlay ? 16.001F / 16 : 1;
float low = overlay ? -0.05F / 16 : 0;
float high = overlay ? 16.05F / 16 : 1;

for (int vertex = 0; vertex < 4; vertex++) {
for (int axis = 0; axis < 3; axis++) {
Expand Down
2 changes: 1 addition & 1 deletion src/clientIntegrationTest/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description='''Build-only packaged-client checks for Base Metals 1.15.2.'''
[[dependencies.basemetalsclientprobe]]
modId="basemetals"
mandatory=true
versionRange="[3.0.2.115021]"
versionRange="[3.0.3.115021]"
ordering="AFTER"
side="CLIENT"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,99 @@
"multipart": [
{
"apply": {
"model": "basemetals:block/adamantine_bars_post"
"model": "basemetals:block/adamantine_bars_post_ends"
}
},
{
"when": {
"north": "true"
"north": "false",
"east": "false",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/adamantine_bars_side"
"model": "basemetals:block/adamantine_bars_post"
}
},
{
"when": {
"north": "false"
"north": "true",
"east": "false",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/adamantine_bars_cap"
}
},
{
"when": {
"south": "true"
"north": "true"
},
"apply": {
"model": "basemetals:block/adamantine_bars_side_alt"
"model": "basemetals:block/adamantine_bars_side"
}
},
{
"when": {
"south": "false"
"north": "false",
"east": "true",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/adamantine_bars_cap_alt",
"model": "basemetals:block/adamantine_bars_cap",
"y": 90
}
},
{
"when": {
"west": "true"
"east": "true"
},
"apply": {
"model": "basemetals:block/adamantine_bars_side_alt",
"model": "basemetals:block/adamantine_bars_side",
"y": 90
}
},
{
"when": {
"north": "false",
"east": "false",
"south": "true",
"west": "false"
},
"apply": {
"model": "basemetals:block/adamantine_bars_cap",
"y": 270
"model": "basemetals:block/adamantine_bars_cap_alt"
}
},
{
"when": {
"east": "true"
"south": "true"
},
"apply": {
"model": "basemetals:block/adamantine_bars_side",
"model": "basemetals:block/adamantine_bars_side_alt"
}
},
{
"when": {
"north": "false",
"east": "false",
"south": "false",
"west": "true"
},
"apply": {
"model": "basemetals:block/adamantine_bars_cap_alt",
"y": 90
}
},
{
"when": {
"east": "false"
"west": "true"
},
"apply": {
"model": "basemetals:block/adamantine_bars_cap_alt"
"model": "basemetals:block/adamantine_bars_side_alt",
"y": 90
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,99 @@
"multipart": [
{
"apply": {
"model": "basemetals:block/antimony_bars_post"
"model": "basemetals:block/antimony_bars_post_ends"
}
},
{
"when": {
"north": "true"
"north": "false",
"east": "false",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/antimony_bars_side"
"model": "basemetals:block/antimony_bars_post"
}
},
{
"when": {
"north": "false"
"north": "true",
"east": "false",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/antimony_bars_cap"
}
},
{
"when": {
"south": "true"
"north": "true"
},
"apply": {
"model": "basemetals:block/antimony_bars_side_alt"
"model": "basemetals:block/antimony_bars_side"
}
},
{
"when": {
"south": "false"
"north": "false",
"east": "true",
"south": "false",
"west": "false"
},
"apply": {
"model": "basemetals:block/antimony_bars_cap_alt",
"model": "basemetals:block/antimony_bars_cap",
"y": 90
}
},
{
"when": {
"west": "true"
"east": "true"
},
"apply": {
"model": "basemetals:block/antimony_bars_side_alt",
"model": "basemetals:block/antimony_bars_side",
"y": 90
}
},
{
"when": {
"north": "false",
"east": "false",
"south": "true",
"west": "false"
},
"apply": {
"model": "basemetals:block/antimony_bars_cap",
"y": 270
"model": "basemetals:block/antimony_bars_cap_alt"
}
},
{
"when": {
"east": "true"
"south": "true"
},
"apply": {
"model": "basemetals:block/antimony_bars_side",
"model": "basemetals:block/antimony_bars_side_alt"
}
},
{
"when": {
"north": "false",
"east": "false",
"south": "false",
"west": "true"
},
"apply": {
"model": "basemetals:block/antimony_bars_cap_alt",
"y": 90
}
},
{
"when": {
"east": "false"
"west": "true"
},
"apply": {
"model": "basemetals:block/antimony_bars_cap_alt"
"model": "basemetals:block/antimony_bars_side_alt",
"y": 90
}
}
]
}
}
Loading
Loading