From 1a98d77693cfe6e57887989672165d9b28291d9d Mon Sep 17 00:00:00 2001 From: JohnBraham Date: Tue, 24 Nov 2026 16:42:08 +0000 Subject: [PATCH] Fix ore overlays, bars and trapdoors in 1.15 --- CHANGELOG.txt | 6 ++ README.md | 8 +- docs/MIGRATION.md | 2 +- docs/VERSIONS.md | 4 +- gradle.properties | 2 +- gradle/release/artifacts.gradle | 4 +- gradle/verification/generated-data.gradle | 7 ++ .../testmod/BaseMetalsClientProbe.java | 4 +- .../resources/META-INF/mods.toml | 2 +- .../blockstates/adamantine_bars.json | 57 +++++++++---- .../basemetals/blockstates/antimony_bars.json | 57 +++++++++---- .../basemetals/blockstates/aquarium_bars.json | 57 +++++++++---- .../basemetals/blockstates/bismuth_bars.json | 57 +++++++++---- .../basemetals/blockstates/brass_bars.json | 57 +++++++++---- .../basemetals/blockstates/bronze_bars.json | 57 +++++++++---- .../basemetals/blockstates/coldiron_bars.json | 57 +++++++++---- .../basemetals/blockstates/copper_bars.json | 57 +++++++++---- .../blockstates/cupronickel_bars.json | 57 +++++++++---- .../basemetals/blockstates/diamond_bars.json | 57 +++++++++---- .../basemetals/blockstates/electrum_bars.json | 57 +++++++++---- .../basemetals/blockstates/emerald_bars.json | 57 +++++++++---- .../basemetals/blockstates/gold_bars.json | 57 +++++++++---- .../basemetals/blockstates/invar_bars.json | 57 +++++++++---- .../basemetals/blockstates/lead_bars.json | 57 +++++++++---- .../basemetals/blockstates/mithril_bars.json | 57 +++++++++---- .../basemetals/blockstates/nickel_bars.json | 57 +++++++++---- .../basemetals/blockstates/obsidian_bars.json | 57 +++++++++---- .../basemetals/blockstates/pewter_bars.json | 57 +++++++++---- .../basemetals/blockstates/platinum_bars.json | 57 +++++++++---- .../basemetals/blockstates/quartz_bars.json | 57 +++++++++---- .../basemetals/blockstates/silver_bars.json | 57 +++++++++---- .../blockstates/starsteel_bars.json | 57 +++++++++---- .../basemetals/blockstates/steel_bars.json | 57 +++++++++---- .../basemetals/blockstates/tin_bars.json | 57 +++++++++---- .../basemetals/blockstates/zinc_bars.json | 57 +++++++++---- .../resources/META-INF/mods.toml | 2 +- .../mc/basemetals/content/ModContent.java | 6 +- src/main/resources/META-INF/mods.toml | 2 +- .../models/block/adamantine_bars_cap.json | 28 ++----- .../models/block/adamantine_bars_cap_alt.json | 28 ++----- .../models/block/adamantine_bars_post.json | 27 ++---- .../block/adamantine_bars_post_ends.json | 8 ++ .../models/block/adamantine_bars_side.json | 41 ++------- .../block/adamantine_bars_side_alt.json | 43 ++-------- .../models/block/adamantine_ore.json | 84 +++++++++++++++++-- .../models/block/antimony_bars_cap.json | 28 ++----- .../models/block/antimony_bars_cap_alt.json | 28 ++----- .../models/block/antimony_bars_post.json | 27 ++---- .../models/block/antimony_bars_post_ends.json | 8 ++ .../models/block/antimony_bars_side.json | 41 ++------- .../models/block/antimony_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/antimony_ore.json | 84 +++++++++++++++++-- .../models/block/aquarium_bars_cap.json | 28 ++----- .../models/block/aquarium_bars_cap_alt.json | 28 ++----- .../models/block/aquarium_bars_post.json | 27 ++---- .../models/block/aquarium_bars_post_ends.json | 8 ++ .../models/block/aquarium_bars_side.json | 41 ++------- .../models/block/aquarium_bars_side_alt.json | 43 ++-------- .../models/block/bismuth_bars_cap.json | 28 ++----- .../models/block/bismuth_bars_cap_alt.json | 28 ++----- .../models/block/bismuth_bars_post.json | 27 ++---- .../models/block/bismuth_bars_post_ends.json | 8 ++ .../models/block/bismuth_bars_side.json | 41 ++------- .../models/block/bismuth_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/bismuth_ore.json | 84 +++++++++++++++++-- .../models/block/brass_bars_cap.json | 28 ++----- .../models/block/brass_bars_cap_alt.json | 28 ++----- .../models/block/brass_bars_post.json | 27 ++---- .../models/block/brass_bars_post_ends.json | 8 ++ .../models/block/brass_bars_side.json | 41 ++------- .../models/block/brass_bars_side_alt.json | 43 ++-------- .../models/block/bronze_bars_cap.json | 28 ++----- .../models/block/bronze_bars_cap_alt.json | 28 ++----- .../models/block/bronze_bars_post.json | 27 ++---- .../models/block/bronze_bars_post_ends.json | 8 ++ .../models/block/bronze_bars_side.json | 41 ++------- .../models/block/bronze_bars_side_alt.json | 43 ++-------- .../models/block/coldiron_bars_cap.json | 28 ++----- .../models/block/coldiron_bars_cap_alt.json | 28 ++----- .../models/block/coldiron_bars_post.json | 27 ++---- .../models/block/coldiron_bars_post_ends.json | 8 ++ .../models/block/coldiron_bars_side.json | 41 ++------- .../models/block/coldiron_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/coldiron_ore.json | 84 +++++++++++++++++-- .../models/block/copper_bars_cap.json | 28 ++----- .../models/block/copper_bars_cap_alt.json | 28 ++----- .../models/block/copper_bars_post.json | 27 ++---- .../models/block/copper_bars_post_ends.json | 8 ++ .../models/block/copper_bars_side.json | 41 ++------- .../models/block/copper_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/copper_ore.json | 84 +++++++++++++++++-- .../models/block/cupronickel_bars_cap.json | 28 ++----- .../block/cupronickel_bars_cap_alt.json | 28 ++----- .../models/block/cupronickel_bars_post.json | 27 ++---- .../block/cupronickel_bars_post_ends.json | 8 ++ .../models/block/cupronickel_bars_side.json | 41 ++------- .../block/cupronickel_bars_side_alt.json | 43 ++-------- .../models/block/diamond_bars_cap.json | 28 ++----- .../models/block/diamond_bars_cap_alt.json | 28 ++----- .../models/block/diamond_bars_post.json | 27 ++---- .../models/block/diamond_bars_post_ends.json | 8 ++ .../models/block/diamond_bars_side.json | 41 ++------- .../models/block/diamond_bars_side_alt.json | 43 ++-------- .../models/block/electrum_bars_cap.json | 28 ++----- .../models/block/electrum_bars_cap_alt.json | 28 ++----- .../models/block/electrum_bars_post.json | 27 ++---- .../models/block/electrum_bars_post_ends.json | 8 ++ .../models/block/electrum_bars_side.json | 41 ++------- .../models/block/electrum_bars_side_alt.json | 43 ++-------- .../models/block/emerald_bars_cap.json | 28 ++----- .../models/block/emerald_bars_cap_alt.json | 28 ++----- .../models/block/emerald_bars_post.json | 27 ++---- .../models/block/emerald_bars_post_ends.json | 8 ++ .../models/block/emerald_bars_side.json | 41 ++------- .../models/block/emerald_bars_side_alt.json | 43 ++-------- .../models/block/gold_bars_cap.json | 28 ++----- .../models/block/gold_bars_cap_alt.json | 28 ++----- .../models/block/gold_bars_post.json | 27 ++---- .../models/block/gold_bars_post_ends.json | 8 ++ .../models/block/gold_bars_side.json | 41 ++------- .../models/block/gold_bars_side_alt.json | 43 ++-------- .../models/block/invar_bars_cap.json | 28 ++----- .../models/block/invar_bars_cap_alt.json | 28 ++----- .../models/block/invar_bars_post.json | 27 ++---- .../models/block/invar_bars_post_ends.json | 8 ++ .../models/block/invar_bars_side.json | 41 ++------- .../models/block/invar_bars_side_alt.json | 43 ++-------- .../models/block/lead_bars_cap.json | 28 ++----- .../models/block/lead_bars_cap_alt.json | 28 ++----- .../models/block/lead_bars_post.json | 27 ++---- .../models/block/lead_bars_post_ends.json | 8 ++ .../models/block/lead_bars_side.json | 41 ++------- .../models/block/lead_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/lead_ore.json | 84 +++++++++++++++++-- .../basemetals/models/block/mercury_ore.json | 84 +++++++++++++++++-- .../models/block/mithril_bars_cap.json | 28 ++----- .../models/block/mithril_bars_cap_alt.json | 28 ++----- .../models/block/mithril_bars_post.json | 27 ++---- .../models/block/mithril_bars_post_ends.json | 8 ++ .../models/block/mithril_bars_side.json | 41 ++------- .../models/block/mithril_bars_side_alt.json | 43 ++-------- .../models/block/nickel_bars_cap.json | 28 ++----- .../models/block/nickel_bars_cap_alt.json | 28 ++----- .../models/block/nickel_bars_post.json | 27 ++---- .../models/block/nickel_bars_post_ends.json | 8 ++ .../models/block/nickel_bars_side.json | 41 ++------- .../models/block/nickel_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/nickel_ore.json | 84 +++++++++++++++++-- .../models/block/obsidian_bars_cap.json | 28 ++----- .../models/block/obsidian_bars_cap_alt.json | 28 ++----- .../models/block/obsidian_bars_post.json | 27 ++---- .../models/block/obsidian_bars_post_ends.json | 8 ++ .../models/block/obsidian_bars_side.json | 41 ++------- .../models/block/obsidian_bars_side_alt.json | 43 ++-------- .../models/block/pewter_bars_cap.json | 28 ++----- .../models/block/pewter_bars_cap_alt.json | 28 ++----- .../models/block/pewter_bars_post.json | 27 ++---- .../models/block/pewter_bars_post_ends.json | 8 ++ .../models/block/pewter_bars_side.json | 41 ++------- .../models/block/pewter_bars_side_alt.json | 43 ++-------- .../models/block/platinum_bars_cap.json | 28 ++----- .../models/block/platinum_bars_cap_alt.json | 28 ++----- .../models/block/platinum_bars_post.json | 27 ++---- .../models/block/platinum_bars_post_ends.json | 8 ++ .../models/block/platinum_bars_side.json | 41 ++------- .../models/block/platinum_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/platinum_ore.json | 84 +++++++++++++++++-- .../models/block/quartz_bars_cap.json | 28 ++----- .../models/block/quartz_bars_cap_alt.json | 28 ++----- .../models/block/quartz_bars_post.json | 27 ++---- .../models/block/quartz_bars_post_ends.json | 8 ++ .../models/block/quartz_bars_side.json | 41 ++------- .../models/block/quartz_bars_side_alt.json | 43 ++-------- .../models/block/silver_bars_cap.json | 28 ++----- .../models/block/silver_bars_cap_alt.json | 28 ++----- .../models/block/silver_bars_post.json | 27 ++---- .../models/block/silver_bars_post_ends.json | 8 ++ .../models/block/silver_bars_side.json | 41 ++------- .../models/block/silver_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/silver_ore.json | 84 +++++++++++++++++-- .../models/block/starsteel_bars_cap.json | 28 ++----- .../models/block/starsteel_bars_cap_alt.json | 28 ++----- .../models/block/starsteel_bars_post.json | 27 ++---- .../block/starsteel_bars_post_ends.json | 8 ++ .../models/block/starsteel_bars_side.json | 41 ++------- .../models/block/starsteel_bars_side_alt.json | 43 ++-------- .../models/block/starsteel_ore.json | 84 +++++++++++++++++-- .../models/block/steel_bars_cap.json | 28 ++----- .../models/block/steel_bars_cap_alt.json | 28 ++----- .../models/block/steel_bars_post.json | 27 ++---- .../models/block/steel_bars_post_ends.json | 8 ++ .../models/block/steel_bars_side.json | 41 ++------- .../models/block/steel_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/tin_bars_cap.json | 28 ++----- .../models/block/tin_bars_cap_alt.json | 28 ++----- .../models/block/tin_bars_post.json | 27 ++---- .../models/block/tin_bars_post_ends.json | 8 ++ .../models/block/tin_bars_side.json | 41 ++------- .../models/block/tin_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/tin_ore.json | 84 +++++++++++++++++-- .../models/block/zinc_bars_cap.json | 28 ++----- .../models/block/zinc_bars_cap_alt.json | 28 ++----- .../models/block/zinc_bars_post.json | 27 ++---- .../models/block/zinc_bars_post_ends.json | 8 ++ .../models/block/zinc_bars_side.json | 41 ++------- .../models/block/zinc_bars_side_alt.json | 43 ++-------- .../basemetals/models/block/zinc_ore.json | 84 +++++++++++++++++-- .../basemetals/data/BMBlockStateProvider.java | 7 +- .../basemetals/data/OreOverlayModelTest.java | 3 +- tools/generate_115_resources.js | 2 + tools/generate_bar_models.js | 31 +++++++ tools/test_bar_models.js | 31 +++++++ 212 files changed, 3145 insertions(+), 4102 deletions(-) create mode 100644 src/main/resources/assets/basemetals/models/block/adamantine_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/antimony_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/aquarium_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/bismuth_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/brass_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/bronze_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/coldiron_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/copper_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/cupronickel_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/diamond_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/electrum_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/emerald_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/gold_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/invar_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/lead_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/mithril_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/nickel_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/obsidian_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/pewter_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/platinum_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/quartz_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/silver_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/starsteel_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/steel_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/tin_bars_post_ends.json create mode 100644 src/main/resources/assets/basemetals/models/block/zinc_bars_post_ends.json create mode 100644 tools/generate_bar_models.js create mode 100644 tools/test_bar_models.js diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 92f5ed8f4..89f303078 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,9 @@ +Base Metals 3.0.3.115021 + +- Fixed flickering ore overlays on stone, Netherrack and End Stone. +- Bars now connect the same way as vanilla iron bars. +- Fixed floors and walls disappearing through the gaps in doors and trapdoors. + Base Metals 3.0.2.115021 - Fix an intermittent world loading and saving failure when other mods also diff --git a/README.md b/README.md index 79b2aaef6..7882ca354 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ [![Discord](https://img.shields.io/badge/Discord-MMD-green.svg?style=flat&logo=Discord)](https://discord.moddev.zone) + +This update fixes flickering ore overlays, bar connections and missing terrain behind doors and trapdoors. [![CurseForge downloads](https://cf.way2muchnoise.eu/full_base-metals_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/base-metals) [![Supported Minecraft versions](https://cf.way2muchnoise.eu/versions/Minecraft_base-metals_all.svg)](https://www.curseforge.com/minecraft/mc-mods/base-metals) [![Build, test, and audit](https://github.com/MinecraftModDevelopmentMods/BaseMetals/actions/workflows/ci.yml/badge.svg?branch=master-1.15.2)](https://github.com/MinecraftModDevelopmentMods/BaseMetals/actions/workflows/ci.yml?query=branch%3Amaster-1.15.2) @@ -12,7 +14,7 @@ shields, bows, crossbows, arrows, and bolts. The mod also includes Crack Hammers, scythes, metal anvils, the human detector, villager trades, advancements, and extra loot to find in chests. -This is Base Metals `3.0.2.115021` for Minecraft 1.15.2. It brings the 1.14.4 +This is Base Metals `3.0.3.115021` for Minecraft 1.15.2. It brings the 1.14.4 release forward while keeping the same blocks, items and recipes. MMDLib and Additional Loot Tables are no longer needed. OreSpawn places the ores, and Base Metals supplies the metals and their recipes. @@ -29,7 +31,7 @@ Armorer, Weaponsmith and Toolsmith professions introduced in Minecraft 1.14. - Java 8 - OreSpawn `[4.1.0.115021,5.0.0)` on both client and server -Put `BaseMetals-3.0.2.115021.jar` and OreSpawn `4.1.0.115021` (or a later +Put `BaseMetals-3.0.3.115021.jar` and OreSpawn `4.1.0.115021` (or a later compatible OreSpawn 4 build for 1.15.2) in the `mods` directory. MMDLib and Additional Loot Tables are not dependencies. Mineralogy is optional. @@ -204,7 +206,7 @@ the temporary repository through `orespawnVerificationRepository`. Local candidate builds remain guarded against publication. Release artifacts use Maven coordinate -`zone.moddev.mc.basemetals:BaseMetals:3.0.2.115021`. +`zone.moddev.mc.basemetals:BaseMetals:3.0.3.115021`. Report defects through the [Base Metals issue tracker](https://github.com/MinecraftModDevelopmentMods/BaseMetals/issues). diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 5330ab9b0..b9905a5c1 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -6,7 +6,7 @@ blocks cannot be reconstructed by Mojang's vanilla fixer alone, so Base Metals installs a narrowly scoped migration hook before Forge reads an old world. Always upgrade a copy and retain the original 1.10/1.12 world. Install Base -Metals `3.0.2.115021`, OreSpawn `4.1.0.115021`, and any other 1.15.2 mods needed +Metals `3.0.3.115021`, OreSpawn `4.1.0.115021`, and any other 1.15.2 mods needed by that world. Do not carry MMDLib, Additional Loot Tables, the OreSpawn 3 plugin, or Base Metals' old fallback generator into the new instance. diff --git a/docs/VERSIONS.md b/docs/VERSIONS.md index 463c54767..7879657ed 100644 --- a/docs/VERSIONS.md +++ b/docs/VERSIONS.md @@ -1,6 +1,6 @@ # Supported versions -Base Metals `3.0.2.115021` targets Minecraft `1.15.2`, Forge `31.2.57`, and +Base Metals `3.0.3.115021` targets Minecraft `1.15.2`, Forge `31.2.57`, and Java 8. The Gradle build itself runs on Java `17.0.1+12` and uses ForgeGradle `7.0.34` with Gradle `9.6.1`; those build-time runtimes do not change the Java 8 requirement of the released mod. @@ -16,4 +16,4 @@ CI stages the same checksum-verified file in a temporary Maven repository. The schema-3 provider supports the OreSpawn versions in the runtime range above. Release artifacts use Maven coordinate -`zone.moddev.mc.basemetals:BaseMetals:3.0.2.115021`. +`zone.moddev.mc.basemetals:BaseMetals:3.0.3.115021`. diff --git a/gradle.properties b/gradle.properties index a79193212..254a42bc9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -40,7 +40,7 @@ mcp_version=20200515.085601 mod_id=basemetals mod_name=Base Metals mod_license=LGPL-2.1 -mod_version=3.0.2.115021 +mod_version=3.0.3.115021 # Maven coordinates and credits. mod_group=zone.moddev.mc.basemetals diff --git a/gradle/release/artifacts.gradle b/gradle/release/artifacts.gradle index f56c98328..0cbc96864 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.0.2.115021', modGroup: expectedMavenGroup, + def expected = [modVersion: '3.0.3.115021', modGroup: expectedMavenGroup, minecraftVersion: '1.15.2', forgeVersion: '31.2.57', forgeInstallerSha256: '84FD49A743978421B26F62AC78222289FE892A46F996CF11CB5E05B7441A7773', mappingChannel: 'snapshot', mappingVersion: '20200514-1.15.1', @@ -256,7 +256,7 @@ tasks.register('verifyReleaseArtifacts') { throw new GradleException('Release manifest contains the wrong identity') } String modsToml = zip.getInputStream(zip.getEntry('META-INF/mods.toml')).getText('UTF-8') - if (modsToml.contains('${') || !modsToml.contains('version="3.0.2.115021"') + if (modsToml.contains('${') || !modsToml.contains('version="3.0.3.115021"') || !modsToml.contains('versionRange="[4.1.0.115021,5.0.0)"')) { throw new GradleException('Release mods.toml contains unresolved or incompatible metadata') } diff --git a/gradle/verification/generated-data.gradle b/gradle/verification/generated-data.gradle index 51cfdcf1d..16ec70ad5 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/java/zone/moddev/mc/basemetals/testmod/BaseMetalsClientProbe.java b/src/clientIntegrationTest/java/zone/moddev/mc/basemetals/testmod/BaseMetalsClientProbe.java index a0c434903..806590489 100644 --- a/src/clientIntegrationTest/java/zone/moddev/mc/basemetals/testmod/BaseMetalsClientProbe.java +++ b/src/clientIntegrationTest/java/zone/moddev/mc/basemetals/testmod/BaseMetalsClientProbe.java @@ -494,8 +494,8 @@ private static void validateOreModel(IBakedModel model, Block block, String name private static void validateOreVertices(BakedQuad quad, boolean overlay, String name) { int[] vertices = quad.getVertexData(); int stride = vertices.length / 4; - float low = overlay ? -0.001F / 16 : 0; - float high = overlay ? 16.001F / 16 : 1; + float low = overlay ? -0.05F / 16 : 0; + float high = overlay ? 16.05F / 16 : 1; for (int vertex = 0; vertex < 4; vertex++) { for (int axis = 0; axis < 3; axis++) { diff --git a/src/clientIntegrationTest/resources/META-INF/mods.toml b/src/clientIntegrationTest/resources/META-INF/mods.toml index 5e9e873c7..d2333fae7 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.15.2.''' [[dependencies.basemetalsclientprobe]] modId="basemetals" mandatory=true -versionRange="[3.0.2.115021]" +versionRange="[3.0.3.115021]" 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 aef6bd453..ec573371c 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.15.2.''' [[dependencies.basemetalsprobe]] modId="basemetals" mandatory=true -versionRange="[3.0.2.115021]" +versionRange="[3.0.3.115021]" ordering="AFTER" side="BOTH" 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 63c694baf..8e7ed6dd0 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().variableOpacity(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestPane(properties.get().variableOpacity().notSolid(), material.requiredHarvestLevel()); } }; } else if ("door".equals(form)) { - factory = new Supplier() { @Override public Block get() { return new HarvestDoor(properties.get().variableOpacity(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestDoor(properties.get().variableOpacity().notSolid(), material.requiredHarvestLevel()); } }; } else if ("trapdoor".equals(form)) { - factory = new Supplier() { @Override public Block get() { return new HarvestTrapDoor(properties.get().variableOpacity(), material.requiredHarvestLevel()); } }; + factory = new Supplier() { @Override public Block get() { return new HarvestTrapDoor(properties.get().variableOpacity().notSolid(), material.requiredHarvestLevel()); } }; } else if ("button".equals(form)) { factory = new Supplier() { @Override public Block get() { return new HarvestButton(properties.get().doesNotBlockMovement(), 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 e143926ff..3478379a2 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/SkyBlade1978/BaseMetals/issues" [[mods]] modId="basemetals" -version="3.0.2.115021" +version="3.0.3.115021" 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 c321995ee..749c11c42 100644 --- a/src/main/resources/assets/basemetals/models/block/adamantine_ore.json +++ b/src/main/resources/assets/basemetals/models/block/adamantine_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 5a306f348..95838794b 100644 --- a/src/main/resources/assets/basemetals/models/block/antimony_ore.json +++ b/src/main/resources/assets/basemetals/models/block/antimony_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 9374686ba..313465ba3 100644 --- a/src/main/resources/assets/basemetals/models/block/bismuth_ore.json +++ b/src/main/resources/assets/basemetals/models/block/bismuth_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 429315da5..2c8faf018 100644 --- a/src/main/resources/assets/basemetals/models/block/coldiron_ore.json +++ b/src/main/resources/assets/basemetals/models/block/coldiron_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 a9f17a5c0..3ad572ce9 100644 --- a/src/main/resources/assets/basemetals/models/block/copper_ore.json +++ b/src/main/resources/assets/basemetals/models/block/copper_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 4b3a5ec31..e8c4950da 100644 --- a/src/main/resources/assets/basemetals/models/block/lead_ore.json +++ b/src/main/resources/assets/basemetals/models/block/lead_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 f59a6f3c5..19ec03593 100644 --- a/src/main/resources/assets/basemetals/models/block/mercury_ore.json +++ b/src/main/resources/assets/basemetals/models/block/mercury_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 992de8724..153c1ae11 100644 --- a/src/main/resources/assets/basemetals/models/block/nickel_ore.json +++ b/src/main/resources/assets/basemetals/models/block/nickel_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 3a85d68d4..527703aa8 100644 --- a/src/main/resources/assets/basemetals/models/block/platinum_ore.json +++ b/src/main/resources/assets/basemetals/models/block/platinum_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 e819e55f8..5ecd6b25c 100644 --- a/src/main/resources/assets/basemetals/models/block/silver_ore.json +++ b/src/main/resources/assets/basemetals/models/block/silver_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 13db18506..88b20a449 100644 --- a/src/main/resources/assets/basemetals/models/block/starsteel_ore.json +++ b/src/main/resources/assets/basemetals/models/block/starsteel_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 d548ed75f..ffd6be7b3 100644 --- a/src/main/resources/assets/basemetals/models/block/tin_ore.json +++ b/src/main/resources/assets/basemetals/models/block/tin_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 6063ae171..c076efc11 100644 --- a/src/main/resources/assets/basemetals/models/block/zinc_ore.json +++ b/src/main/resources/assets/basemetals/models/block/zinc_ore.json @@ -19,26 +19,62 @@ ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#base", "cullface": "east" } @@ -46,37 +82,73 @@ }, { "from": [ - -0.001, - -0.001, - -0.001 + -0.05, + -0.05, + -0.05 ], "to": [ - 16.001, - 16.001, - 16.001 + 16.05, + 16.05, + 16.05 ], "faces": { "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "down" }, "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "up" }, "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "north" }, "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "south" }, "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "west" }, "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], "texture": "#overlay", "cullface": "east" } 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 411c67b31..981accca3 100644 --- a/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java +++ b/src/modelGenerator/java/zone/moddev/mc/basemetals/data/BMBlockStateProvider.java @@ -101,8 +101,8 @@ public static JsonObject createOverlayOre(String baseTexture, String overlayText // Element 1: base block (Stone, Netherrack or End Stone). elements.add(element(0, 16, "#base")); - // Element 2: Kiri's 0.001 offset keeps the overlay from z-fighting with the base. - elements.add(element(-0.001F, 16.001F, "#overlay")); + // Keep the tested 0.05-pixel gap; explicit UVs keep the larger cube inside its sprite. + elements.add(element(-0.05F, 16.05F, "#overlay")); model.add("elements", elements); return model; @@ -116,6 +116,9 @@ private static JsonObject element(float from, float to, String texture) { JsonObject faces = new JsonObject(); for (String direction : FACES) { JsonObject face = new JsonObject(); + JsonArray uv = new JsonArray(); + for (int value : new int[] {0, 0, 16, 16}) uv.add(value); + face.add("uv", uv); face.addProperty("texture", texture); face.addProperty("cullface", direction); faces.add(direction, face); 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 4e4b91df9..638427793 100644 --- a/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java +++ b/src/test/java/zone/moddev/mc/basemetals/data/OreOverlayModelTest.java @@ -37,7 +37,7 @@ void kirisTwoLayerGeometryKeepsTheOffsetAndAllSixCullFaces() { JsonArray elements = model.getAsJsonArray("elements"); assertEquals(2, elements.size()); assertElement(elements.get(0).getAsJsonObject(), 0, 16, "#base"); - assertElement(elements.get(1).getAsJsonObject(), -0.001, 16.001, "#overlay"); + assertElement(elements.get(1).getAsJsonObject(), -0.05, 16.05, "#overlay"); } @Test @@ -163,6 +163,7 @@ 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()) { + assertEquals("[0,0,16,16]", face.getValue().getAsJsonObject().getAsJsonArray("uv").toString()); assertEquals(texture, face.getValue().getAsJsonObject().get("texture").getAsString()); assertEquals(face.getKey(), face.getValue().getAsJsonObject().get("cullface").getAsString()); } diff --git a/tools/generate_115_resources.js b/tools/generate_115_resources.js index 800994a07..a86ae0b4e 100644 --- a/tools/generate_115_resources.js +++ b/tools/generate_115_resources.js @@ -431,3 +431,5 @@ for (const file of filesUnder(path.join(generated, 'assets', 'basemetals', 'lang } console.log('Generated Minecraft 1.15.2-compatible Base Metals resources.'); + +require('./generate_bar_models')('basemetals', path.join(generated,'assets/basemetals/blockstates'), path.join(main,'assets/basemetals/models/block'), 'block'); 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); +});