Jump to content

Recommended Posts

Posted

were using IItemRenderer and we decide what model to render based on ItemRenderType in renderItem function. Also got the ItemStack's instance, there is hasEffect function, what seems to deprecated. How do I make the enchancted effect work then?

  • 2 weeks later...
Posted

Look at the golden apple src.

 

ok guys this is the situation im in, my coder "wont" doesnt seem like he is trying at all to figure this out. i have little to no experience coding, im here trying to get answers so our mod can get a V1 release.  please have sympothy and answer this queston with some detail PLEASE. i dont know what golden apple src is, im assuming its a folder in minecraft but i just dont know. i dont have time to learn to code or i would, again PLEASE HELP

Posted
   
@SideOnly(Side.CLIENT)
    public boolean hasEffect(ItemStack par1ItemStack)
    {
        return true;
    }

I'm always happy to help others!

 

Java is not my main programming language but I have alot experience in PHP/HTML/JS/CSS3/C#/SQL

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.