Posted January 6, 20178 yr Hi, I'm wondering how to display in the GUI of my solar panel that it currently generates energy using the Forge Energy system, since my mod will support multiply energy APIs. I'm basically asking this because I don't want to confuse the user with different names from different mods. Like all machines which generate RF (redstone flux) display RF/t or something like that in the Gui, so that everyone knows that this machine is compatible with the machine from this mod cause it generates both the same energy. Thx in advance. Bektor Developer of Primeval Forest.
January 6, 20178 yr Probably just RF because a lot of RF mods have adopted the Forge Energy capability. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
January 6, 20178 yr The ratio of Forge Energy to RF to Tesla is 1:1:1 so you can use any name you like for the number. One thing that several mods do is have a client-side config setting which determines which unit is used to display energy. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
January 6, 20178 yr Author I haven't seen one mod yet with such a config option. Thought I've got only energysynergy and enderio and teslacoils installed. But besides that, the problem would still be, if you for example give it the name Tesla or EU or RF while using Forge Energy, I don't think you would be able to connect it to those devices from those mods which use Tesla, EU or RF and power those devices or let your devices powered by them. Developer of Primeval Forest.
January 6, 20178 yr How does a text display name in a GUI affect getCapability()? 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.
January 6, 20178 yr Author How does a text display name in a GUI affect getCapability()? It does not effect getCapability(). But think about it, you use ForgeEnergy and give it the name EU. I don't think your machines will now be compatible with machines using real EU from ic2, while the user thinks, both is using EU, so it is compatible. Developer of Primeval Forest.
January 7, 20178 yr Well if you were to use EU, you'd have to modify the FE value to match the FE to EU ratio. Both Mekanism and AE2 use their own internal energy systems and have a way of configuring what unit the energy is displayed to the user as. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
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.