Jump to content

How to you add Liquids into Forge 1.8.9?


KingOfMiners

Recommended Posts

There is a FluidRegistery wich should be self explaining enough to help you further. You need to create a new Fluid instance and register that through the FluidRegistery during PreInitialization.

Take a look at the vanilla water and lava classes for an example.

Projects:

Discontinued:

- N2ConfigAPI

- Meachanical Crafting Table

 

Latest:

- CollectionUtils

 

Coöperations:

- InGameConfigManager

Link to comment
Share on other sites

You can easily find choonster's stab into the 1.8 fluid process on github.

https://github.com/Choonster/TestMod3

 

[url=https://github.com/Choonster/TestMod3/blob/b21d2b20d006af0741ec94823f3675af44f1d068/src/main/java/com/choonster/testmod3/init/ModFluids.java]ModFluids[/url]

(fluid initialisation) and

[url=https://github.com/Choonster/TestMod3/blob/b21d2b20d006af0741ec94823f3675af44f1d068/src/main/java/com/choonster/testmod3/client/model/ModModelManager.java#L45-L64]ModModelManager[/url]

(fluid model registration) are the classes you'll want to look at. This is the blockstates file for my fluids.

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.

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.