Compatibility

From Galacticraft Wiki
Revision as of 16:49, 12 December 2014 by Radfast (talk | contribs) (→‎DragonAPI)
Jump to: navigation, search

This information is for Galacticraft 3 for version 3.0.6.232 (if you are using an older Beta version of Galacticraft 3, please update). First off, you really should update to the latest version, currently 3.0.6.246 - it fixes several compatibility issues.

For Galacticraft 2 compatibility information, see forum thread

Galacticraft 3

Galacticraft 3 is a dual version for both Minecraft 1.7.2 and Minecraft 1.7.10. (For 1.7.2 use Forge version 1147, for 1.7.10 use Forge version 1187 or later is recommended. If playing on a server make sure your Forge version matches the server.)

This topic will cover any known incompatibilities and what you can do about them. This topic will be updated when new issues come to light.

As a general rule, you should be using the latest version of Galacticraft. Some people don't seem to understand what latest version means. It means the one in red at the top of the list on the downloads page.

If using Galacticraft with other mods or in modpacks, it is also strongly recommended to read Config#World_Generation.

Fixable issues

Buildcraft (some versions)

Buildcraft somewhat unhelpfully changed the way it interfaces with other mods, after its original Minecraft 1.7.10 version was released. Because of that, the "stable" release of Galacticraft 3, version 3.0.6.232, will now crash with the latest Buildcraft versions. The crash looks like this:

java.lang.NoClassDefFoundError: buildcraft/api/power/PowerHandler

You can fix this by updating Galacticraft to the latest version, 3.0.6.240 or later.

Crashes on the Moon and how to fix (CofHCore 'Flat Bedrock' feature)

The CofHCore 'Flat Bedrock' feature (which can be enabled in CofH configs) has a bug and it will sometimes cause crashes during Galacticraft's world generation on the Moon. The solution is in the CofHWorld.cfg file set the number of layers of bedrock to 1, that should be ok.

Note: if playing on a server, this is a server-only fix.

DragonAPI

DragonAPI is, once again, causing issues with Galacticraft 3. In Galacticraft 3.0.6.235 and later it will be detected during startup and you will be referred to this page. In earlier versions, the game will crash when you take a rocket, with this in the crash report:

java.lang.NoSuchMethodError: micdoodle8.mods.galacticraft.api.prefab.world.gen.WorldProviderSpace.getCelestialBody

It's because DragonAPI includes an out-of-date version of the Galacticraft API (and loads it first - it really should not be doing that).

If you need to have DragonAPI in your mods list, then you can fix this by manually editing the DragonAPI.jar.

Steps:

  • Find the DragonAPI 1.7.10 V2.jar file in your .minecraft/mods folder
  • Open the .jar using any program which can create a Zip file (for example, 7Zip is free and open source)
  • Delete the folder micdoodle8

Pro Tip: depending on your computer and which Zip program you use, you might need to rename the DragonAPI 1.7.10 V2.jar file to DragonAPI 1.7.10 V2.zip before doing this, and afterwards change the name back again to DragonAPI 1.7.10 V2.jar.

It's OK to overwrite the original DragonAPI 1.7.10 V2.jar, you won't be needing it again!


Note: if playing on a server, it will need to be fixed on both client and server.

Any other mod with 'Fake Player' detection

A few mods detect and block actions by 'fake players'. Fake player detection can get messed up by Galacticraft (because the regular player is replaced by a Galacticraft player with extra inventory slots, oxygen gear, etc) so that the other mod might block action by real players as well. Some mods - examples: Extra Utilities, Blood Magic - have added extra code for full Galacticraft compatibility, which we appreciate. (If you are having problems with those two, check you are using really latest versions.)

We are not aware of any other mods with current issues, but if it happens, as a workaround, most other mods should work ok with Galacticraft if you have the PlayerAPI mod installed - so just place PlayerAPI-1.7.10-1.0.jar in your /mods folder.

Note: if playing on a server, PlayerAPI will need to be installed on both client and server.

Any other mods with energy and pipe connections

As of version 3.0.6.240, Galacticraft 3 has full power compatibility with:

  • Mekanism
  • IndustrialCraft 2
  • BuildCraft
  • Thermal Expansion​
  • EnderIO
  • any mod using RF power

That should also give compatibility with most / all mods. (Except GregTech, latest versions of GregTech have deliberately chosen to break power compatibility with other mods.) Any power compatibility issues, please let the developers know via the Github issues list.

Fluid pipes from all mods should work with Galacticraft liquids. That does not mean you could use fluid containers from other mods in GC machines, some of the GC machines will take canisters only.

