Jump to content

[SOLVED] [1.7.10] Transparent block Lighting issue


Recommended Posts

I am trying to make a laser block... it is semi-transparent, and doesn't fill in the 1 block bounding box.

Somehow the block is being shaded, even though i set the opacity.


This is how it looks:




Here's my code:

protected TileLaser(Material material) {
	float fac = (0.9F)/2;
	this.setBlockBounds(0.0F, fac, fac, 1.0F, 1-fac, 1-fac);
	this.useNeighborBrightness = true;

public boolean isOpaqueCube() {
	return false;

public int getRenderBlockPass(){
	return 1;


thanks in advance from germany

Link to comment
Share on other sites

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.

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.


  • Create New...

Important Information

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