Jump to content

[1.10.2] Custom Fluid Crash


Villfuk02

Recommended Posts

I made custom fluid, and every time i run the game, it just crashes and i don't know what am i doing wrong.

 

ModFluids: http://pastebin.com/Vd16fx4E

FluidRenderRegister: http://pastebin.com/JKP7MxQj

BlockEssenceGray: http://pastebin.com/urfukwhJ

FluidEssenceGray: http://pastebin.com/cC2MCw1q

PreInit and Init from main mod class: http://pastebin.com/4b263Gnz

ClientProxy: http://pastebin.com/pDu1M3iJ

Crash log: http://pastebin.com/iN98RevF

 

Thanks for any response

Link to comment
Share on other sites

I made custom fluid, and every time i run the game, it just crashes and i don't know what am i doing wrong.

 

ModFluids: http://pastebin.com/Vd16fx4E

FluidRenderRegister: http://pastebin.com/JKP7MxQj

BlockEssenceGray: http://pastebin.com/urfukwhJ

FluidEssenceGray: http://pastebin.com/cC2MCw1q

PreInit and Init from main mod class: http://pastebin.com/4b263Gnz

ClientProxy: http://pastebin.com/pDu1M3iJ

Crash log: http://pastebin.com/iN98RevF

 

Thanks for any response

Does your fluid have a ItemBlock for it? I don't think so you are trying to add a renderer for a ItemBlock that doesn't exist. Don't call registerRenderer for fluids because that is for items.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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.