If you have wire or pipe connection issues with any of these mods (and it's not already listed in the Known Issues, link above) please do let us know.

Code in other mods which looks for 'air' blocks

A few mods are coded to look only for vanilla air blocks when they are looking for space for something (for example, looking if there is enough room to build a multiblock structure). That is outdated coding. It will cause those mods to fail in some places with Galacticraft - for example in a sealed space base. The other mods should update their code to use Block.isAir() or World.isAirBlock() for the air checks. The Bukkit teleportation plugin, Essentials, has the same problem - it won't let you teleport into a sealed space.

If you have the Factorization mod installed, it has a nice feature called [AirInspector] which checks the code of all mods and tells you - in the logs - if a mod has this air block problem. It's then a question of showing those logs to the other mod authors and asking them to fix it.

Sealing blocks from other mods

For sealers to work correctly, you might have to set the glass blocks from other mods - and any other special blocks which must be sealed on all 6 sides in Galacticraft core config. Read Sealable Block IDs for full instructions.

Glass is a special block because you can't place a torch on it. So think about anything else which you can't place a torch on...

You do not need to set regular solid blocks as sealable (e.g. ore blocks or machine blocks), Galacticraft already knows those are sealable. Galacticraft also understands about blocks which are solid on one side only, for example Facades in Forge Microblocks.

You cannot set leaves, or any block made out of cloth, gravel or sponge materials, as sealable - air goes through these blocks. This includes vanilla wool blocks and mod blocks made out of wool or cotton etc.

Note: if playing on a server, this is a server-only setting.

Ores from other mods not generating on planets

This is normal, Galacticraft 3 blocks other mods from generating ores on the Moon and other planets.

There is a config setting which can enable the oregen from other mods, but it has problems:

  • other mods will then generate all their ores, treating Moon Rock and Mars Stone as if they were plain stone (Galacticraft 3.0.6.230 and later) which makes for a bit of a mess underground
  • other mods will also try to generate their other features and structures on the Moon, for example Natura clouds and flowers, IC2 rubber trees, Tinker's Construct slime islands, and many others; these are usually unwanted
  • there can be 'Already Decorating!' crashes which are caused by rare bugs in the other mods' code (maybe they weren't expecting to be generating on the Moon?)

So since version 3.0.4 Galacticraft instead offers a feature in the config where Galacticraft will add other mods ores at the same time when it is generating Galacticraft's own ores on the Moon and Mars. You have to specify the block IDs of the ores to generate, and how rare it is etc. Full instructions on this are here.

(Alternatively, since version 3.0.6.239 you can use CoFHCore custom oregen for finer control over this process, link here.)

Note: if playing on a server, this is a server-only setting.

Notes on some specific mods

Smart Moving

All recent GC3 builds (since 3.0.3.201) are fully compatible with Smart Moving and other mods which use the Player API.

Mariculture

The recipe clash between GC canisters and Mariculture vats can be fixed by a setting in Galacticraft core config which allows an alternative recipe for canisters.

Note also that Mariculture disables other mods' smelting recipes for aluminum ore, so you won't be able to smelt Galacticraft Aluminum Ore at all, if Mariculture is installed.

GregTech

In recent GregTech builds the power systems are not compatible with IC2 or another mod, including Galacticraft - see above.

The other mods oregen on planets IDs config setting (link) will not work to generate GregTech ores on Galacticraft planets. It's because GregTech uses a non-standard, extra-complicated way of identifying ore blocks in the world. Fortunately there is a third-party plugin for GregTech, GalactiGreg by BloodAsp, which can fix that for you. People also give some tips there on Galacticraft sealer config settings when playing with GregTech.

Tinker's Construct

Full compatibility. Remember to set Clear Glass as a Sealable Block ID in Galacticraft core config, if you want to build space bases out of Clear Glass.

OreSpawn

This is a mod which, with all its sub-mods (eg. Girlfriends), adds a huge number of new mobs to the game. This can cause Entity ID conflicts with Galacticraft - the game is literally close to running out of entity IDs. For now the solution is to change entity ID settings in Galacticraft's core.conf and mars.conf. Normally it's only the mob entity IDs which will need to be changed - so the four kinds of Evolved Mobs, and Slimeling and Sludgeling. Change them to higher numbers (between 175 and 255) until you find ones which work. The developers are looking at making an automatic system for this in the next release, but for now you have to edit the config manually.

Non-fixable issues

These will need to be fixed by the authors of the other mods.

Animated Player and More Player Models

We cannot offer compatibility with these two mods. They use a different approach which is not really compatible with other mods. If you can persuade their authors to include compatibility with the Player API and Render Player API then compatibility will be possible.

Also, More Player Models has been reported to be crashing with Galacticraft here

Custom NPCs

There is a reported clash with Custom NPCs 'Factions' and 'Quests' buttons in the player inventory. Link

Twilight Forest (small issue)

A rare issue with the Twilight Forest Scepter item has been reported, causing blocks to be drawn darker than normal in Space Station dimensions. Link

Optifine (small issue)

There are a few minor rendering issues with Optifine, for example in the mini rocket graphic seen in the HUD on the left when your rocket is in flight, normally the player's face should be seen inside the rocket but the face is missing if Optifine is installed.