Jump to content

Recommended Posts

Posted

I apologize in advance, because I know this is going to be something completely stupid. I've researched this and there are various threads on similar issues of fluid blocks not rendering properly, but I've tried those solutions and none seem to work. The fluid behaviour is all fine, in terms of bucket use, etc. It's just that the blocks don't render - they're invisible.

Here is my code:

 

Blockstate json file:

 

  Reveal hidden contents

 

 

Fluid class:

 

  Reveal hidden contents

 

 

BlockFluid class:

 

  Reveal hidden contents

 

 

Client-side model registration: (done in pre-init stage)

 

  Reveal hidden contents

 

Posted

I'm not too sure what would cause this. Post your FML log (logs/fml-client-latest.log), it may tell us something.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

There wasn't anything conspicuous in the log, that I could see, but here it is:

 

 

  Reveal hidden contents

 

Posted

Forge will usually log errors for any missing/invalid models, but there's nothing in the log.

 

Are you sure you're registering your models in preInit? Using

ModelLoader

methods in init or later will result in your blocks/items rendering as the missing model and no errors being logged.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • 2 weeks later...
Posted

I'm definitely registering the models in preInit. It throws errors anywhere else. Am I correct in thinking the forge models use the still and flowing icons in the Fluid constructor for rendering? Or do I need to recheck any misspelling of names?

Posted
  On 8/9/2016 at 4:44 PM, BourgeoisArab said:

Am I correct in thinking the forge models use the still and flowing icons in the Fluid constructor for rendering? Or do I need to recheck any misspelling of names?

 

The

forge:fluid

model uses the textures you pass to the

Fluid

constructor, yes.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.