Jump to content

Changes to let GlassBlocks / GlassPanes Blocks connect to own Panes/Glass


Recommended Posts

Posted

I'd like to be able to make the default Glass Blocks / Glass Panes act as if the neighboring Block was one of their own types. In case of the Panes it means that the default Panes should connect to Blocks i tell it to connect to. Also, Glass Block should not render their side when you are looking through your own Block.

 

In my Mod i did it this way (replacing the class files as a coremod):

 

https://github.com/BStramke/NetherStuffs/tree/master/src/common/net/minecraft/src

 

its not perfect because i had to use addToSameBlockList(Block.glass.blockID); in my own Glass File, which should be done in the Glass Block (?), look at this file for further info:

 

https://github.com/BStramke/NetherStuffs/blob/master/src/common/NetherStuffs/Blocks/NetherSoulGlass.java

 

Check out my Mod, NetherStuffs (http://netherstuffs.wikispaces.com/)! Its goal is to enrich the Nether to more use than "Giant Lava source". (Currently Work in Progress)

Posted

Actually, this may just fix the issue with Panes, it wouldnt affect the Glass Blocks side Texture rendering. And it is doable with an AccessTransformer, but as i seen its not possible to remove final from methods yet (already posted that as issue).

Check out my Mod, NetherStuffs (http://netherstuffs.wikispaces.com/)! Its goal is to enrich the Nether to more use than "Giant Lava source". (Currently Work in Progress)

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.

×
×
  • Create New...

Important Information

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