fixed culling error and updated version to 1.3

This commit is contained in:
Adrien1106 2024-03-02 01:29:08 +01:00
parent 53107d090b
commit 9c6e436fe3
2 changed files with 2 additions and 2 deletions

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;