Skip to content

Instantly share code, notes, and snippets.

@AlexIIL
Created March 8, 2016 19:27
Show Gist options
  • Save AlexIIL/52d782640b5d0a07e959 to your computer and use it in GitHub Desktop.
Save AlexIIL/52d782640b5d0a07e959 to your computer and use it in GitHub Desktop.
Oil migration problems
I'm having some problems migrating oil where my own block is being replaced by a dummy block, despite the remapping working.
I'm assuming that I am doing something stupid, but here is the remapping code: https://github.com/BuildCraft/BuildCraft/blob/7.2.x/common/buildcraft/BuildCraftFactory.java#L365-L400
and then when I load the world I find that my own block is no longer registered with forge (tested here https://github.com/BuildCraft/BuildCraft/blob/7.2.x/common/buildcraft/BuildCraftFactory.java#L365-L400 )
the fix *kinda* works (the oil renders) but it crashes quite quickly afterwards because the block is not registered
I haven't been able to make a test mod yet, but hopefulyl someone might be able to spot a stupid mistake I am doing?
fml log: https://gist.githubusercontent.com/AlexIIL/97e7343fd381460e1ccb/raw/caf230ddfa54edb51a08920a19c159470981a221/gistfile1.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment