Jump to content

1.14.4 - When placing a solid block next to my model it turns black/dark


Recommended Posts

Posted (edited)

Maybe try overriding the getAmbientOcclusionLightValue method? You can change the float value from 0F to 1.0F, with 0 being a more concentrated shadow and 1.0 being a more spread out shadow. If that doesn't work, maybe try setting the VoxelShape to empty

@Override
public float getAmbientOcclusionLightValue(BlockState p_220080_1_, IBlockReader p_220080_2_, BlockPos p_220080_3_) {
    return 1.0F; // Fixes shadow
}
Edited by Techno
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.