Jump to content

[1.12.2] (Solved) Custom fluid is invisible


Recommended Posts

Posted (edited)

Hello.

I've tried to add my own liquid, but got some problems. It works fine, except one thing it is absolutely invisible. Also its bucket looks like empty bucket.

At the same time, for some unknown reasons it's correctly rendered in "Forestry" Bottler" machine(but not in its cans).

There aren't any errors in logs, and I'm sure that all path to its textures and blockstate json are correct.

I've already spent few day trying to solve it, but still haven't got any idea what is wrong and how it can be fixed.

 

Here are mod sources:

Fluid registration: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/ModGravestoneExtended.java#L58-L59

Block registration: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/core/GSBlock.java#L64-L65

Model registration: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/core/GSModels.java#L177-L181

 and https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/core/proxy/ClientProxy.java#L122-L129

Fluid: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/fluid/FluidToxicWater.java

Fluid block: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/java/nightkosh/gravestone_extended/fluid/block/BlockFluidToxicWater.java

Blockstate json file : https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/resources/assets/gravestone-extended/blockstates/gs_toxic_water.json

Fluid textures: https://github.com/NightKosh/Gravestone-mod-Extended/tree/master/src/main/resources/assets/gravestone-extended/textures/blocks/fluids

Bucket texture: https://github.com/NightKosh/Gravestone-mod-Extended/blob/master/src/main/resources/assets/gravestone-extended/textures/items/toxic_water_bucket.png

Edited by Kosh
change sources links
Posted

I've partially solved this problem - at the moment my fluid rendered, but with water texture. Its bucket still looks like empty bucket. May be someone have an idea what can be wrong with it?

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.