AlmuraDev / SGCraft

Stargates mod for Minecraft
https://www.almuramc.com/sgcraft/SGCraft.html
MIT License
31 stars 29 forks source link

Improvements to Stargate world generation #140

Closed dallenwilson closed 4 years ago

dallenwilson commented 4 years ago

Various changes and improvements to the world generation of stargates.

Original pull request, changes I made just to get things to compile and run without actually modifying code yet:

The following was done without realizing it would be automatically added to the existing pull request:

dallenwilson commented 4 years ago

Edited PR title and initial comment, as I did not realize all the commits to the master branch on my end were getting added to this PR automagically. Lesson learned I suppose.

Dockter commented 4 years ago

I look forward to testing this....

dallenwilson commented 4 years ago

Let me know what you find, bug-wise. I've never worked with Java before, or tried my hand at minecraft modding. Bound to be something I missed. Lots of detail gets echo'd to the console if debugStructures is true, and most of my testing was done with the seed 'BOOKZED' and a large list of journeymap waypoints.

I did find a single case of an incomplete generation on a jungle temple, but I chalked that up to the same sort of weird half-done generation encountered in vanilla sometimes, and stopped worrying about it. It was utterly unreproducible outside that specific temple.

Dockter commented 4 years ago

Found one issue thus far that has prevented me from testing this.

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Thermal Foundation (thermalfoundation) Caused by: java.lang.NoSuchMethodError: net.minecraft.block.Block.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/block/Block;

Did you push the MCP version too far ahead?

Dockter commented 4 years ago

Likely because you changed some of the dependencies to deob versions, which is likely giving me my indev run in-ide mode.

Dockter commented 4 years ago

Also, can't push the mcp/forge build ahead of SpongeForge or you break compatibility with it, which is important.

dallenwilson commented 4 years ago

Gradle deps were changed to deobf versions because gradlew build wouldn't compile at all as it was, ran in to exactly the problems as described in #134 and the deobf versions seemed to fix things. I did bump the MCP and forge versions to the latest available, I wasn't aware SpongeForge was tied in to them. I can cheerfully revert it back.

dallenwilson commented 4 years ago

I managed to get gradlew to successfully build a fresh clone of your repo without touching anything in gradle.properties. BUILDING.txt was missing a step, and I had to downgrade my version of openjdk from 8.242 to 8.232. I'll close this for now and try again later.

Dockter commented 4 years ago

I'm re-reviewing this code; I like the main commit you did to change generation.