Jump to content

Inheritance Issue


luisc99

Recommended Posts

Hey!

 

Recently I've been posting on here quite a bit, and I apologise for doing so, but I have run into a severe problem. I am creating a set of blocks that can render differently depending on NBT, and I want to add a version that is a fence/stair/pane, but java cannot extend BlockContainer and BlockFence/Stair/Pane at the same time. Other than copying the rendering code, which gives static access errors, is there any way to do this?

 

As a side note, in my ItemBlock class for metadata, is there a way to change the icon with NBT also?

 

Thanks in advance! Let me know if you need any code. I am in the process of cleaning it up ready for GitHub.

 

Luis  ;D

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.

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.