Jump to content

Recommended Posts

Posted

Hello forge, I am new here and am trying to create a custom liquid just to see how it works. I have knowledge of Java and will not be asking you guys to teach me Java, don't worry.

 

Here is what I have in the main class:

 

  Reveal hidden contents

 

 

And here is my BasicFluidBlock class:

 

  Reveal hidden contents

 

 

I have looked at the wiki, and watching many tutorials(even though they are from 1.6.4/1.6.2). The liquid has no texture, and there is an error while loading:

 

  Reveal hidden contents

 

 

I have tried setting the texture in the blocks and items folder, both don't work.

 

Thanks,

HeyAwesomePeople

  • 4 weeks later...
Posted

I'm pretty sure that you need to replace registerIcons with registerBlockIcons, it used to be what you did, but in 1.7.2, it's registerBlockIcons. Hope this helps! :)

Currently developing the More Metals Mod.

Posted
  On 6/11/2014 at 3:50 AM, Alix_The_Alicorn said:

Try adding @Override annotations to all your methods that should be overriding methods in the superclass, you don't need this; but it won't hurt and it will give your errors when method names/args are wrong, helping you out.

 

Indeed, as I've tried to get across many times: if you think you are overriding a method - you NEED to put an @override annotation for sanity's sake.

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.