Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/7.1' into 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Apr 26, 2024
2 parents c3dd13a + ea5832b commit df48d66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/main/java/turniplabs/halplibe/helper/BlockBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -506,23 +506,23 @@ public <T extends Block> T build(T block) {
block.atlasIndices[Side.TOP.getId()] = Block.texCoordToIndex(topTexture[0], topTexture[1]);
}

if (topTexture != null) {
if (bottomTexture != null) {
block.atlasIndices[Side.BOTTOM.getId()] = Block.texCoordToIndex(bottomTexture[0], bottomTexture[1]);
}

if (topTexture != null) {
if (northTexture != null) {
block.atlasIndices[Side.NORTH.getId()] = Block.texCoordToIndex(northTexture[0], northTexture[1]);
}

if (topTexture != null) {
if (eastTexture != null) {
block.atlasIndices[Side.EAST.getId()] = Block.texCoordToIndex(eastTexture[0], eastTexture[1]);
}

if (topTexture != null) {
if (southTexture != null) {
block.atlasIndices[Side.SOUTH.getId()] = Block.texCoordToIndex(southTexture[0], southTexture[1]);
}

if (topTexture != null) {
if (westTexture != null) {
block.atlasIndices[Side.WEST.getId()] = Block.texCoordToIndex(westTexture[0], westTexture[1]);
}

Expand Down
4 changes: 1 addition & 3 deletions src/main/java/turniplabs/halplibe/util/RecipeEntrypoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
public interface RecipeEntrypoint {
void onRecipesReady();

default void initNamespaces(){

}
void initNamespaces();
}

0 comments on commit df48d66

Please sign in to comment.