Jump to content

[Animated Textures] [Custom Liquid] getFlowDirection : nullPointer


Recommended Posts

Posted

Hi there i am OwnAgePau and i am working on my mod called the Soul Forest mod.

 

I have been making some nice custom blocks even managed to easily make a custom fire properly working, after that i wanted to make a custom liquid although this seemed as easy as fire but yet i can't get it to work. I have made 3 new classes one is SoulFluid which is basically BlockFluid but then for my custom fluid, i thought to have to add this if i wanted to pick it up with my custom bucket. Also i made a custom stationary and custom still water class. But somehow it manages to get into BlockFluid into the getFlowDirection which SoulFluid also uses, but it throws a nullPointer Exception. I just hoped you guys know what to do with the custom liquids.

 

So here are my files :

 

SoulFluid

 

  Reveal hidden contents

 

 

SoulWaterFlowing

 

  Reveal hidden contents

 

 

SoulWaterStationary

 

  Reveal hidden contents

 

 

I also made a custom bucket and a filled bucket but i haven't gotten to test those yet because i can not yet place my water. Thanks for your time and effort!

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.