Jump to content

Recommended Posts

Posted

Crash occurs at

at com.technorcery.items.SlabItem.onItemUse

which is Comparable<?> comparable1 = iblockstate.getValue(iproperty);

 

because my slab  Comparable returns null because I have no Variants.

 

Is there another way of doing this? Seems vanilla checks for stupid sub blocks which I never ever use.

 

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

SO I think I can just generate the default state for doubleSlab without using Comparator<?> and IProperty by simply doing this.doubleSlab.getDefaultState()

 

YEP WORKS

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

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.