Double frames #6

Merged
Adrien1106 merged 9 commits from dev into master 2024-03-02 02:02:47 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 9c6e436fe3 - Show all commits

View File

@ -8,7 +8,7 @@ yarn_mappings=1.20.4+build.3
loader_version=0.15.6 loader_version=0.15.6
# Mod Properties # Mod Properties
mod_version = 1.2 mod_version = 1.3
maven_group = fr.adrien1106 maven_group = fr.adrien1106
archives_base_name = ReFramed archives_base_name = ReFramed
mod_id = reframed mod_id = reframed

View File

@ -269,7 +269,7 @@ public class ReFramedBlock extends Block implements BlockEntityProvider {
if (self_theme.isSideInvisible(other_state, side)) return false; if (self_theme.isSideInvisible(other_state, side)) return false;
// Opaque is also simple as each model are rendered one by one // Opaque is also simple as each model are rendered one by one
if (self_theme.isOpaque()) { if (other_state.isOpaque()) {
// no cache section :( because it differs between each instance of the frame // no cache section :( because it differs between each instance of the frame
VoxelShape self_shape = self_block.getShape(self_state, theme_index).getFace(side); VoxelShape self_shape = self_block.getShape(self_state, theme_index).getFace(side);
if (self_shape.isEmpty()) return true; if (self_shape.isEmpty()) return true;