progwml6 / compactsolars Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cpw/compactsolars
Compact Solar Arrays for Minecraft and IndustrialCraft 2
This project forked from cpw/compactsolars
Compact Solar Arrays for Minecraft and IndustrialCraft 2
I've been noticing a bug where if i leave the dimension where i have high voltage solar panels and come back the glass fiber cables aren't connecting to them. If I break and replace them, the cables connect again. I have the area chunkloaded with an ic2 chunk loader. Images
I remember, once upon a time, being able to attach solar arrays to Nano Helmets and Quantum Helmets. Could that be made possible again?
This was never the case in earlier versions of the mod and from ItemSolarHat.java:153 it doesn't look like this is intended either.
I wrote this CraftTweaker2 script to make the regular panels unavailable while keeping the solar hats
// remove compact solar blocks and their recipes
recipes.remove(<compactsolars:compact_solar_block:*>);
//recipes.remove(<compactsolars:compact_solar_block:1>);
//recipes.remove(<compactsolars:compact_solar_block>);
// cheaper lv1 solar helm (wood helmet)
recipes.remove(<ic2:solar_helmet>);
recipes.addShaped(<ic2:solar_helmet>, [[<ore:plankWood>, <ore:plankWood>, <ore:plankWood>],[<ore:plankWood>, <ic2:te:8>, <ore:plankWood>], [<ic2:cable>.withTag({type: 0 as byte, insulation: 1 as byte}).onlyWithTag({type: 0 as byte, insulation: 1 as byte}), <ic2:cable>.withTag({type: 0 as byte, insulation: 1 as byte}).onlyWithTag({type: 0 as byte, insulation: 1 as byte}), <ic2:cable>.withTag({type: 0 as byte, insulation: 1 as byte}).onlyWithTag({type: 0 as byte, insulation: 1 as byte})]]);
// change solar hat recipes to compound on eachother.
recipes.remove(<compactsolars:solar_hat_low_voltage>);
recipes.addShaped(<compactsolars:solar_hat_low_voltage>, [[<ic2:solar_helmet>, <ic2:solar_helmet>, <ic2:solar_helmet>],[<ic2:solar_helmet>, <ic2:te:77>, <ic2:solar_helmet>], [<ic2:solar_helmet>, <ic2:solar_helmet>, <ic2:solar_helmet>]]);
recipes.remove(<compactsolars:solar_hat_medium_voltage>);
recipes.addShaped(<compactsolars:solar_hat_medium_voltage>, [[<compactsolars:solar_hat_low_voltage>, <compactsolars:solar_hat_low_voltage>, <compactsolars:solar_hat_low_voltage>],[<compactsolars:solar_hat_low_voltage>, <ic2:te:78>, <compactsolars:solar_hat_low_voltage>], [<compactsolars:solar_hat_low_voltage>, <compactsolars:solar_hat_low_voltage>, <compactsolars:solar_hat_low_voltage>]]);
recipes.remove(<compactsolars:solar_hat_high_voltage>);
recipes.addShaped(<compactsolars:solar_hat_high_voltage>, [[<compactsolars:solar_hat_medium_voltage>, <compactsolars:solar_hat_medium_voltage>, <compactsolars:solar_hat_medium_voltage>],[<compactsolars:solar_hat_medium_voltage>, <ic2:te:79>, <compactsolars:solar_hat_medium_voltage>], [<compactsolars:solar_hat_medium_voltage>, <compactsolars:solar_hat_medium_voltage>, <compactsolars:solar_hat_medium_voltage>]]);
While the ic2 recipes are replaced correctly, the old compactsolars recipes remain. This may be because generateRecipes()
and generateHatRecipes()
are being called in postInit()
instead of init()
. I would test this change myself, but player.to is down so gradle can't get the IC2 API.
Any of the blocks don't support the IC2 wrenches unfortunately.
Hi, I'm playing IC2 in 1.8.9 in order to play with BuildCraft.
I'd like to use the compactsolars addon but I can't see any release version of 1.8.9, so I've modified the code to make it work in dedicated server. (KKyang@777a645)
public static void buildHats()
{
for (CompactSolarType typ : values())
{
typ.buildHat();
if(MinecraftServer.getServer().isDedicatedServer())
return;
typ.buildItemRenders();
}
}
After the modification, the java.io.NoSuchMethodError
disappeared. However, I can only see all the helmets in single player mode. In the dedicated server, I only see LV solar helmet.
Is the other helmets being disabled in multiplayer or did I just block FML from adding helmets by adding a dedicated server check? Thanks!
I was extremely excited to find any update to this mod since 1.10 came onto the modding scene but I am unfortunately not savvy with coding. I would love to either have some simple guidance for creating the jar file myself or perhaps a download link for a working jar. Any help is greatly appreciated.
Thanks!
can the source under 1.12.2?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.