Hey, a guy I know experienced a crash with your mod, could you look into it?
https://cdn.discordapp.com/att…06-26_15.01.20-client.txt
Thanks.
Hey, a guy I know experienced a crash with your mod, could you look into it?
https://cdn.discordapp.com/att…06-26_15.01.20-client.txt
Thanks.
That's what I did too... The method names are pretty good at describing what they do, for example: chechHeatAcceptor and acceptUraniumPulse If you need more help, post your code and what problems you have/ what you've tried. Sometimes it's as simple as a missing ":" that breaks things (happened to me once)
Do you have a github or a place with your complete mod source code which I could inspect?
Just look at my thread (SM84CE's probable addon: Coaxium Mod), it has some probable code snippets for fuels
Without documentation this is hell for making reactor components, since I don't know Java well, all I'm doing is copy-pasting things
Not really, you might want to decompile the dev and/or api class files via an online decompiler; there are some comments that might help out. Most of the API, iirc, is interfaces that you implement in your classes, like IReactorComponent
Oh damn, could you throw in some examples for me, AKA code snippets of custom reactor fuels / vents
No, find properties at the bottom of the dropdown when you right click on the project (Properties should be at the very bottom of the menu)
The attached ZIP should detail the steps better
(NOTE: USE 7-ZIP TO EXTRACT, this was the only way I could make the file less than 1 MB
Thanks, now that I have it, is there an API documentation that I can check out anywhere?
If you want Nuclear fuels, add the dev jar as a dependency. Right click on the project folder, select properties (at the bottom of the drop down), find build path on the left side menu, select "add external JARS" then select your Dev jar.
https://i.gyazo.com/350cc9dfd75ec5ca4522cd0d828c916d.png
One of those?
Display MoreI would like to give some suggestions on contents.
For fuels: add thorium-232 and uranium-233, uranium-236, plutonium-239/241, plutonium-240,242, americium-242, curium-245 like the things in real-life reactors and in this picture (from this page)
For vents: I would be happy to see vents that can vent 4/8 heat, but adding a vent that can vent more than 20 heat/s will increase current records of high-outputting reactors.
For custom coolant liquids: add more coolant that is used in real-life, such as molten salt and liquid helium.
For coolant cells: add one that can vent a little heat by itself.
Thanks man, that's what I'm aiming for.
Display MoreFor nuclear fuels, I could help, I've made one with Chocohead basically giving me like 80% of the code
Also, see SM84CE's probable addon: Coaxium Mod for the code and stuff, if you are still confused, PM me or something...
(yeah, it's kinda self-advertising, but it coincides with what you need)
As for documentation, ther's comments in the API and dev JARS, if you open them with 7Zip, and if need be, using a decompiler to view the .class files?
Hey, do you have a discord account? It would be much quicker just DMing you.
Making an IC2 addon isn't substantially more different than making a normal Forge mod, you've just got either IC2's API or all of IC2 as a library to compile with (alongside Forge and Minecraft) too. All reactor components are marked using a single interface IReactorComponent on an Item subclass. How the implementation of that is done is what determines how the component reactors, as you might have seen from the threads on adding custom fuel rods.
Where would I learn how to use any of this? Is there like a page on the API like for example https://discord.js.org/#/docs/main/stable/general/welcome
or where do I learn how to make more complex stuff like reactor fuelds, recipes for IC2 machines etc.
EDIT:
Forgot to mention that yes, I have minimal Java skills and I don't plan on really getting into it as I just need a simple mod that could help me and my friends
Hey I'm interested in making an addon for IC2 which aims to expand reactors, kind of like the "Reactor Stuff" addon, just with more things, like more nuclear fuels, more types of heat vents and heat exchangers and even custom coolant liquids or coolant cells.
Where would I start? I'm pretty new, and haven't used the IC2 API, if there is one. I already made a basic addon for steel tools and items but I haven't released it anywhere, any help?
That looks like a bug in Extra Planets, it is trying to get the material of an IC2 machine whilst giving it the state of a liquid nitrogen fluid block.
How would I fix that
Hello, I was messing around in my reactor room when I found out that liquid nitrogen exists in ExtraPlanets, I found some of it in one of my chests, and moved to my reactor room because I have a habit of always submerging my reactors in water/coolant, etc. I poured some of it on the reactor itself just to see how it actually looks, and boom, minecraft not responding, crashed a sec later, tried to rejoin back in to my server, crashed again, and again.
Detailed error that I get: https://pastebin.com/raw/eKKYfQgK
You can use Ore Dictionary:
CodeDisplay More{ "type": "forge:ore_shaped", "pattern": [ "sS", ], "key": { "s": { "type": "forge:ore_dict", "ore": "plateSteel" }, "S": { "type": "forge:ore_dict", "ore": "ingotSteel" } ...
If you need a specific IC2 item, you can press F3+H in game and get an item and it's metadata. E.g., for Advanced Alloy it's "ic2:crafting" and 3, for Steel Casing it's "ic2:casing" and 5. You can add them to JSON recipe like this:
This defines a Carbon Plate.
Thanks for the reply, but I already got some help in a minecraft modding discord, the solution was very simple, yes.
Amazing, thanks.
If you're trying to run a jar rather than launch from a class you need to specify explicitly: java -jar Ic2ExpReactorPlanner.jar
Oh my, thanks, it works now.
Hey, I'm creating a very simple IC2 addon which is actually going to be my first mod, and it involves steel, I'm trying to include steel into a crafting recipe JSON but IC2 doesn't have something like "ic2:ingot_steel", it has "ic2:ingot" with a certain metadata, and I don't know how to utilize that in creating the recipe JSON, any help? Thanks.