Posted October 7, 20186 yr I want to render connecting pipes like in Thermal Dynamics, Industrial Craft, Mekanism etc., but it's hard. How can I do it? Edited October 8, 20186 yr by TSEngineer
October 7, 20186 yr Afaik all of the mods you've listed use multipart models for their pipes, not TESRs.
October 8, 20186 yr Right, TESR's aren't necessary at all for pipe rendering (and will hurt your client-side performance if you have more than a few). I'd also recommend taking a look at TheGreyGhost's examples here: https://github.com/TheGreyGhost/MinecraftByExample - in particular MBE05 covers dynamically rendering connections based on a block's neighbours.
October 9, 20186 yr TESRs are a lot worse for performance (they run every frame) than multipart models (they get computed every time a block update close to them happens) AND with TESRs you have to handle lighting etc. While with multipart models lighting gets handled automatically. You can also use a combination of multipart models and TESRs or Forge's Animation API to add other textures & effects. You might want to take a look at my mod which renders my energy cables with multipart models and renders electricity flowing with a TESR About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
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.