diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f87b15bda..9e6930862 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,10 @@ +Base Metals 3.1.2.116051 + +- Fixed flickering ore overlays and brought the vanilla bar connections across to 1.16.5. +- Fixed floors and walls disappearing through the gaps in doors and trapdoors. +- Bows, crossbows, shields and fishing rods now switch to their in-use models. +- Builds and stack tests now use the published OreSpawn 4.1.7.116051. + Base Metals 3.1.1.116051 - Register the old-world hook through Forge's queued common setup, before any diff --git a/README.md b/README.md index d0b594c45..3bb1f0898 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,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.1.1.116051` for Minecraft 1.16.5. It brings the 1.15.2 +This is Base Metals `3.1.2.116051` for Minecraft 1.16.5. It brings the 1.15.2 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. @@ -37,7 +37,7 @@ are not yet included in the 3.0.1 builds for Minecraft 1.13–1.15. - Java 8 - OreSpawn `[4.1.0.116051,5.0.0)` on both client and server -Put `BaseMetals-3.1.1.116051.jar` and OreSpawn `4.1.0.116051` (or a later +Put `BaseMetals-3.1.2.116051.jar` and OreSpawn `4.1.7.116051` (or a later compatible OreSpawn 4 build for 1.16.5) in the `mods` directory. MMDLib and Additional Loot Tables are not dependencies. Mineralogy is optional. @@ -205,8 +205,8 @@ builds, CodeQL, wrapper validation, and Eclipse classpath isolation. Test probes and historical fixtures are excluded from the published JAR. Development and packaged tests use the published -[OreSpawn `4.1.0.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9080646) -through Curse Maven: `curse.maven:mmd-orespawn-245586:9080646`. The build checks +[OreSpawn `4.1.7.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9929985) +through Curse Maven: `curse.maven:mmd-orespawn-245586:9929985`. The build checks its checksum, Minecraft version and configuration-screen API. CI stages the same verified download with `gradle/stage-orespawn-release.sh` @@ -214,7 +214,7 @@ and passes its temporary repository through `orespawnVerificationRepository`. Normal development does not need a local OreSpawn checkout or repository. Release artifacts use Maven coordinate -`zone.moddev.mc.basemetals:BaseMetals:3.1.1.116051`. +`zone.moddev.mc.basemetals:BaseMetals:3.1.2.116051`. Report defects through the [Base Metals issue tracker](https://github.com/MinecraftModDevelopmentMods/BaseMetals/issues). diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index fdf300499..f74049f49 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -8,7 +8,7 @@ The hook is registered through queued common setup, after parallel mod loading. Only registration timing has changed; saved IDs and migration rules are unchanged. Always upgrade a copy and retain the original 1.10/1.12 world. Install Base -Metals `3.1.1.116051`, OreSpawn `4.1.0.116051`, and any other 1.16.5 mods needed +Metals `3.1.2.116051`, OreSpawn `4.1.7.116051`, and any other 1.16.5 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. diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md index 0cb8dc493..9732726ad 100644 --- a/docs/VERSIONS.md +++ b/docs/VERSIONS.md @@ -1,20 +1,20 @@ # Supported versions -Base Metals `3.1.1.116051` targets Minecraft `1.16.5`, Forge `36.2.34`, and +Base Metals `3.1.2.116051` targets Minecraft `1.16.5`, Forge `36.2.34`, 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. Builds and tests use the published -[OreSpawn `4.1.0.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9080646) with -SHA-256 `CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04`. +[OreSpawn `4.1.7.116051` release](https://www.curseforge.com/minecraft/mc-mods/mmd-orespawn/files/9929985) with +SHA-256 `310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC`. At runtime, Base Metals requires OreSpawn `[4.1.0.116051,5.0.0)` for Minecraft 1.16.5. The configuration cog uses OreSpawn's public 4.1 client API. -The development coordinate is `curse.maven:mmd-orespawn-245586:9080646`: -CurseForge project `245586`, file `9080646`. CI downloads and checks the same +The development coordinate is `curse.maven:mmd-orespawn-245586:9929985`: +CurseForge project `245586`, file `9929985`. CI downloads and checks the same file before staging it 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.1.1.116051`. +`zone.moddev.mc.basemetals:BaseMetals:3.1.2.116051`. diff --git a/docs/WORLDGEN.md b/docs/WORLDGEN.md index 19c3569ef..5e9501e9e 100644 --- a/docs/WORLDGEN.md +++ b/docs/WORLDGEN.md @@ -2,7 +2,7 @@ Base Metals requires OreSpawn `[4.1.0.116051,5.0.0)` and packages provider schema 3, revision 1 at `data/basemetals/orespawn/provider.json`. Builds and -tests use the published OreSpawn `4.1.0.116051` release, CurseForge file `9080646`. +tests use the published OreSpawn `4.1.7.116051` release, CurseForge file `9929985`. The provider declares ores only: it has no rocks, geomes, biome rules, terrain dimensions, formations, fluid deposits, vanilla suppression, or strata diff --git a/gradle.properties b/gradle.properties index 655fbd38a..16da22e4c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,10 +22,10 @@ curseforge_project_id=240967 # Exact OreSpawn release used for development, CI and packaged tests. orespawn_dependency_mode=release -orespawn_version=4.1.0.116051 +orespawn_version=4.1.7.116051 orespawn_curse_project_id=245586 -orespawn_curse_file_id=9080646 -orespawn_sha256=CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04 +orespawn_curse_file_id=9929985 +orespawn_sha256=310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC # Versions accepted when players load the mod. forge_version_range=[36,) @@ -40,7 +40,7 @@ mcp_version=20210115.111550 mod_id=basemetals mod_name=Base Metals mod_license=LGPL-2.1 -mod_version=3.1.1.116051 +mod_version=3.1.2.116051 # Maven coordinates and credits. mod_group=zone.moddev.mc.basemetals diff --git a/gradle/README.md b/gradle/README.md index f6b255f2c..4e38256dd 100644 --- a/gradle/README.md +++ b/gradle/README.md @@ -17,8 +17,8 @@ Use Java 17 to run Gradle. ForgeGradle uses Java 25 for its Mavenizer; Minecraft and the mod run on Java 8. Development accepts newer Java 8 updates, while release auditing requires the pinned compiler in `gradle.properties`. -The build resolves the published OreSpawn `4.1.0.116051` release through -`curse.maven:mmd-orespawn-245586:9080646`. `verifyReleaseDependencies` checks +The build resolves the published OreSpawn `4.1.7.116051` release through +`curse.maven:mmd-orespawn-245586:9929985`. `verifyReleaseDependencies` checks its checksum, mod metadata and configuration-screen API. No local OreSpawn checkout is needed. diff --git a/gradle/release/artifacts.gradle b/gradle/release/artifacts.gradle index 16ec466b6..adcce534b 100644 --- a/gradle/release/artifacts.gradle +++ b/gradle/release/artifacts.gradle @@ -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.1.1.116051', modGroup: expectedMavenGroup, + def expected = [modVersion: '3.1.2.116051', modGroup: expectedMavenGroup, minecraftVersion: '1.16.5', forgeVersion: '36.2.34', forgeInstallerSha256: '53B73DBBCC486F38726E76CE923B13381044984C83C762847C7193340F97130F', mappingChannel: 'official', mappingVersion: '1.16.5', @@ -144,8 +144,8 @@ tasks.register('verifyReleaseConfiguration') { tasks.register('verifyReleaseDependencies') { group = 'verification' doLast { - def expected = [version: '4.1.0.116051', curseProjectId: '245586', curseFileId: '9080646', - sha256: 'CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04'] + def expected = [version: '4.1.7.116051', curseProjectId: '245586', curseFileId: '9929985', + sha256: '310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC'] if (configuredOreSpawnIdentity != expected) { throw new GradleException("Unexpected OreSpawn identity: ${configuredOreSpawnIdentity}") } @@ -160,8 +160,8 @@ tasks.register('verifyReleaseDependencies') { if (metadataEntry == null) throw new GradleException('OreSpawn mod metadata is missing') String metadata = zip.getInputStream(metadataEntry).getText('UTF-8') if (!metadata.contains('modId="orespawn"') - || !metadata.contains('version="4.1.0.116051"') - || !metadata.contains('versionRange="[1.16.5,1.17)"') + || !metadata.contains('version="4.1.7.116051"') + || !metadata.contains('versionRange="[1.16.5]"') || zip.getEntry('zone/moddev/mc/orespawn/api/OreSpawnApi.class') == null || zip.getEntry('zone/moddev/mc/orespawn/api/client/WorldSettingsExtensionRegistry.class') == null) { throw new GradleException('Expected Minecraft 1.16.5 OreSpawn 4.1 and its configuration-screen API') @@ -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.1.1.116051"') + if (modsToml.contains('${') || !modsToml.contains('version="3.1.2.116051"') || !modsToml.contains('versionRange="[4.1.0.116051,5.0.0)"') || !modsToml.contains('loaderVersion="[36,)"') || !modsToml.contains('versionRange="[36,)"') diff --git a/gradle/stage-orespawn-candidate.ps1 b/gradle/stage-orespawn-candidate.ps1 index 3565baf20..8955bbf99 100644 --- a/gradle/stage-orespawn-candidate.ps1 +++ b/gradle/stage-orespawn-candidate.ps1 @@ -4,8 +4,8 @@ param( ) $ErrorActionPreference = 'Stop' -$candidateVersion = '4.1.0.116051' -$candidateSha256 = 'CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04' +$candidateVersion = '4.1.7.116051' +$candidateSha256 = '310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC' if ((Get-FileHash -LiteralPath $CandidateJar -Algorithm SHA256).Hash -ne $candidateSha256) { throw 'The OreSpawn candidate differs from the qualified build.' @@ -18,7 +18,7 @@ try { if ($null -eq $metadata) { throw 'OreSpawn mod metadata is missing.' } $reader = [IO.StreamReader]::new($metadata.Open()) try { $text = $reader.ReadToEnd() } finally { $reader.Dispose() } - if (!$text.Contains('version="4.1.0.116051"') -or !$text.Contains('versionRange="[1.16.5,1.17)"') -or + if (!$text.Contains('version="4.1.7.116051"') -or !$text.Contains('versionRange="[1.16.5]"') -or $null -eq $archive.GetEntry('zone/moddev/mc/orespawn/api/client/WorldSettingsExtensionRegistry.class')) { throw 'Expected the OreSpawn 1.16.5 candidate with its configuration-screen API.' } diff --git a/gradle/verification/generated-data.gradle b/gradle/verification/generated-data.gradle index f15ff566c..d01a19493 100644 --- a/gradle/verification/generated-data.gradle +++ b/gradle/verification/generated-data.gradle @@ -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' } diff --git a/src/clientIntegrationTest/resources/META-INF/mods.toml b/src/clientIntegrationTest/resources/META-INF/mods.toml index 145af0448..a10ea2e24 100644 --- a/src/clientIntegrationTest/resources/META-INF/mods.toml +++ b/src/clientIntegrationTest/resources/META-INF/mods.toml @@ -11,7 +11,7 @@ description='''Build-only packaged-client checks for Base Metals 1.16.5.''' [[dependencies.basemetalsclientprobe]] modId="basemetals" mandatory=true -versionRange="[3.1.1.116051]" +versionRange="[3.1.2.116051]" ordering="AFTER" side="CLIENT" diff --git a/src/generated/resources/assets/basemetals/blockstates/adamantine_bars.json b/src/generated/resources/assets/basemetals/blockstates/adamantine_bars.json index 18264f8c8..c39682586 100644 --- a/src/generated/resources/assets/basemetals/blockstates/adamantine_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/adamantine_bars.json @@ -2,20 +2,26 @@ "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" @@ -23,55 +29,72 @@ }, { "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 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/antimony_bars.json b/src/generated/resources/assets/basemetals/blockstates/antimony_bars.json index 9fe3d867a..003f3056f 100644 --- a/src/generated/resources/assets/basemetals/blockstates/antimony_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/antimony_bars.json @@ -2,20 +2,26 @@ "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" @@ -23,55 +29,72 @@ }, { "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 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/aquarium_bars.json b/src/generated/resources/assets/basemetals/blockstates/aquarium_bars.json index 365c85818..049018270 100644 --- a/src/generated/resources/assets/basemetals/blockstates/aquarium_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/aquarium_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/aquarium_bars_post" + "model": "basemetals:block/aquarium_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/aquarium_bars_side" + "model": "basemetals:block/aquarium_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/aquarium_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/aquarium_bars_side_alt" + "model": "basemetals:block/aquarium_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/aquarium_bars_cap_alt", + "model": "basemetals:block/aquarium_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/aquarium_bars_side_alt", + "model": "basemetals:block/aquarium_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/aquarium_bars_cap", - "y": 270 + "model": "basemetals:block/aquarium_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/aquarium_bars_side", + "model": "basemetals:block/aquarium_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/aquarium_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/aquarium_bars_cap_alt" + "model": "basemetals:block/aquarium_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/bismuth_bars.json b/src/generated/resources/assets/basemetals/blockstates/bismuth_bars.json index 50d216d2f..82034407a 100644 --- a/src/generated/resources/assets/basemetals/blockstates/bismuth_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/bismuth_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/bismuth_bars_post" + "model": "basemetals:block/bismuth_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/bismuth_bars_side" + "model": "basemetals:block/bismuth_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/bismuth_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/bismuth_bars_side_alt" + "model": "basemetals:block/bismuth_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/bismuth_bars_cap_alt", + "model": "basemetals:block/bismuth_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/bismuth_bars_side_alt", + "model": "basemetals:block/bismuth_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/bismuth_bars_cap", - "y": 270 + "model": "basemetals:block/bismuth_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/bismuth_bars_side", + "model": "basemetals:block/bismuth_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/bismuth_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/bismuth_bars_cap_alt" + "model": "basemetals:block/bismuth_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/brass_bars.json b/src/generated/resources/assets/basemetals/blockstates/brass_bars.json index cfc39aaf4..d54c5def0 100644 --- a/src/generated/resources/assets/basemetals/blockstates/brass_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/brass_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/brass_bars_post" + "model": "basemetals:block/brass_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/brass_bars_side" + "model": "basemetals:block/brass_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/brass_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/brass_bars_side_alt" + "model": "basemetals:block/brass_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/brass_bars_cap_alt", + "model": "basemetals:block/brass_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/brass_bars_side_alt", + "model": "basemetals:block/brass_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/brass_bars_cap", - "y": 270 + "model": "basemetals:block/brass_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/brass_bars_side", + "model": "basemetals:block/brass_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/brass_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/brass_bars_cap_alt" + "model": "basemetals:block/brass_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/bronze_bars.json b/src/generated/resources/assets/basemetals/blockstates/bronze_bars.json index 542403d81..4aa5a3c8b 100644 --- a/src/generated/resources/assets/basemetals/blockstates/bronze_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/bronze_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/bronze_bars_post" + "model": "basemetals:block/bronze_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/bronze_bars_side" + "model": "basemetals:block/bronze_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/bronze_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/bronze_bars_side_alt" + "model": "basemetals:block/bronze_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/bronze_bars_cap_alt", + "model": "basemetals:block/bronze_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/bronze_bars_side_alt", + "model": "basemetals:block/bronze_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/bronze_bars_cap", - "y": 270 + "model": "basemetals:block/bronze_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/bronze_bars_side", + "model": "basemetals:block/bronze_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/bronze_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/bronze_bars_cap_alt" + "model": "basemetals:block/bronze_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/coldiron_bars.json b/src/generated/resources/assets/basemetals/blockstates/coldiron_bars.json index 9a5bb623e..2bf9ed4a4 100644 --- a/src/generated/resources/assets/basemetals/blockstates/coldiron_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/coldiron_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/coldiron_bars_post" + "model": "basemetals:block/coldiron_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/coldiron_bars_side" + "model": "basemetals:block/coldiron_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/coldiron_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/coldiron_bars_side_alt" + "model": "basemetals:block/coldiron_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/coldiron_bars_cap_alt", + "model": "basemetals:block/coldiron_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/coldiron_bars_side_alt", + "model": "basemetals:block/coldiron_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/coldiron_bars_cap", - "y": 270 + "model": "basemetals:block/coldiron_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/coldiron_bars_side", + "model": "basemetals:block/coldiron_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/coldiron_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/coldiron_bars_cap_alt" + "model": "basemetals:block/coldiron_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/copper_bars.json b/src/generated/resources/assets/basemetals/blockstates/copper_bars.json index bdd2faf74..5b69755d7 100644 --- a/src/generated/resources/assets/basemetals/blockstates/copper_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/copper_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/copper_bars_post" + "model": "basemetals:block/copper_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/copper_bars_side" + "model": "basemetals:block/copper_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/copper_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/copper_bars_side_alt" + "model": "basemetals:block/copper_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/copper_bars_cap_alt", + "model": "basemetals:block/copper_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/copper_bars_side_alt", + "model": "basemetals:block/copper_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/copper_bars_cap", - "y": 270 + "model": "basemetals:block/copper_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/copper_bars_side", + "model": "basemetals:block/copper_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/copper_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/copper_bars_cap_alt" + "model": "basemetals:block/copper_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/cupronickel_bars.json b/src/generated/resources/assets/basemetals/blockstates/cupronickel_bars.json index fab3acea7..96069e628 100644 --- a/src/generated/resources/assets/basemetals/blockstates/cupronickel_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/cupronickel_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/cupronickel_bars_post" + "model": "basemetals:block/cupronickel_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/cupronickel_bars_side" + "model": "basemetals:block/cupronickel_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/cupronickel_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/cupronickel_bars_side_alt" + "model": "basemetals:block/cupronickel_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/cupronickel_bars_cap_alt", + "model": "basemetals:block/cupronickel_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/cupronickel_bars_side_alt", + "model": "basemetals:block/cupronickel_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/cupronickel_bars_cap", - "y": 270 + "model": "basemetals:block/cupronickel_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/cupronickel_bars_side", + "model": "basemetals:block/cupronickel_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/cupronickel_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/cupronickel_bars_cap_alt" + "model": "basemetals:block/cupronickel_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/diamond_bars.json b/src/generated/resources/assets/basemetals/blockstates/diamond_bars.json index 9b30d064d..42cd8d7ef 100644 --- a/src/generated/resources/assets/basemetals/blockstates/diamond_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/diamond_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/diamond_bars_post" + "model": "basemetals:block/diamond_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/diamond_bars_side" + "model": "basemetals:block/diamond_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/diamond_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/diamond_bars_side_alt" + "model": "basemetals:block/diamond_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/diamond_bars_cap_alt", + "model": "basemetals:block/diamond_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/diamond_bars_side_alt", + "model": "basemetals:block/diamond_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/diamond_bars_cap", - "y": 270 + "model": "basemetals:block/diamond_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/diamond_bars_side", + "model": "basemetals:block/diamond_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/diamond_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/diamond_bars_cap_alt" + "model": "basemetals:block/diamond_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/electrum_bars.json b/src/generated/resources/assets/basemetals/blockstates/electrum_bars.json index 6034f98df..4ec36aa7e 100644 --- a/src/generated/resources/assets/basemetals/blockstates/electrum_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/electrum_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/electrum_bars_post" + "model": "basemetals:block/electrum_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/electrum_bars_side" + "model": "basemetals:block/electrum_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/electrum_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/electrum_bars_side_alt" + "model": "basemetals:block/electrum_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/electrum_bars_cap_alt", + "model": "basemetals:block/electrum_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/electrum_bars_side_alt", + "model": "basemetals:block/electrum_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/electrum_bars_cap", - "y": 270 + "model": "basemetals:block/electrum_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/electrum_bars_side", + "model": "basemetals:block/electrum_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/electrum_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/electrum_bars_cap_alt" + "model": "basemetals:block/electrum_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/emerald_bars.json b/src/generated/resources/assets/basemetals/blockstates/emerald_bars.json index 0d73e1ae6..144b6c0d7 100644 --- a/src/generated/resources/assets/basemetals/blockstates/emerald_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/emerald_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/emerald_bars_post" + "model": "basemetals:block/emerald_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/emerald_bars_side" + "model": "basemetals:block/emerald_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/emerald_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/emerald_bars_side_alt" + "model": "basemetals:block/emerald_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/emerald_bars_cap_alt", + "model": "basemetals:block/emerald_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/emerald_bars_side_alt", + "model": "basemetals:block/emerald_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/emerald_bars_cap", - "y": 270 + "model": "basemetals:block/emerald_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/emerald_bars_side", + "model": "basemetals:block/emerald_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/emerald_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/emerald_bars_cap_alt" + "model": "basemetals:block/emerald_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/gold_bars.json b/src/generated/resources/assets/basemetals/blockstates/gold_bars.json index da72d54bb..3af037b02 100644 --- a/src/generated/resources/assets/basemetals/blockstates/gold_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/gold_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/gold_bars_post" + "model": "basemetals:block/gold_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/gold_bars_side" + "model": "basemetals:block/gold_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/gold_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/gold_bars_side_alt" + "model": "basemetals:block/gold_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/gold_bars_cap_alt", + "model": "basemetals:block/gold_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/gold_bars_side_alt", + "model": "basemetals:block/gold_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/gold_bars_cap", - "y": 270 + "model": "basemetals:block/gold_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/gold_bars_side", + "model": "basemetals:block/gold_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/gold_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/gold_bars_cap_alt" + "model": "basemetals:block/gold_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/invar_bars.json b/src/generated/resources/assets/basemetals/blockstates/invar_bars.json index 974994360..22add0858 100644 --- a/src/generated/resources/assets/basemetals/blockstates/invar_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/invar_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/invar_bars_post" + "model": "basemetals:block/invar_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/invar_bars_side" + "model": "basemetals:block/invar_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/invar_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/invar_bars_side_alt" + "model": "basemetals:block/invar_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/invar_bars_cap_alt", + "model": "basemetals:block/invar_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/invar_bars_side_alt", + "model": "basemetals:block/invar_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/invar_bars_cap", - "y": 270 + "model": "basemetals:block/invar_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/invar_bars_side", + "model": "basemetals:block/invar_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/invar_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/invar_bars_cap_alt" + "model": "basemetals:block/invar_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/lead_bars.json b/src/generated/resources/assets/basemetals/blockstates/lead_bars.json index a78682a65..995589991 100644 --- a/src/generated/resources/assets/basemetals/blockstates/lead_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/lead_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/lead_bars_post" + "model": "basemetals:block/lead_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/lead_bars_side" + "model": "basemetals:block/lead_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/lead_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/lead_bars_side_alt" + "model": "basemetals:block/lead_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/lead_bars_cap_alt", + "model": "basemetals:block/lead_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/lead_bars_side_alt", + "model": "basemetals:block/lead_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/lead_bars_cap", - "y": 270 + "model": "basemetals:block/lead_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/lead_bars_side", + "model": "basemetals:block/lead_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/lead_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/lead_bars_cap_alt" + "model": "basemetals:block/lead_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/mithril_bars.json b/src/generated/resources/assets/basemetals/blockstates/mithril_bars.json index dbb9cb097..22cbf1139 100644 --- a/src/generated/resources/assets/basemetals/blockstates/mithril_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/mithril_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/mithril_bars_post" + "model": "basemetals:block/mithril_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/mithril_bars_side" + "model": "basemetals:block/mithril_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/mithril_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/mithril_bars_side_alt" + "model": "basemetals:block/mithril_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/mithril_bars_cap_alt", + "model": "basemetals:block/mithril_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/mithril_bars_side_alt", + "model": "basemetals:block/mithril_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/mithril_bars_cap", - "y": 270 + "model": "basemetals:block/mithril_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/mithril_bars_side", + "model": "basemetals:block/mithril_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/mithril_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/mithril_bars_cap_alt" + "model": "basemetals:block/mithril_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/nickel_bars.json b/src/generated/resources/assets/basemetals/blockstates/nickel_bars.json index 2842e2e6c..b293b168d 100644 --- a/src/generated/resources/assets/basemetals/blockstates/nickel_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/nickel_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/nickel_bars_post" + "model": "basemetals:block/nickel_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/nickel_bars_side" + "model": "basemetals:block/nickel_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/nickel_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/nickel_bars_side_alt" + "model": "basemetals:block/nickel_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/nickel_bars_cap_alt", + "model": "basemetals:block/nickel_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/nickel_bars_side_alt", + "model": "basemetals:block/nickel_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/nickel_bars_cap", - "y": 270 + "model": "basemetals:block/nickel_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/nickel_bars_side", + "model": "basemetals:block/nickel_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/nickel_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/nickel_bars_cap_alt" + "model": "basemetals:block/nickel_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/obsidian_bars.json b/src/generated/resources/assets/basemetals/blockstates/obsidian_bars.json index 274f7cdb1..b6242600b 100644 --- a/src/generated/resources/assets/basemetals/blockstates/obsidian_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/obsidian_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/obsidian_bars_post" + "model": "basemetals:block/obsidian_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/obsidian_bars_side" + "model": "basemetals:block/obsidian_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/obsidian_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/obsidian_bars_side_alt" + "model": "basemetals:block/obsidian_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/obsidian_bars_cap_alt", + "model": "basemetals:block/obsidian_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/obsidian_bars_side_alt", + "model": "basemetals:block/obsidian_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/obsidian_bars_cap", - "y": 270 + "model": "basemetals:block/obsidian_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/obsidian_bars_side", + "model": "basemetals:block/obsidian_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/obsidian_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/obsidian_bars_cap_alt" + "model": "basemetals:block/obsidian_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/pewter_bars.json b/src/generated/resources/assets/basemetals/blockstates/pewter_bars.json index 471d54dac..660974a4a 100644 --- a/src/generated/resources/assets/basemetals/blockstates/pewter_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/pewter_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/pewter_bars_post" + "model": "basemetals:block/pewter_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/pewter_bars_side" + "model": "basemetals:block/pewter_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/pewter_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/pewter_bars_side_alt" + "model": "basemetals:block/pewter_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/pewter_bars_cap_alt", + "model": "basemetals:block/pewter_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/pewter_bars_side_alt", + "model": "basemetals:block/pewter_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/pewter_bars_cap", - "y": 270 + "model": "basemetals:block/pewter_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/pewter_bars_side", + "model": "basemetals:block/pewter_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/pewter_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/pewter_bars_cap_alt" + "model": "basemetals:block/pewter_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/platinum_bars.json b/src/generated/resources/assets/basemetals/blockstates/platinum_bars.json index d755254f1..cc9980fce 100644 --- a/src/generated/resources/assets/basemetals/blockstates/platinum_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/platinum_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/platinum_bars_post" + "model": "basemetals:block/platinum_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/platinum_bars_side" + "model": "basemetals:block/platinum_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/platinum_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/platinum_bars_side_alt" + "model": "basemetals:block/platinum_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/platinum_bars_cap_alt", + "model": "basemetals:block/platinum_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/platinum_bars_side_alt", + "model": "basemetals:block/platinum_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/platinum_bars_cap", - "y": 270 + "model": "basemetals:block/platinum_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/platinum_bars_side", + "model": "basemetals:block/platinum_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/platinum_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/platinum_bars_cap_alt" + "model": "basemetals:block/platinum_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/quartz_bars.json b/src/generated/resources/assets/basemetals/blockstates/quartz_bars.json index f994e8717..ec19652e6 100644 --- a/src/generated/resources/assets/basemetals/blockstates/quartz_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/quartz_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/quartz_bars_post" + "model": "basemetals:block/quartz_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/quartz_bars_side" + "model": "basemetals:block/quartz_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/quartz_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/quartz_bars_side_alt" + "model": "basemetals:block/quartz_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/quartz_bars_cap_alt", + "model": "basemetals:block/quartz_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/quartz_bars_side_alt", + "model": "basemetals:block/quartz_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/quartz_bars_cap", - "y": 270 + "model": "basemetals:block/quartz_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/quartz_bars_side", + "model": "basemetals:block/quartz_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/quartz_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/quartz_bars_cap_alt" + "model": "basemetals:block/quartz_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/silver_bars.json b/src/generated/resources/assets/basemetals/blockstates/silver_bars.json index da2c3c7dc..ea1dd3274 100644 --- a/src/generated/resources/assets/basemetals/blockstates/silver_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/silver_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/silver_bars_post" + "model": "basemetals:block/silver_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/silver_bars_side" + "model": "basemetals:block/silver_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/silver_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/silver_bars_side_alt" + "model": "basemetals:block/silver_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/silver_bars_cap_alt", + "model": "basemetals:block/silver_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/silver_bars_side_alt", + "model": "basemetals:block/silver_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/silver_bars_cap", - "y": 270 + "model": "basemetals:block/silver_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/silver_bars_side", + "model": "basemetals:block/silver_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/silver_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/silver_bars_cap_alt" + "model": "basemetals:block/silver_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/starsteel_bars.json b/src/generated/resources/assets/basemetals/blockstates/starsteel_bars.json index 7440ae4ab..47151aca2 100644 --- a/src/generated/resources/assets/basemetals/blockstates/starsteel_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/starsteel_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/starsteel_bars_post" + "model": "basemetals:block/starsteel_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/starsteel_bars_side" + "model": "basemetals:block/starsteel_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/starsteel_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/starsteel_bars_side_alt" + "model": "basemetals:block/starsteel_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/starsteel_bars_cap_alt", + "model": "basemetals:block/starsteel_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/starsteel_bars_side_alt", + "model": "basemetals:block/starsteel_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/starsteel_bars_cap", - "y": 270 + "model": "basemetals:block/starsteel_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/starsteel_bars_side", + "model": "basemetals:block/starsteel_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/starsteel_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/starsteel_bars_cap_alt" + "model": "basemetals:block/starsteel_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/steel_bars.json b/src/generated/resources/assets/basemetals/blockstates/steel_bars.json index 7ee590b10..ba46de8a5 100644 --- a/src/generated/resources/assets/basemetals/blockstates/steel_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/steel_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/steel_bars_post" + "model": "basemetals:block/steel_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/steel_bars_side" + "model": "basemetals:block/steel_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/steel_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/steel_bars_side_alt" + "model": "basemetals:block/steel_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/steel_bars_cap_alt", + "model": "basemetals:block/steel_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/steel_bars_side_alt", + "model": "basemetals:block/steel_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/steel_bars_cap", - "y": 270 + "model": "basemetals:block/steel_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/steel_bars_side", + "model": "basemetals:block/steel_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/steel_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/steel_bars_cap_alt" + "model": "basemetals:block/steel_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/tin_bars.json b/src/generated/resources/assets/basemetals/blockstates/tin_bars.json index 72254ee21..f3129f686 100644 --- a/src/generated/resources/assets/basemetals/blockstates/tin_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/tin_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/tin_bars_post" + "model": "basemetals:block/tin_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/tin_bars_side" + "model": "basemetals:block/tin_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/tin_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/tin_bars_side_alt" + "model": "basemetals:block/tin_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/tin_bars_cap_alt", + "model": "basemetals:block/tin_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/tin_bars_side_alt", + "model": "basemetals:block/tin_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/tin_bars_cap", - "y": 270 + "model": "basemetals:block/tin_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/tin_bars_side", + "model": "basemetals:block/tin_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/tin_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/tin_bars_cap_alt" + "model": "basemetals:block/tin_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/generated/resources/assets/basemetals/blockstates/zinc_bars.json b/src/generated/resources/assets/basemetals/blockstates/zinc_bars.json index 3c549d64a..f485d729c 100644 --- a/src/generated/resources/assets/basemetals/blockstates/zinc_bars.json +++ b/src/generated/resources/assets/basemetals/blockstates/zinc_bars.json @@ -2,20 +2,26 @@ "multipart": [ { "apply": { - "model": "basemetals:block/zinc_bars_post" + "model": "basemetals:block/zinc_bars_post_ends" } }, { "when": { - "north": "true" + "north": "false", + "east": "false", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/zinc_bars_side" + "model": "basemetals:block/zinc_bars_post" } }, { "when": { - "north": "false" + "north": "true", + "east": "false", + "south": "false", + "west": "false" }, "apply": { "model": "basemetals:block/zinc_bars_cap" @@ -23,55 +29,72 @@ }, { "when": { - "south": "true" + "north": "true" }, "apply": { - "model": "basemetals:block/zinc_bars_side_alt" + "model": "basemetals:block/zinc_bars_side" } }, { "when": { - "south": "false" + "north": "false", + "east": "true", + "south": "false", + "west": "false" }, "apply": { - "model": "basemetals:block/zinc_bars_cap_alt", + "model": "basemetals:block/zinc_bars_cap", "y": 90 } }, { "when": { - "west": "true" + "east": "true" }, "apply": { - "model": "basemetals:block/zinc_bars_side_alt", + "model": "basemetals:block/zinc_bars_side", "y": 90 } }, { "when": { + "north": "false", + "east": "false", + "south": "true", "west": "false" }, "apply": { - "model": "basemetals:block/zinc_bars_cap", - "y": 270 + "model": "basemetals:block/zinc_bars_cap_alt" } }, { "when": { - "east": "true" + "south": "true" }, "apply": { - "model": "basemetals:block/zinc_bars_side", + "model": "basemetals:block/zinc_bars_side_alt" + } + }, + { + "when": { + "north": "false", + "east": "false", + "south": "false", + "west": "true" + }, + "apply": { + "model": "basemetals:block/zinc_bars_cap_alt", "y": 90 } }, { "when": { - "east": "false" + "west": "true" }, "apply": { - "model": "basemetals:block/zinc_bars_cap_alt" + "model": "basemetals:block/zinc_bars_side_alt", + "y": 90 } } ] -} \ No newline at end of file +} diff --git a/src/integrationTest/resources/META-INF/mods.toml b/src/integrationTest/resources/META-INF/mods.toml index 9068ccba9..9f565d4e3 100644 --- a/src/integrationTest/resources/META-INF/mods.toml +++ b/src/integrationTest/resources/META-INF/mods.toml @@ -11,7 +11,7 @@ description='''Build-only lifecycle checks for Base Metals 1.16.5.''' [[dependencies.basemetalsprobe]] modId="basemetals" mandatory=true -versionRange="[3.1.1.116051]" +versionRange="[3.1.2.116051]" ordering="AFTER" side="BOTH" diff --git a/src/main/java/zone/moddev/mc/basemetals/client/ClientSetup.java b/src/main/java/zone/moddev/mc/basemetals/client/ClientSetup.java index 5aac2240e..7cde5e1f4 100644 --- a/src/main/java/zone/moddev/mc/basemetals/client/ClientSetup.java +++ b/src/main/java/zone/moddev/mc/basemetals/client/ClientSetup.java @@ -2,6 +2,7 @@ import zone.moddev.mc.basemetals.content.FluidContent; import zone.moddev.mc.basemetals.content.ModContent; +import zone.moddev.mc.basemetals.content.RegistryHandle; import zone.moddev.mc.basemetals.entity.ModEntities; import net.minecraftforge.fml.client.registry.RenderingRegistry; @@ -14,6 +15,13 @@ import net.minecraft.block.DoorBlock; import net.minecraft.block.PaneBlock; import net.minecraft.block.TrapDoorBlock; +import net.minecraft.item.BowItem; +import net.minecraft.item.FishingRodItem; +import net.minecraft.item.Item; +import net.minecraft.item.ItemModelsProperties; +import net.minecraft.item.Items; +import net.minecraft.item.ShieldItem; +import net.minecraft.util.ResourceLocation; import zone.moddev.mc.orespawn.api.client.WorldSettingsExtensionRegistry; public final class ClientSetup { @@ -31,7 +39,30 @@ private static void setupRendering(FMLClientSetupEvent event) { RenderingRegistry.registerEntityRenderingHandler(ModEntities.CUSTOM_ARROW.get(), MaterialProjectileRenderer::new); RenderingRegistry.registerEntityRenderingHandler(ModEntities.CUSTOM_BOLT.get(), MaterialProjectileRenderer::new); - event.enqueueWork(ClientSetup::registerRenderLayers); + event.enqueueWork(() -> { + registerRenderLayers(); + registerItemProperties(); + }); + } + + private static void registerItemProperties() { + for (RegistryHandle handle : ModContent.itemsById().values()) { + Item item = handle.get(); + if (item instanceof BowItem) { + // Base Metals crossbows share the bow's draw and release behaviour. + copyItemProperty(item, Items.BOW, "pull"); + copyItemProperty(item, Items.BOW, "pulling"); + } else if (item instanceof ShieldItem) { + copyItemProperty(item, Items.SHIELD, "blocking"); + } else if (item instanceof FishingRodItem) { + copyItemProperty(item, Items.FISHING_ROD, "cast"); + } + } + } + + private static void copyItemProperty(Item item, Item reference, String property) { + ResourceLocation key = new ResourceLocation(property); + ItemModelsProperties.register(item, key, ItemModelsProperties.getProperty(reference, key)); } private static void registerRenderLayers() { diff --git a/src/main/java/zone/moddev/mc/basemetals/content/ModContent.java b/src/main/java/zone/moddev/mc/basemetals/content/ModContent.java index 1e4d5da42..1b809a794 100644 --- a/src/main/java/zone/moddev/mc/basemetals/content/ModContent.java +++ b/src/main/java/zone/moddev/mc/basemetals/content/ModContent.java @@ -230,11 +230,11 @@ private static RegistryHandle registerMaterialBlock(String id, String for if ("plate".equals(form)) { factory = new Supplier() { @Override public Block get() { return new PlateBlock(properties.get(), material.requiredHarvestLevel()); } }; } else if ("bars".equals(form)) { - factory = new Supplier() { @Override public Block get() { return new HarvestPane(properties.get().dynamicShape(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestPane(properties.get().dynamicShape().noOcclusion(), material.requiredHarvestLevel()); } }; } else if ("door".equals(form)) { - factory = new Supplier() { @Override public Block get() { return new HarvestDoor(properties.get().dynamicShape(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestDoor(properties.get().dynamicShape().noOcclusion(), material.requiredHarvestLevel()); } }; } else if ("trapdoor".equals(form)) { - factory = new Supplier() { @Override public Block get() { return new HarvestTrapDoor(properties.get().dynamicShape(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestTrapDoor(properties.get().dynamicShape().noOcclusion(), material.requiredHarvestLevel()); } }; } else if ("button".equals(form)) { factory = new Supplier() { @Override public Block get() { return new HarvestButton(properties.get().noCollission(), material.requiredHarvestLevel()); } }; } else if ("slab".equals(form)) { diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index ca94da037..7e2831ec6 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -5,7 +5,7 @@ issueTrackerURL="https://github.com/MinecraftModDevelopmentMods/BaseMetals/issue [[mods]] modId="basemetals" -version="3.1.1.116051" +version="3.1.2.116051" displayName="Base Metals" displayURL="https://www.curseforge.com/minecraft/mc-mods/base-metals" authors="Cyanobacterium, jriwanek, dshadowwolf, GetDizzy611, SkyBlade1978, the MMD Team" diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap.json index 7b83de1a1..5a7830d90 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/adamantine_bars", - "bars": "basemetals:block/adamantine_bars", - "edge": "basemetals:block/adamantine_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap_alt.json index 7ccbb6216..c96f9b9e5 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/adamantine_bars", - "bars": "basemetals:block/adamantine_bars", - "edge": "basemetals:block/adamantine_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_post.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_post.json index 06125b013..519cb4fa1 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/adamantine_bars", - "bars": "basemetals:block/adamantine_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_post_ends.json new file mode 100644 index 000000000..0f9ee3a83 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_side.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_side.json index 5a46f230e..4bbbc0558 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/adamantine_bars", - "bars": "basemetals:block/adamantine_bars", - "edge": "basemetals:block/adamantine_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/adamantine_bars_side_alt.json index 0680b28de..7c9f5ca7b 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/adamantine_bars", - "bars": "basemetals:block/adamantine_bars", - "edge": "basemetals:block/adamantine_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/adamantine_bars", + "bars": "basemetals:block/adamantine_bars", + "edge": "basemetals:block/adamantine_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/adamantine_ore.json b/src/main/resources/assets/basemetals/models/block/adamantine_ore.json index 6caa5e15b..c1c95788d 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_ore.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_cap.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_cap.json index fe1ed6618..f92b59d3e 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/antimony_bars", - "bars": "basemetals:block/antimony_bars", - "edge": "basemetals:block/antimony_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_cap_alt.json index 3ffdd36c8..1302e6a7d 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/antimony_bars", - "bars": "basemetals:block/antimony_bars", - "edge": "basemetals:block/antimony_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_post.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_post.json index 6ceb032e3..eb19158a5 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/antimony_bars", - "bars": "basemetals:block/antimony_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_post_ends.json new file mode 100644 index 000000000..989f51973 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_side.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_side.json index 7ac6a5262..5e831654a 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/antimony_bars", - "bars": "basemetals:block/antimony_bars", - "edge": "basemetals:block/antimony_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/antimony_bars_side_alt.json index b6e22f120..3795e1cd0 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/antimony_bars", - "bars": "basemetals:block/antimony_bars", - "edge": "basemetals:block/antimony_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/antimony_bars", + "bars": "basemetals:block/antimony_bars", + "edge": "basemetals:block/antimony_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/antimony_ore.json b/src/main/resources/assets/basemetals/models/block/antimony_ore.json index 8a35d178a..8eb262483 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_ore.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap.json index ae364faa0..3867ce322 100644 --- a/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/aquarium_bars", - "bars": "basemetals:block/aquarium_bars", - "edge": "basemetals:block/aquarium_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap_alt.json index f9c6f9f90..e36fc4ae0 100644 --- a/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/aquarium_bars", - "bars": "basemetals:block/aquarium_bars", - "edge": "basemetals:block/aquarium_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_post.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_post.json index d3a641890..696aad419 100644 --- a/src/main/resources/assets/basemetals/models/block/aquarium_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/aquarium_bars", - "bars": "basemetals:block/aquarium_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_post_ends.json new file mode 100644 index 000000000..505cc4694 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_side.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_side.json index 2699fe28a..7df52aefb 100644 --- a/src/main/resources/assets/basemetals/models/block/aquarium_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/aquarium_bars", - "bars": "basemetals:block/aquarium_bars", - "edge": "basemetals:block/aquarium_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/aquarium_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/aquarium_bars_side_alt.json index 27d41c6f1..fd45b82cd 100644 --- a/src/main/resources/assets/basemetals/models/block/aquarium_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/aquarium_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/aquarium_bars", - "bars": "basemetals:block/aquarium_bars", - "edge": "basemetals:block/aquarium_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/aquarium_bars", + "bars": "basemetals:block/aquarium_bars", + "edge": "basemetals:block/aquarium_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap.json index c0b73cc5f..aff8925f2 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bismuth_bars", - "bars": "basemetals:block/bismuth_bars", - "edge": "basemetals:block/bismuth_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap_alt.json index 692c81bf5..4b927722d 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bismuth_bars", - "bars": "basemetals:block/bismuth_bars", - "edge": "basemetals:block/bismuth_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_post.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_post.json index 226470c24..54d7708bb 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bismuth_bars", - "bars": "basemetals:block/bismuth_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_post_ends.json new file mode 100644 index 000000000..ffb1b0a53 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_side.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_side.json index 4d8b7947f..3057c1d9d 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bismuth_bars", - "bars": "basemetals:block/bismuth_bars", - "edge": "basemetals:block/bismuth_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/bismuth_bars_side_alt.json index 4315f0598..67c6e9fdf 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bismuth_bars", - "bars": "basemetals:block/bismuth_bars", - "edge": "basemetals:block/bismuth_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/bismuth_bars", + "bars": "basemetals:block/bismuth_bars", + "edge": "basemetals:block/bismuth_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bismuth_ore.json b/src/main/resources/assets/basemetals/models/block/bismuth_ore.json index bcd87159d..ca08e6659 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_ore.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_cap.json b/src/main/resources/assets/basemetals/models/block/brass_bars_cap.json index d588898c3..47138abdd 100644 --- a/src/main/resources/assets/basemetals/models/block/brass_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/brass_bars", - "bars": "basemetals:block/brass_bars", - "edge": "basemetals:block/brass_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/brass_bars_cap_alt.json index c0dc2ef2e..25d5e2548 100644 --- a/src/main/resources/assets/basemetals/models/block/brass_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/brass_bars", - "bars": "basemetals:block/brass_bars", - "edge": "basemetals:block/brass_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_post.json b/src/main/resources/assets/basemetals/models/block/brass_bars_post.json index d703a7079..a272c8b56 100644 --- a/src/main/resources/assets/basemetals/models/block/brass_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/brass_bars", - "bars": "basemetals:block/brass_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/brass_bars_post_ends.json new file mode 100644 index 000000000..401ad34b0 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_side.json b/src/main/resources/assets/basemetals/models/block/brass_bars_side.json index 822bb19da..de9470d41 100644 --- a/src/main/resources/assets/basemetals/models/block/brass_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/brass_bars", - "bars": "basemetals:block/brass_bars", - "edge": "basemetals:block/brass_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/brass_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/brass_bars_side_alt.json index fd5330d3c..5ca11f29a 100644 --- a/src/main/resources/assets/basemetals/models/block/brass_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/brass_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/brass_bars", - "bars": "basemetals:block/brass_bars", - "edge": "basemetals:block/brass_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/brass_bars", + "bars": "basemetals:block/brass_bars", + "edge": "basemetals:block/brass_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_cap.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_cap.json index 70e0f24f6..fd4047b4c 100644 --- a/src/main/resources/assets/basemetals/models/block/bronze_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bronze_bars", - "bars": "basemetals:block/bronze_bars", - "edge": "basemetals:block/bronze_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_cap_alt.json index 30a8646cc..2ca0527cc 100644 --- a/src/main/resources/assets/basemetals/models/block/bronze_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bronze_bars", - "bars": "basemetals:block/bronze_bars", - "edge": "basemetals:block/bronze_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_post.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_post.json index 1619da4ce..14c8b6d4e 100644 --- a/src/main/resources/assets/basemetals/models/block/bronze_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bronze_bars", - "bars": "basemetals:block/bronze_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_post_ends.json new file mode 100644 index 000000000..8df1652d0 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_side.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_side.json index c0f990dae..39faf8ac2 100644 --- a/src/main/resources/assets/basemetals/models/block/bronze_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bronze_bars", - "bars": "basemetals:block/bronze_bars", - "edge": "basemetals:block/bronze_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/bronze_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/bronze_bars_side_alt.json index 49f5472d9..62ae81240 100644 --- a/src/main/resources/assets/basemetals/models/block/bronze_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/bronze_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/bronze_bars", - "bars": "basemetals:block/bronze_bars", - "edge": "basemetals:block/bronze_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/bronze_bars", + "bars": "basemetals:block/bronze_bars", + "edge": "basemetals:block/bronze_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap.json index 148613ccc..8a560068a 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/coldiron_bars", - "bars": "basemetals:block/coldiron_bars", - "edge": "basemetals:block/coldiron_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap_alt.json index 1072efb7a..444860334 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/coldiron_bars", - "bars": "basemetals:block/coldiron_bars", - "edge": "basemetals:block/coldiron_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_post.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_post.json index 1df47b24f..175baaa64 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/coldiron_bars", - "bars": "basemetals:block/coldiron_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_post_ends.json new file mode 100644 index 000000000..7beadec09 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_side.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_side.json index 36fe95620..122c12058 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/coldiron_bars", - "bars": "basemetals:block/coldiron_bars", - "edge": "basemetals:block/coldiron_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/coldiron_bars_side_alt.json index 6bbe263cf..5bca42faa 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/coldiron_bars", - "bars": "basemetals:block/coldiron_bars", - "edge": "basemetals:block/coldiron_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/coldiron_bars", + "bars": "basemetals:block/coldiron_bars", + "edge": "basemetals:block/coldiron_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/coldiron_ore.json b/src/main/resources/assets/basemetals/models/block/coldiron_ore.json index 1a7562de6..89324cdb5 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_ore.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_cap.json b/src/main/resources/assets/basemetals/models/block/copper_bars_cap.json index 4d2477f8a..4d29d478e 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/copper_bars", - "bars": "basemetals:block/copper_bars", - "edge": "basemetals:block/copper_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/copper_bars_cap_alt.json index 3aaf13641..6fd903cec 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/copper_bars", - "bars": "basemetals:block/copper_bars", - "edge": "basemetals:block/copper_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_post.json b/src/main/resources/assets/basemetals/models/block/copper_bars_post.json index 07a66c148..002565603 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/copper_bars", - "bars": "basemetals:block/copper_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/copper_bars_post_ends.json new file mode 100644 index 000000000..6891c1dce --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_side.json b/src/main/resources/assets/basemetals/models/block/copper_bars_side.json index 6b20de975..b0c426231 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/copper_bars", - "bars": "basemetals:block/copper_bars", - "edge": "basemetals:block/copper_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/copper_bars_side_alt.json index ff268953a..e5e491f74 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/copper_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/copper_bars", - "bars": "basemetals:block/copper_bars", - "edge": "basemetals:block/copper_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/copper_bars", + "bars": "basemetals:block/copper_bars", + "edge": "basemetals:block/copper_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/copper_ore.json b/src/main/resources/assets/basemetals/models/block/copper_ore.json index 2c201c3f7..3ca151fd9 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_ore.json +++ b/src/main/resources/assets/basemetals/models/block/copper_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap.json index 8eff5c2ba..017428a7b 100644 --- a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/cupronickel_bars", - "bars": "basemetals:block/cupronickel_bars", - "edge": "basemetals:block/cupronickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap_alt.json index 0c218a512..186a392a9 100644 --- a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/cupronickel_bars", - "bars": "basemetals:block/cupronickel_bars", - "edge": "basemetals:block/cupronickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post.json index 35c953136..d685dca46 100644 --- a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/cupronickel_bars", - "bars": "basemetals:block/cupronickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post_ends.json new file mode 100644 index 000000000..b21d5faa3 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side.json index 619d2096c..558239779 100644 --- a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/cupronickel_bars", - "bars": "basemetals:block/cupronickel_bars", - "edge": "basemetals:block/cupronickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side_alt.json index 4019a1bb7..c5c536786 100644 --- a/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/cupronickel_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/cupronickel_bars", - "bars": "basemetals:block/cupronickel_bars", - "edge": "basemetals:block/cupronickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/cupronickel_bars", + "bars": "basemetals:block/cupronickel_bars", + "edge": "basemetals:block/cupronickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_cap.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_cap.json index 2b06cf889..468060987 100644 --- a/src/main/resources/assets/basemetals/models/block/diamond_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/diamond_bars", - "bars": "basemetals:block/diamond_bars", - "edge": "basemetals:block/diamond_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_cap_alt.json index 3fbb0af9a..94ff0bf84 100644 --- a/src/main/resources/assets/basemetals/models/block/diamond_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/diamond_bars", - "bars": "basemetals:block/diamond_bars", - "edge": "basemetals:block/diamond_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_post.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_post.json index 5df52b4a4..052299be2 100644 --- a/src/main/resources/assets/basemetals/models/block/diamond_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/diamond_bars", - "bars": "basemetals:block/diamond_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_post_ends.json new file mode 100644 index 000000000..2649ee7b8 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_side.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_side.json index bacdf220f..86af53535 100644 --- a/src/main/resources/assets/basemetals/models/block/diamond_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/diamond_bars", - "bars": "basemetals:block/diamond_bars", - "edge": "basemetals:block/diamond_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/diamond_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/diamond_bars_side_alt.json index 70aaf7299..f35d55e32 100644 --- a/src/main/resources/assets/basemetals/models/block/diamond_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/diamond_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/diamond_bars", - "bars": "basemetals:block/diamond_bars", - "edge": "basemetals:block/diamond_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/diamond_bars", + "bars": "basemetals:block/diamond_bars", + "edge": "basemetals:block/diamond_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_cap.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_cap.json index 5f69fb2ba..2542b8faf 100644 --- a/src/main/resources/assets/basemetals/models/block/electrum_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/electrum_bars", - "bars": "basemetals:block/electrum_bars", - "edge": "basemetals:block/electrum_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_cap_alt.json index d217d9374..9fe349970 100644 --- a/src/main/resources/assets/basemetals/models/block/electrum_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/electrum_bars", - "bars": "basemetals:block/electrum_bars", - "edge": "basemetals:block/electrum_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_post.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_post.json index f1714c38c..d9371b421 100644 --- a/src/main/resources/assets/basemetals/models/block/electrum_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/electrum_bars", - "bars": "basemetals:block/electrum_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_post_ends.json new file mode 100644 index 000000000..081f069e8 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_side.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_side.json index b910c1093..f8ae21343 100644 --- a/src/main/resources/assets/basemetals/models/block/electrum_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/electrum_bars", - "bars": "basemetals:block/electrum_bars", - "edge": "basemetals:block/electrum_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/electrum_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/electrum_bars_side_alt.json index c8dd8cae7..fc4160b4c 100644 --- a/src/main/resources/assets/basemetals/models/block/electrum_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/electrum_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/electrum_bars", - "bars": "basemetals:block/electrum_bars", - "edge": "basemetals:block/electrum_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/electrum_bars", + "bars": "basemetals:block/electrum_bars", + "edge": "basemetals:block/electrum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_cap.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_cap.json index 78897b457..d1af30911 100644 --- a/src/main/resources/assets/basemetals/models/block/emerald_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/emerald_bars", - "bars": "basemetals:block/emerald_bars", - "edge": "basemetals:block/emerald_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_cap_alt.json index 6b82f689e..e117e6255 100644 --- a/src/main/resources/assets/basemetals/models/block/emerald_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/emerald_bars", - "bars": "basemetals:block/emerald_bars", - "edge": "basemetals:block/emerald_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_post.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_post.json index 706232cea..dd8949ffc 100644 --- a/src/main/resources/assets/basemetals/models/block/emerald_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/emerald_bars", - "bars": "basemetals:block/emerald_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_post_ends.json new file mode 100644 index 000000000..89f513472 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_side.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_side.json index 1ee3297c4..88e0572bc 100644 --- a/src/main/resources/assets/basemetals/models/block/emerald_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/emerald_bars", - "bars": "basemetals:block/emerald_bars", - "edge": "basemetals:block/emerald_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/emerald_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/emerald_bars_side_alt.json index c24385d63..5bd0b6256 100644 --- a/src/main/resources/assets/basemetals/models/block/emerald_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/emerald_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/emerald_bars", - "bars": "basemetals:block/emerald_bars", - "edge": "basemetals:block/emerald_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/emerald_bars", + "bars": "basemetals:block/emerald_bars", + "edge": "basemetals:block/emerald_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_cap.json b/src/main/resources/assets/basemetals/models/block/gold_bars_cap.json index 39dbed3a2..cd0860188 100644 --- a/src/main/resources/assets/basemetals/models/block/gold_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/gold_bars", - "bars": "basemetals:block/gold_bars", - "edge": "basemetals:block/gold_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/gold_bars_cap_alt.json index 52bb67cef..7b79d95b9 100644 --- a/src/main/resources/assets/basemetals/models/block/gold_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/gold_bars", - "bars": "basemetals:block/gold_bars", - "edge": "basemetals:block/gold_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_post.json b/src/main/resources/assets/basemetals/models/block/gold_bars_post.json index f535ccf18..a53c718df 100644 --- a/src/main/resources/assets/basemetals/models/block/gold_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/gold_bars", - "bars": "basemetals:block/gold_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/gold_bars_post_ends.json new file mode 100644 index 000000000..b2ffd81a5 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_side.json b/src/main/resources/assets/basemetals/models/block/gold_bars_side.json index 2186ceb08..bf6a98a46 100644 --- a/src/main/resources/assets/basemetals/models/block/gold_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/gold_bars", - "bars": "basemetals:block/gold_bars", - "edge": "basemetals:block/gold_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/gold_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/gold_bars_side_alt.json index d18d21ac6..041efefca 100644 --- a/src/main/resources/assets/basemetals/models/block/gold_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/gold_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/gold_bars", - "bars": "basemetals:block/gold_bars", - "edge": "basemetals:block/gold_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/gold_bars", + "bars": "basemetals:block/gold_bars", + "edge": "basemetals:block/gold_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_cap.json b/src/main/resources/assets/basemetals/models/block/invar_bars_cap.json index 7c1593d28..112e83d2f 100644 --- a/src/main/resources/assets/basemetals/models/block/invar_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/invar_bars", - "bars": "basemetals:block/invar_bars", - "edge": "basemetals:block/invar_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/invar_bars_cap_alt.json index cff96b741..424627aae 100644 --- a/src/main/resources/assets/basemetals/models/block/invar_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/invar_bars", - "bars": "basemetals:block/invar_bars", - "edge": "basemetals:block/invar_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_post.json b/src/main/resources/assets/basemetals/models/block/invar_bars_post.json index 48c0c30b2..9e388b39b 100644 --- a/src/main/resources/assets/basemetals/models/block/invar_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/invar_bars", - "bars": "basemetals:block/invar_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/invar_bars_post_ends.json new file mode 100644 index 000000000..e3cf1440c --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_side.json b/src/main/resources/assets/basemetals/models/block/invar_bars_side.json index e87b8c841..9e402dd8c 100644 --- a/src/main/resources/assets/basemetals/models/block/invar_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/invar_bars", - "bars": "basemetals:block/invar_bars", - "edge": "basemetals:block/invar_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/invar_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/invar_bars_side_alt.json index c98c24bcc..94d96bb2d 100644 --- a/src/main/resources/assets/basemetals/models/block/invar_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/invar_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/invar_bars", - "bars": "basemetals:block/invar_bars", - "edge": "basemetals:block/invar_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/invar_bars", + "bars": "basemetals:block/invar_bars", + "edge": "basemetals:block/invar_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_cap.json b/src/main/resources/assets/basemetals/models/block/lead_bars_cap.json index 8207b6c0e..091b90843 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/lead_bars", - "bars": "basemetals:block/lead_bars", - "edge": "basemetals:block/lead_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/lead_bars_cap_alt.json index d93bf6ab3..70a595e8a 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/lead_bars", - "bars": "basemetals:block/lead_bars", - "edge": "basemetals:block/lead_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_post.json b/src/main/resources/assets/basemetals/models/block/lead_bars_post.json index 94ce9b45d..0c874016b 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/lead_bars", - "bars": "basemetals:block/lead_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/lead_bars_post_ends.json new file mode 100644 index 000000000..fa5fba23c --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_side.json b/src/main/resources/assets/basemetals/models/block/lead_bars_side.json index 7af1021d6..9d2183bce 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/lead_bars", - "bars": "basemetals:block/lead_bars", - "edge": "basemetals:block/lead_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/lead_bars_side_alt.json index 89cc4ff29..6399201a1 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/lead_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/lead_bars", - "bars": "basemetals:block/lead_bars", - "edge": "basemetals:block/lead_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/lead_bars", + "bars": "basemetals:block/lead_bars", + "edge": "basemetals:block/lead_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/lead_ore.json b/src/main/resources/assets/basemetals/models/block/lead_ore.json index 574552c95..bc0d6e127 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_ore.json +++ b/src/main/resources/assets/basemetals/models/block/lead_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/mercury_ore.json b/src/main/resources/assets/basemetals/models/block/mercury_ore.json index f12342e4b..15b1602bd 100644 --- a/src/main/resources/assets/basemetals/models/block/mercury_ore.json +++ b/src/main/resources/assets/basemetals/models/block/mercury_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_cap.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_cap.json index 57eafa34f..2e73e99ad 100644 --- a/src/main/resources/assets/basemetals/models/block/mithril_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/mithril_bars", - "bars": "basemetals:block/mithril_bars", - "edge": "basemetals:block/mithril_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_cap_alt.json index 54be4150e..dee8b4454 100644 --- a/src/main/resources/assets/basemetals/models/block/mithril_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/mithril_bars", - "bars": "basemetals:block/mithril_bars", - "edge": "basemetals:block/mithril_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_post.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_post.json index 9a906a11d..a6ec6c1c0 100644 --- a/src/main/resources/assets/basemetals/models/block/mithril_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/mithril_bars", - "bars": "basemetals:block/mithril_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_post_ends.json new file mode 100644 index 000000000..209e4cfe1 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_side.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_side.json index d295f6ce7..32048a7d5 100644 --- a/src/main/resources/assets/basemetals/models/block/mithril_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/mithril_bars", - "bars": "basemetals:block/mithril_bars", - "edge": "basemetals:block/mithril_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/mithril_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/mithril_bars_side_alt.json index 15ae4781c..bb0bc5db4 100644 --- a/src/main/resources/assets/basemetals/models/block/mithril_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/mithril_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/mithril_bars", - "bars": "basemetals:block/mithril_bars", - "edge": "basemetals:block/mithril_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/mithril_bars", + "bars": "basemetals:block/mithril_bars", + "edge": "basemetals:block/mithril_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_cap.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_cap.json index 56b9e8f1f..38c2dcd9e 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/nickel_bars", - "bars": "basemetals:block/nickel_bars", - "edge": "basemetals:block/nickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_cap_alt.json index 05f0ec59b..67777f887 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/nickel_bars", - "bars": "basemetals:block/nickel_bars", - "edge": "basemetals:block/nickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_post.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_post.json index 7ba0dca63..2d7ef68ad 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/nickel_bars", - "bars": "basemetals:block/nickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_post_ends.json new file mode 100644 index 000000000..6728033e8 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_side.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_side.json index 81477d060..2866a02a9 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/nickel_bars", - "bars": "basemetals:block/nickel_bars", - "edge": "basemetals:block/nickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/nickel_bars_side_alt.json index b067f0672..1290363a3 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/nickel_bars", - "bars": "basemetals:block/nickel_bars", - "edge": "basemetals:block/nickel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/nickel_bars", + "bars": "basemetals:block/nickel_bars", + "edge": "basemetals:block/nickel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/nickel_ore.json b/src/main/resources/assets/basemetals/models/block/nickel_ore.json index 329957820..bc13ecbcf 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_ore.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap.json index a01a90bd9..0b86a9e38 100644 --- a/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/obsidian_bars", - "bars": "basemetals:block/obsidian_bars", - "edge": "basemetals:block/obsidian_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap_alt.json index 71bac03a7..75cc1d265 100644 --- a/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/obsidian_bars", - "bars": "basemetals:block/obsidian_bars", - "edge": "basemetals:block/obsidian_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_post.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_post.json index 06e296857..3461d8a11 100644 --- a/src/main/resources/assets/basemetals/models/block/obsidian_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/obsidian_bars", - "bars": "basemetals:block/obsidian_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_post_ends.json new file mode 100644 index 000000000..b9a13b3db --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_side.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_side.json index 13784557b..484f9da8d 100644 --- a/src/main/resources/assets/basemetals/models/block/obsidian_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/obsidian_bars", - "bars": "basemetals:block/obsidian_bars", - "edge": "basemetals:block/obsidian_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/obsidian_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/obsidian_bars_side_alt.json index 74c11de10..e916790b1 100644 --- a/src/main/resources/assets/basemetals/models/block/obsidian_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/obsidian_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/obsidian_bars", - "bars": "basemetals:block/obsidian_bars", - "edge": "basemetals:block/obsidian_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/obsidian_bars", + "bars": "basemetals:block/obsidian_bars", + "edge": "basemetals:block/obsidian_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_cap.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_cap.json index 61c3fbd51..c1d244482 100644 --- a/src/main/resources/assets/basemetals/models/block/pewter_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/pewter_bars", - "bars": "basemetals:block/pewter_bars", - "edge": "basemetals:block/pewter_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_cap_alt.json index df754cb9b..d2fd35652 100644 --- a/src/main/resources/assets/basemetals/models/block/pewter_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/pewter_bars", - "bars": "basemetals:block/pewter_bars", - "edge": "basemetals:block/pewter_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_post.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_post.json index 7a237fc06..33d19f98f 100644 --- a/src/main/resources/assets/basemetals/models/block/pewter_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/pewter_bars", - "bars": "basemetals:block/pewter_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_post_ends.json new file mode 100644 index 000000000..75b4e842c --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_side.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_side.json index 7bab78596..a8780b648 100644 --- a/src/main/resources/assets/basemetals/models/block/pewter_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/pewter_bars", - "bars": "basemetals:block/pewter_bars", - "edge": "basemetals:block/pewter_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/pewter_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/pewter_bars_side_alt.json index 51f72dc79..047e648ea 100644 --- a/src/main/resources/assets/basemetals/models/block/pewter_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/pewter_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/pewter_bars", - "bars": "basemetals:block/pewter_bars", - "edge": "basemetals:block/pewter_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/pewter_bars", + "bars": "basemetals:block/pewter_bars", + "edge": "basemetals:block/pewter_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_cap.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_cap.json index cdd7c5322..1964354cd 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/platinum_bars", - "bars": "basemetals:block/platinum_bars", - "edge": "basemetals:block/platinum_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_cap_alt.json index 0db177cfe..d297061ac 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/platinum_bars", - "bars": "basemetals:block/platinum_bars", - "edge": "basemetals:block/platinum_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_post.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_post.json index a6d2d215c..504fb71e4 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/platinum_bars", - "bars": "basemetals:block/platinum_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_post_ends.json new file mode 100644 index 000000000..5ecb2993e --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_side.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_side.json index c02b2b259..bf5852f66 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/platinum_bars", - "bars": "basemetals:block/platinum_bars", - "edge": "basemetals:block/platinum_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/platinum_bars_side_alt.json index 60f3de113..2c803c58e 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/platinum_bars", - "bars": "basemetals:block/platinum_bars", - "edge": "basemetals:block/platinum_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/platinum_bars", + "bars": "basemetals:block/platinum_bars", + "edge": "basemetals:block/platinum_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/platinum_ore.json b/src/main/resources/assets/basemetals/models/block/platinum_ore.json index 6969c40ce..232d3f04a 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_ore.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_cap.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_cap.json index 8fd8d1aee..f0e15233e 100644 --- a/src/main/resources/assets/basemetals/models/block/quartz_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/quartz_bars", - "bars": "basemetals:block/quartz_bars", - "edge": "basemetals:block/quartz_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_cap_alt.json index 4dac742bf..3fe381f69 100644 --- a/src/main/resources/assets/basemetals/models/block/quartz_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/quartz_bars", - "bars": "basemetals:block/quartz_bars", - "edge": "basemetals:block/quartz_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_post.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_post.json index 9ff65e8ce..13dbe834a 100644 --- a/src/main/resources/assets/basemetals/models/block/quartz_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/quartz_bars", - "bars": "basemetals:block/quartz_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_post_ends.json new file mode 100644 index 000000000..6d0a9a7dd --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_side.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_side.json index c8c1b4ac0..d75bb7fe1 100644 --- a/src/main/resources/assets/basemetals/models/block/quartz_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/quartz_bars", - "bars": "basemetals:block/quartz_bars", - "edge": "basemetals:block/quartz_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/quartz_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/quartz_bars_side_alt.json index 3648a6bdc..891aff296 100644 --- a/src/main/resources/assets/basemetals/models/block/quartz_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/quartz_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/quartz_bars", - "bars": "basemetals:block/quartz_bars", - "edge": "basemetals:block/quartz_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/quartz_bars", + "bars": "basemetals:block/quartz_bars", + "edge": "basemetals:block/quartz_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_cap.json b/src/main/resources/assets/basemetals/models/block/silver_bars_cap.json index d68e64649..26dcaf558 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/silver_bars", - "bars": "basemetals:block/silver_bars", - "edge": "basemetals:block/silver_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/silver_bars_cap_alt.json index 83ccf91da..0205a881e 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/silver_bars", - "bars": "basemetals:block/silver_bars", - "edge": "basemetals:block/silver_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_post.json b/src/main/resources/assets/basemetals/models/block/silver_bars_post.json index 083e4de29..08f3e3281 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/silver_bars", - "bars": "basemetals:block/silver_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/silver_bars_post_ends.json new file mode 100644 index 000000000..d3e53a9f8 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_side.json b/src/main/resources/assets/basemetals/models/block/silver_bars_side.json index aedef8c9e..83c38f342 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/silver_bars", - "bars": "basemetals:block/silver_bars", - "edge": "basemetals:block/silver_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/silver_bars_side_alt.json index 73efd05c4..f5f32f73b 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/silver_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/silver_bars", - "bars": "basemetals:block/silver_bars", - "edge": "basemetals:block/silver_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/silver_bars", + "bars": "basemetals:block/silver_bars", + "edge": "basemetals:block/silver_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/silver_ore.json b/src/main/resources/assets/basemetals/models/block/silver_ore.json index 945fae127..1c8eaf86a 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_ore.json +++ b/src/main/resources/assets/basemetals/models/block/silver_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap.json index 4c524bebc..eca7c8a59 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/starsteel_bars", - "bars": "basemetals:block/starsteel_bars", - "edge": "basemetals:block/starsteel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap_alt.json index 70bef10c9..ca54a4b5e 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/starsteel_bars", - "bars": "basemetals:block/starsteel_bars", - "edge": "basemetals:block/starsteel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_post.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_post.json index 71ef8bcdd..cb91c0377 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/starsteel_bars", - "bars": "basemetals:block/starsteel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_post_ends.json new file mode 100644 index 000000000..a1cf2ec86 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_side.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_side.json index d9f8cc16d..73d10ecf7 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/starsteel_bars", - "bars": "basemetals:block/starsteel_bars", - "edge": "basemetals:block/starsteel_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/starsteel_bars_side_alt.json index 8dbfae7a6..4fe501044 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/starsteel_bars", - "bars": "basemetals:block/starsteel_bars", - "edge": "basemetals:block/starsteel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/starsteel_bars", + "bars": "basemetals:block/starsteel_bars", + "edge": "basemetals:block/starsteel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/starsteel_ore.json b/src/main/resources/assets/basemetals/models/block/starsteel_ore.json index fc085da09..67504e149 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_ore.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_cap.json b/src/main/resources/assets/basemetals/models/block/steel_bars_cap.json index 8932f0313..c93ae302d 100644 --- a/src/main/resources/assets/basemetals/models/block/steel_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/steel_bars", - "bars": "basemetals:block/steel_bars", - "edge": "basemetals:block/steel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/steel_bars_cap_alt.json index bcdd60d62..0b3b34c70 100644 --- a/src/main/resources/assets/basemetals/models/block/steel_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/steel_bars", - "bars": "basemetals:block/steel_bars", - "edge": "basemetals:block/steel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_post.json b/src/main/resources/assets/basemetals/models/block/steel_bars_post.json index ee2b857b7..16fa1d14d 100644 --- a/src/main/resources/assets/basemetals/models/block/steel_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/steel_bars", - "bars": "basemetals:block/steel_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/steel_bars_post_ends.json new file mode 100644 index 000000000..4eeb765f4 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_side.json b/src/main/resources/assets/basemetals/models/block/steel_bars_side.json index ed3b6fe23..e56b6bd2c 100644 --- a/src/main/resources/assets/basemetals/models/block/steel_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/steel_bars", - "bars": "basemetals:block/steel_bars", - "edge": "basemetals:block/steel_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/steel_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/steel_bars_side_alt.json index 5b3dcec0f..e0f8e3cf7 100644 --- a/src/main/resources/assets/basemetals/models/block/steel_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/steel_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/steel_bars", - "bars": "basemetals:block/steel_bars", - "edge": "basemetals:block/steel_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/steel_bars", + "bars": "basemetals:block/steel_bars", + "edge": "basemetals:block/steel_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_cap.json b/src/main/resources/assets/basemetals/models/block/tin_bars_cap.json index 31ff6a4cd..eb18ed068 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/tin_bars", - "bars": "basemetals:block/tin_bars", - "edge": "basemetals:block/tin_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/tin_bars_cap_alt.json index 3c45d1298..20be7b722 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/tin_bars", - "bars": "basemetals:block/tin_bars", - "edge": "basemetals:block/tin_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_post.json b/src/main/resources/assets/basemetals/models/block/tin_bars_post.json index 4e7b83e44..96e410717 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/tin_bars", - "bars": "basemetals:block/tin_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/tin_bars_post_ends.json new file mode 100644 index 000000000..170666977 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_side.json b/src/main/resources/assets/basemetals/models/block/tin_bars_side.json index 62e17db2a..b8ffb9d7c 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/tin_bars", - "bars": "basemetals:block/tin_bars", - "edge": "basemetals:block/tin_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/tin_bars_side_alt.json index c74f1ee3d..ba1e5af25 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/tin_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/tin_bars", - "bars": "basemetals:block/tin_bars", - "edge": "basemetals:block/tin_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/tin_bars", + "bars": "basemetals:block/tin_bars", + "edge": "basemetals:block/tin_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/tin_ore.json b/src/main/resources/assets/basemetals/models/block/tin_ore.json index b70c25d5a..6854d6cdd 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_ore.json +++ b/src/main/resources/assets/basemetals/models/block/tin_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_cap.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_cap.json index 6914d3dad..97a97e7ae 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_bars_cap.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_cap.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/zinc_bars", - "bars": "basemetals:block/zinc_bars", - "edge": "basemetals:block/zinc_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 8, 0, 7, 16 ], "texture": "#bars" }, - "east": { "uv": [ 7, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 9 ], - "faces": { - "north": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" }, - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_cap_alt.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_cap_alt.json index 5795db049..92a9748fe 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_bars_cap_alt.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_cap_alt.json @@ -1,24 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/zinc_bars", - "bars": "basemetals:block/zinc_bars", - "edge": "basemetals:block/zinc_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 8, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 7 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_cap_alt", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_post.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_post.json index 8938a1c4b..1876e2e05 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_bars_post.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_post.json @@ -1,23 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/zinc_bars", - "bars": "basemetals:block/zinc_bars" - }, - "elements": [ - { "from": [ 8, 0, 7 ], - "to": [ 8, 16, 9 ], - "faces": { - "west": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "east": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 8 ], - "to": [ 9, 16, 8 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#bars" }, - "south": { "uv": [ 9, 0, 7, 16 ], "texture": "#bars" } - } - } - ] + "parent": "minecraft:block/iron_bars_post", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_post_ends.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_post_ends.json new file mode 100644 index 000000000..2e3681c57 --- /dev/null +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_post_ends.json @@ -0,0 +1,8 @@ +{ + "parent": "minecraft:block/iron_bars_post_ends", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } +} diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_side.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_side.json index 02fca12e7..c9323041f 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_bars_side.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_side.json @@ -1,37 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/zinc_bars", - "bars": "basemetals:block/zinc_bars", - "edge": "basemetals:block/zinc_bars" - }, - "elements": [ - { "from": [ 8, 0, 0 ], - "to": [ 8, 16, 8 ], - "faces": { - "west": { "uv": [ 16, 0, 8, 16 ], "texture": "#bars" }, - "east": { "uv": [ 8, 0, 16, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 0 ], - "to": [ 9, 16, 7 ], - "faces": { - "north": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "north" } - } - }, - { "from": [ 7, 0.001, 0 ], - "to": [ 9, 0.001, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 0 ], - "to": [ 9, 15.999, 7 ], - "faces": { - "down": { "uv": [ 9, 0, 7, 7 ], "texture": "#edge" }, - "up": { "uv": [ 7, 0, 9, 7 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_bars_side_alt.json b/src/main/resources/assets/basemetals/models/block/zinc_bars_side_alt.json index 73779fd3c..afd2f2d62 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_bars_side_alt.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_bars_side_alt.json @@ -1,39 +1,8 @@ { - "ambientocclusion": false, - "textures": { - "particle": "basemetals:block/zinc_bars", - "bars": "basemetals:block/zinc_bars", - "edge": "basemetals:block/zinc_bars" - }, - "elements": [ - { "from": [ 8, 0, 8 ], - "to": [ 8, 16, 16 ], - "faces": { - "west": { "uv": [ 8, 0, 0, 16 ], "texture": "#bars" }, - "east": { "uv": [ 0, 0, 8, 16 ], "texture": "#bars" } - } - }, - { "from": [ 7, 0, 9 ], - "to": [ 9, 16, 16 ], - "faces": { - "south": { "uv": [ 7, 0, 9, 16 ], "texture": "#edge", "cullface": "south" }, - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 0.001, 9 ], - "to": [ 9, 0.001, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - }, - { "from": [ 7, 15.999, 9 ], - "to": [ 9, 15.999, 16 ], - "faces": { - "down": { "uv": [ 9, 9, 7, 16 ], "texture": "#edge" }, - "up": { "uv": [ 7, 9, 9, 16 ], "texture": "#edge" } - } - } - ] + "parent": "minecraft:block/iron_bars_side_alt", + "textures": { + "particle": "basemetals:block/zinc_bars", + "bars": "basemetals:block/zinc_bars", + "edge": "basemetals:block/zinc_bars" + } } diff --git a/src/main/resources/assets/basemetals/models/block/zinc_ore.json b/src/main/resources/assets/basemetals/models/block/zinc_ore.json index 9c164a374..357985030 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_ore.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_ore.json @@ -20,27 +20,63 @@ "faces": { "down": { "texture": "#base", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#base", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#base", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#base", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#base", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#base", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } }, @@ -58,27 +94,63 @@ "faces": { "down": { "texture": "#overlay", - "cullface": "down" + "cullface": "down", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "up": { "texture": "#overlay", - "cullface": "up" + "cullface": "up", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "north": { "texture": "#overlay", - "cullface": "north" + "cullface": "north", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "south": { "texture": "#overlay", - "cullface": "south" + "cullface": "south", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "west": { "texture": "#overlay", - "cullface": "west" + "cullface": "west", + "uv": [ + 0, + 0, + 16, + 16 + ] }, "east": { "texture": "#overlay", - "cullface": "east" + "cullface": "east", + "uv": [ + 0, + 0, + 16, + 16 + ] } } } diff --git a/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java b/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java index b58328f46..6d98cdb14 100644 --- a/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java +++ b/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java @@ -119,6 +119,9 @@ private static JsonObject element(float from, float to, String texture) { JsonObject face = new JsonObject(); face.addProperty("texture", texture); face.addProperty("cullface", direction); + JsonArray uv = new JsonArray(); + for (int value : new int[] {0, 0, 16, 16}) uv.add(value); + face.add("uv", uv); faces.add(direction, face); } diff --git a/src/test/java/zone/moddev/mc/basemetals/Native116ContractTest.java b/src/test/java/zone/moddev/mc/basemetals/Native116ContractTest.java index 26346950f..5eb013418 100644 --- a/src/test/java/zone/moddev/mc/basemetals/Native116ContractTest.java +++ b/src/test/java/zone/moddev/mc/basemetals/Native116ContractTest.java @@ -20,7 +20,7 @@ void keepsPatchVersionMetadataAndAuditsInSync() throws Exception { properties.load(input); } String version = properties.getProperty("mod_version"); - assertEquals("3.1.1.116051", version); + assertEquals("3.1.2.116051", version); assertTrue(source("src/main/resources/META-INF/mods.toml").contains("version=\"" + version + "\"")); for (String sourceSet : new String[] {"integrationTest", "clientIntegrationTest"}) { assertTrue(source("src/" + sourceSet + "/resources/META-INF/mods.toml") @@ -87,10 +87,10 @@ void pinsThePublishedOreSpawnRelease() throws Exception { } assertEquals("release", properties.getProperty("orespawn_dependency_mode")); - assertEquals("4.1.0.116051", properties.getProperty("orespawn_version")); + assertEquals("4.1.7.116051", properties.getProperty("orespawn_version")); assertEquals("245586", properties.getProperty("orespawn_curse_project_id")); - assertEquals("9080646", properties.getProperty("orespawn_curse_file_id")); - assertEquals("CDF59D83F191C5FBCD8921228DB577066A63A8FEB25CA79DB4EAEEA32D32DB04", + assertEquals("9929985", properties.getProperty("orespawn_curse_file_id")); + assertEquals("310022CCDA2C6A4D118F94C72838ACC8020C2F594F2E93754DC19D2644B8E9FC", properties.getProperty("orespawn_sha256")); assertTrue(source("build.gradle").contains("curse.maven:${orespawnModule}:${orespawn_curse_file_id}")); assertTrue(source("build.gradle").contains("zone.moddev.mc.orespawn:OreSpawn:${orespawn_version}")); diff --git a/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java b/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java index 2de86813a..ad31fb7cf 100644 --- a/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java +++ b/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java @@ -165,6 +165,8 @@ private static void assertElement(JsonObject element, double from, double to, St JsonObject faces = element.getAsJsonObject("faces"); assertEquals(6, faces.entrySet().size()); for (Map.Entry face : faces.entrySet()) { + JsonArray uv = face.getValue().getAsJsonObject().getAsJsonArray("uv"); + assertEquals("[0,0,16,16]", uv.toString()); assertEquals(texture, face.getValue().getAsJsonObject().get("texture").getAsString()); assertEquals(face.getKey(), face.getValue().getAsJsonObject().get("cullface").getAsString()); } diff --git a/tools/generate_116_resources.js b/tools/generate_116_resources.js index a2414374b..dcb2e5bff 100644 --- a/tools/generate_116_resources.js +++ b/tools/generate_116_resources.js @@ -225,6 +225,9 @@ for (const file of filesUnder(legacyChests, '.json')) { writeJson(target, table); } +require('./generate_bar_models')('basemetals', path.join(generated, 'assets/basemetals/blockstates'), + path.join(main, 'assets/basemetals/models/block'), 'block'); + // Each wall connection can now be absent, low or tall. for (const file of filesUnder(path.join(generated, 'assets', 'basemetals', 'blockstates'), '_wall.json')) { const name = path.basename(file, '.json'); diff --git a/tools/generate_bar_models.js b/tools/generate_bar_models.js new file mode 100644 index 000000000..d26acc4d4 --- /dev/null +++ b/tools/generate_bar_models.js @@ -0,0 +1,31 @@ +// Use the target game's iron-bar parts and connection rules for each material. +const fs=require('node:fs'),path=require('node:path'); +module.exports=function generateBars(namespace,states,models,textureFolder){ + let count=0; + const directions=['north','east','south','west']; + for(const file of fs.readdirSync(states).filter(n=>n.endsWith('_bars.json')).sort()){ + const name=file.slice(0,-5),texture=namespace+':'+textureFolder+'/'+name; + const ref=part=>namespace+':block/'+name+'_'+part; + const isolated=Object.fromEntries(directions.map(d=>[d,'false'])); + const parts=[{apply:{model:ref('post_ends')}},{when:isolated,apply:{model:ref('post')}}]; + directions.forEach((direction,index)=>{ + const cap={model:ref(index<2?'cap':'cap_alt')}; + const side={model:ref(index<2?'side':'side_alt')}; + if(index%2){cap.y=90;side.y=90;} + parts.push({when:{...isolated,[direction]:'true'},apply:cap}); + parts.push({when:{[direction]:'true'},apply:side}); + }); + fs.writeFileSync(path.join(states,file),JSON.stringify({multipart:parts},null,2)+'\n'); + for(const part of ['post','post_ends','cap','cap_alt','side','side_alt']){ + fs.writeFileSync(path.join(models,name+'_'+part+'.json'),JSON.stringify({parent:'minecraft:block/iron_bars_'+part,textures:{particle:texture,bars:texture,edge:texture}},null,2)+'\n'); + } + count++; + } + console.log('Generated vanilla-compatible bars for '+count+' '+namespace+' materials.'); +}; +if(require.main===module){ + const root=path.resolve(__dirname,'..'); + const namespace=fs.readFileSync(path.join(root,'gradle.properties'),'utf8').match(/^mod_id=([a-z]+)$/m)[1]; + const base=namespace==='basemetals'; + module.exports(namespace,path.join(root,base?'src/generated/resources':'src/main/resources','assets',namespace,'blockstates'),path.join(root,'src/main/resources/assets',namespace,'models/block'),base?'block':'blocks'); +} diff --git a/tools/test_bar_models.js b/tools/test_bar_models.js new file mode 100644 index 000000000..6d74fdef1 --- /dev/null +++ b/tools/test_bar_models.js @@ -0,0 +1,31 @@ +const {test}=require('node:test'); +const assert=require('node:assert/strict'); +const fs=require('node:fs'); +const path=require('node:path'); +const root=path.resolve(__dirname,'..'); +const mod='basemetals'; +function resources(){const result=new Map();for(const dir of ['src/main/resources','src/generated/resources']){ + const folder=path.join(root,dir,'assets',mod,'blockstates');if(!fs.existsSync(folder))continue; + for(const name of fs.readdirSync(folder).filter(n=>n.endsWith('_bars.json')))result.set(name,JSON.parse(fs.readFileSync(path.join(folder,name),'utf8'))); +}return result;} +test('every bars model follows vanilla connections without overlapping centre/caps',()=>{ + const states=resources();assert(states.size>=21); + for(const [name,json] of states)for(let mask=0;mask<16;mask++){ + const directions=['north','east','south','west'];const state=Object.fromEntries(directions.map((d,i)=>[d,String(Boolean(mask&(1<!p.when||Object.entries(p.when).every(([k,v])=>String(v)===state[k])).map(p=>p.apply.model); + const connections=directions.filter(d=>state[d]==='true').length; + assert.equal(parts.filter(n=>n.endsWith('_post_ends')).length,1,name+' '+mask+' post ends'); + assert.equal(parts.filter(n=>n.endsWith('_post')).length,connections===0?1:0,name+' '+mask+' centre'); + assert.equal(parts.filter(n=>/_cap(_alt)?$/.test(n)).length,connections===1?1:0,name+' '+mask+' caps'); + assert.equal(parts.filter(n=>/_side(_alt)?$/.test(n)).length,connections,name+' '+mask+' sides'); + } +}); + +test('wider ore geometry keeps texture coordinates inside the intended sprite',()=>{ + const folder=path.join(root,'src/main/resources/assets/basemetals/models/block');let ores=0; + for(const name of fs.readdirSync(folder).filter(n=>n.endsWith('_ore.json'))){ + const value=JSON.parse(fs.readFileSync(path.join(folder,name),'utf8'));if(!value.textures||!value.textures.overlay)continue;ores++; + for(const element of value.elements)for(const face of Object.values(element.faces))assert.deepEqual(face.uv,[0,0,16,16],name); + } + assert.equal(ores,13); +});