Posted May 1, 20169 yr I added a new fluid with its block and bucket and everything is present in minecraft, but the fluid and block has the pink/black missing texture. This is how I register the fluid: https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/init/ModFluids.java Fluid classes https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/fluid/FluidUpgC.java https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/fluid/FluidUpgCActiveLava.java Block classes https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/block/BlockFluidUpgC.java https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/block/BlockFluidUpgCActiveLava.java Render class https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/java/com/nik7/upgcraft/proxy/ClientProxy.java
May 2, 20169 yr You have a missing texture, so look at the log for missing textures... Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 2, 20169 yr Author Textures are present in the project. There are no errors in the console about the fluid
May 2, 20169 yr Show a screenshot that shows the entire folder path structure to the texture. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
May 4, 20169 yr new ResourceLocation(Reference.MOD_ID, "blocks/ActiveLava_still") This refers to assets/upgcraft/blocks/ActiveLava_still.png . You have your textures as assets/upgcraft/textures/blocks/ActiveLava_still.png . See the textures subfolder? Add that to your ResourceLocations . Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
May 4, 20169 yr Author I changed the ResourceLocation in this way, but it didn't work. super("ActiveLava", new ResourceLocation(Reference.MOD_ID, "textures/blocks/ActiveLava_still"), new ResourceLocation(Reference.MOD_ID, "textures/blocks/ActiveLava_flow")); EDIT: I tried this to see if the ResourceLocation was correct, in this way the fluid in the bucket has a texture, but not the BlockFluid. @SubscribeEvent public void onRegisterTexture(TextureStitchEvent.Pre event){ event.getMap().registerSprite(new ResourceLocation(Reference.MOD_ID, "blocks/ActiveLava_still")); event.getMap().registerSprite(new ResourceLocation(Reference.MOD_ID, "blocks/ActiveLava_flow")); }
May 7, 20169 yr Author This is the json file: https://github.com/nik7007/UpgradeCraft/blob/1.9/src/main/resources/assets/upgcraft/blockstates/BlockActiveLava.json
May 7, 20169 yr In FluidUpgCActiveLava you set the fluid's name to "ActiveLava" , but in the blockstates file you use "activelava" . 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.
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.