Skip to content

Commit

Permalink
Fix BlockStateFile not generating "uvlock": true when uvlock=true
Browse files Browse the repository at this point in the history
  • Loading branch information
Commoble committed Jul 10, 2022
1 parent d16adcc commit 2472e15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.0.0.2
* Fix BlockStateFile not generating `"uvlock": true` when uvlock=true

# 3.0.0.1
* Updated SimpleModel to support forge 41.0.64's block model jsons' render_type field

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

modid = databuddy
mod_version = 3.0.0.1
mod_version = 3.0.0.2
mc_version = 1.19
forge_version = 41.0.64
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public static Model create(ResourceLocation model, BlockModelRotation rotation,
int ordinal = rotation.ordinal();
int x = (ordinal / 4) * 90;
int y = (ordinal % 4) * 90;
return new Model(model, x, y, false, weight);
return new Model(model, x, y, uvLock, weight);
}
}
}

0 comments on commit 2472e15

Please sign in to comment.