diff --git a/CHANGELOG.md b/CHANGELOG.md index b6113c0..86a0e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Forge Semantic Versioning](https://mcforge.readthed ## [Unreleased] - Nothing new. +## [1.18.2-3.2.0.1] - 2022/07/18 +- Fixed a rare bug that could cause game crash. +- Updated in game mod image. + ## [1.18.2-3.2.0.0] - 2022/07/11 - Fixed [1.18.2-3.2.0.0-beta1] double vertical slabs bugs. - Changed project structure to prepare a Fabric port. @@ -59,6 +63,7 @@ and this project adheres to [Forge Semantic Versioning](https://mcforge.readthed - Added creative tab with all vertical slabs. [Unreleased]: https://github.com/Nyphet/just-vertical-slabs +[1.18.2-3.2.0.1]: https://github.com/Nyphet/just-vertical-slabs/releases/tag/v1.18.2-3.2.0.1 [1.18.2-3.2.0.0]: https://github.com/Nyphet/just-vertical-slabs/releases/tag/v1.18.2-3.2.0.0 [1.18.2-3.2.0.0-beta1]: https://github.com/Nyphet/just-vertical-slabs/releases/tag/v1.18.2-3.2.0.0-beta1 [1.18.2-3.1.0.1]: https://github.com/Nyphet/just-vertical-slabs/releases/tag/v1.18.2-3.1.0.1 diff --git a/forge/build.gradle b/forge/build.gradle index 222917f..cafbb42 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -15,7 +15,7 @@ plugins { } apply plugin: 'net.minecraftforge.gradle' -version = '1.18.2-3.2.0.0-forge' +version = '1.18.2-3.2.0.1-forge' group = 'crystalspider.justverticalslabs' archivesBaseName = 'justverticalslabs' diff --git a/forge/src/main/java/crystalspider/justverticalslabs/blocks/TranslucentVerticalSlabBlock.java b/forge/src/main/java/crystalspider/justverticalslabs/blocks/TranslucentVerticalSlabBlock.java index fccd7af..0555adc 100644 --- a/forge/src/main/java/crystalspider/justverticalslabs/blocks/TranslucentVerticalSlabBlock.java +++ b/forge/src/main/java/crystalspider/justverticalslabs/blocks/TranslucentVerticalSlabBlock.java @@ -100,6 +100,7 @@ public boolean hidesNeighborFace(BlockGetter getter, BlockPos pos, BlockState st * TODO: * - Apply a mixin on Block#shouldRenderFace to hide Vertical Slab faces when against mimicked blocks. * - Hide mimicked blocks faces. + * - Currently not working with Optifine. */ return false; } diff --git a/forge/src/main/java/crystalspider/justverticalslabs/model/utils/BakedQuadUtils.java b/forge/src/main/java/crystalspider/justverticalslabs/model/utils/BakedQuadUtils.java index 08ac7a0..2134dae 100644 --- a/forge/src/main/java/crystalspider/justverticalslabs/model/utils/BakedQuadUtils.java +++ b/forge/src/main/java/crystalspider/justverticalslabs/model/utils/BakedQuadUtils.java @@ -1,5 +1,6 @@ package crystalspider.justverticalslabs.model.utils; +import java.util.ArrayList; import java.util.List; import java.util.Random; @@ -26,7 +27,7 @@ public class BakedQuadUtils { public static final List getReferredBakedQuads(BlockState referredState, Direction side, Random rand, IModelData modelData) { BakedModel referredBakedModel = ModelUtils.getReferredBakedModel(referredState); IModelData referredModelData = ModelUtils.getReferredModelData(referredState, modelData); - List referredBakedQuads = referredBakedModel.getQuads(referredState, side, rand, referredModelData); + List referredBakedQuads = new ArrayList(referredBakedModel.getQuads(referredState, side, rand, referredModelData)); for (BakedQuad referredBakedQuad : referredBakedModel.getQuads(referredState, null, rand, referredModelData)) { if (referredBakedQuad.getDirection() == side) { referredBakedQuads.add(referredBakedQuad); diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 04b9955..95632bf 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -8,7 +8,7 @@ version="${file.jarVersion}" displayName="Just Vertical Slabs" updateJSONURL="https://raw.githubusercontent.com/Nyphet/just-vertical-slabs/1.18.2/main/forge/updates.json" #optional displayURL="https://github.com/Nyphet/just-vertical-slabs" #optional -logoFile="just-vertical-slabs.png" #optional +logoFile="just-vertical-slabs.gif" #optional # A text field displayed in the mod UI credits="A very big thank you goes to the Forge team that allowed anyone to mod Minecraft for free and their support in the Forge Forums.\nIn particular I want to thank diesieben07 that followed me throughtout most of the development, without him none of this would be possible." #optional authors="Crystal Spider" #optional diff --git a/forge/src/main/resources/just-vertical-slabs.gif b/forge/src/main/resources/just-vertical-slabs.gif new file mode 100644 index 0000000..9154417 Binary files /dev/null and b/forge/src/main/resources/just-vertical-slabs.gif differ diff --git a/forge/src/main/resources/just-vertical-slabs.png b/forge/src/main/resources/just-vertical-slabs.png deleted file mode 100644 index 2f84ecb..0000000 Binary files a/forge/src/main/resources/just-vertical-slabs.png and /dev/null differ diff --git a/forge/updates.json b/forge/updates.json index e0181d4..0910cfc 100644 --- a/forge/updates.json +++ b/forge/updates.json @@ -1,6 +1,7 @@ { "homepage": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files", "1.18.2": { + "3.2.0.1": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files/3881946", "3.2.0.0": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files/3871060", "3.2.0.0-beta1": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files/3817189", "3.1.0.1": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files/3802450", @@ -10,7 +11,7 @@ "1.0.0.0": "https://www.curseforge.com/minecraft/mc-mods/just-vertical-slabs/files/3785696" }, "promos": { - "1.18.2-latest": "3.2.0.0", - "1.18.2-recommended": "3.2.0.0" + "1.18.2-latest": "3.2.0.1", + "1.18.2-recommended": "3.2.0.1" } } \ No newline at end of file