Skip to content

Commit

Permalink
Merge pull request #19 from Nyphet/1.18.2/dev
Browse files Browse the repository at this point in the history
1.18.2/dev
  • Loading branch information
Crystal-Spider authored Jul 18, 2022
2 parents eaadb6d + 9ff9348 commit f682d14
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package crystalspider.justverticalslabs.model.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

Expand All @@ -26,7 +27,7 @@ public class BakedQuadUtils {
public static final List<BakedQuad> getReferredBakedQuads(BlockState referredState, Direction side, Random rand, IModelData modelData) {
BakedModel referredBakedModel = ModelUtils.getReferredBakedModel(referredState);
IModelData referredModelData = ModelUtils.getReferredModelData(referredState, modelData);
List<BakedQuad> referredBakedQuads = referredBakedModel.getQuads(referredState, side, rand, referredModelData);
List<BakedQuad> referredBakedQuads = new ArrayList<BakedQuad>(referredBakedModel.getQuads(referredState, side, rand, referredModelData));
for (BakedQuad referredBakedQuad : referredBakedModel.getQuads(referredState, null, rand, referredModelData)) {
if (referredBakedQuad.getDirection() == side) {
referredBakedQuads.add(referredBakedQuad);
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added forge/src/main/resources/just-vertical-slabs.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed forge/src/main/resources/just-vertical-slabs.png
Binary file not shown.
5 changes: 3 additions & 2 deletions forge/updates.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}

0 comments on commit f682d14

Please sign in to comment.