fixed culling error and updated version to 1.3
This commit is contained in:
parent
53107d090b
commit
9c6e436fe3
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user