Posted May 17, 20169 yr Hello. I have two fluids: both of which are almost identical. However, the "seafoam" variant of my fluid does not render it's model. Here is the related code: Where the fluids are initialized: https://github.com/Alex-the-666/archipelago/blob/master/src/main/java/com/github/alexthe666/archipelago/core/ModFluids.java Block Tropical Water: https://github.com/Alex-the-666/archipelago/blob/master/src/main/java/com/github/alexthe666/archipelago/block/BlockTropicalWater.java Where the textures are located: https://github.com/Alex-the-666/archipelago/tree/master/src/main/resources/assets/archipelago/textures/blocks Where the blockstates are: https://github.com/Alex-the-666/archipelago/tree/master/src/main/resources/assets/archipelago/blockstates
May 17, 20169 yr In ClientProxy#renderFluids , you only register the model for ModFluids.tropical_water and not ModFluids.tropical_water_seafoam . I suggest refactoring your fluid model registration code into a method that takes a fluid Block as an argument and registers a model for it (like this one from my mod). Call this method for each of your fluid Block s. GameRegistry.registerBlock / registerItem are deprecated, use GameRegistry.register . You'll need to create and register the ItemBlock s for your Block s yourself. You can see my mod's fluid registration code here. This uses these methods to register the Block s. You should be using ModelLoader.setCustomModelResourceLocation / setCustomMeshDefinition in preInit instead of ItemModelMesher#register in init. 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.
May 17, 20169 yr Author Thanks for pointing it out, cannot believe i looked over something that simple.
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.