Jump to content

Recommended Posts

Posted (edited)

I've had this issue for a while. I found a similar post for 1.9.4 and tried the fix but it didnt work.

The problem is self explanatory. I can see the block in my hand and in an inventory(ItemBlock is working) but in world I cant. 

I have other blocks that render perfectly fine, the only difference between them is that this one, has blockstates(Which work fine I think)

 

P.S, a thing I noticed, was that when I was looking at the blocks, where it looks like the registry name should be on the bottom right above the blockstate, it said null. Is that part of this same problem?

 

BlockFrame

RegisterBlocks

BlockRenderRegister

 

2017-04-02_13.44.32.png2017-04-02_13.44.37.png

Edited by Solace7
Posted

public boolean shouldSideBeRendered(IBlockState state, IBlockAccess blockAccess, BlockPos pos, EnumFacing side)

{

if (blockAccess.getBlockState(pos).getBlock() == this) return false;

return super.shouldSideBeRendered(state, blockAccess, pos, side);

}

...
If this == this, don't render?

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

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.