Jump to content

Recommended Posts

Posted (edited)

So I've created a basic Block with a corresponding TileEntity class. The TileEntity implements IFluidHandler and IFluidTank and stores a FluidStack. So it already implements all needed methods (e.g. drain) and works perfectly!
I tried my mod out with some other, quality of life mods (in this case HWYLA) and HWYLA throws an error each tick when I look at the mentioned Block.
How can I let HWYLA know what kind of information should be shown in the tooltip? (I didn't find any wiki or tutorial explaining that, that's why I'm asking the question here)

TileEntityTimeGenerator.java BlockTimeGenerator.java

Edited by FreshmanTV
Posted
Just now, FreshmanTV said:

Found the error, I thought I already implemented the getCapabilities() method, but no
Now it works

HWYLA also takes in the color coded name of the liquid stored nice

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.