Posted February 11, 20196 yr How I can transfer energy from my generator to a pipe? I'm using FE energy. Gif with the issue As you can see in the gif the energy is 0 and idk why. Edited December 12, 20204 yr by tigres810 Forgot to add that text XD
February 11, 20196 yr We can’t help without code. The basic idea is get the tiles capability, check how much you can give and it can receive and transfer it that amount. 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)
February 11, 20196 yr Author Here is the update method: Update method in pipe there I do the stuff thats on the pipe script but it doesnt seem to be working. Edited February 11, 20196 yr by tigres810 Forgot to link the link whoops
February 12, 20196 yr I’m sorry, I can’t read that code it’s got too many (empty) if statements. Switch statements and for loops are a thing. Heres how I do it https://github.com/Cadiboo/WIPTech/blob/fb5883e9d76ef0361ec1ebbcb9c508611dd2ef6b/src/main/java/cadiboo/wiptech/capability/energy/IEnergyUserAdvanced.java#L52-L58 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)
February 12, 20196 yr Author No worries if u feel like u can check the github of the project here The only part of the code is working is the east face the other stuff I leave it blank cause if one face doesn't work the others neither. How you transfer energy from a generator to another thing? Edited February 12, 20196 yr by tigres810 some more details added
February 12, 20196 yr 51 minutes ago, tigres810 said: How you transfer energy from a generator to another thing? The code I gave you transfers energy from a storage to the storage of nearby tile. I use it for my wires and my generators and my entities 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.