-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forestry conflict. #16
Comments
I `recognized:
` I imagine apatite is trying to generate somewhere it can't and teletoro is getting the blockposition for the apatite cuz it's -negative something and boom tickity boom. Is there a way to stop appatite from generating in teletoro worlds in teletoro???!? this is wierd. |
I will look into it, thanks for letting me know. |
Yeah! no problem! :D I'm looking at the codez and I still don't know which end the problem be on. <3 |
This bug is caused by an assumption in Forestry code that requires the world height to be 72 blocks or greater. That being said, I don't think there is any reason to keep the world height nonstandard in the Teletory so I am going to change it to be more compatible. |
TeleToro 1.10.2-20.1 should be on curse now and should now be compatible with Forestry. Thanks again for taking the time to report this. |
Thanks, so awesome! :D 💃 |
I `recognized:
`
Line 78 to 84 in : ForestryMC/src/main/java/forestry/core/worldgen/WorldGenerator.java is blowing up... I disabled apatite generation in > forestry/common.cfg ' ore {
# Generates apatite ore blocks in the world. [default: true]
B:apatite=false' and it stopped killing the server.
I imagine apatite is trying to generate somewhere it can't and teletoro is getting the blockposition for the apatite cuz it's -negative something and boom tickity boom.
Is there a way to stop appatite from generating in teletoro worlds in teletoro???!? this is wierd.
I am crossposting a thing to forestry and teletoro issue tracker on github. Because I really don't know which is doing what. ForestryMC/ForestryMC#1679
teletoro-1.10.2-20
forestry_1.10.2-5.2.17.376
forge-1.10.2-12.18.3.2281
MC 1.10.2
What's happening! :
Looks like forestry is trying to spawn something in teletoro dim when a chunk is generated/chunkprovider (maybe because it's getting no or negative infos, probably needs some kind of nonzero thingy) is providing and it's blowing up on:
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source)
at forestry.core.worldgen.WorldGenerator.generateWorld(WorldGenerator.java:81)
at java.util.Random.nextInt(Unknown Source)
at forestry.core.worldgen.WorldGenerator.generateWorld(WorldGenerator.java:81)
I tried updating forge and java and downgrading, did not fix it. Either forestry or teletoro is trying to feed some chunk provider thingy a negative "-n" integer and it's not very happy because the random function doesn't like that stuff I don't know. The game blewed up when I added teletoro and can dimension with other mods OK so assuming it could be a problem with forestry spawning end bee things in dims with end stuff OR teletoro doesn't like the dimension/chunk/providing stuff and forestry is doing things teletoro doesn't expect.
I'm a VERY bad programmer otherwise I would maybe try and add a break point in one the the chunkprovidering things or whatever hooks into that and see why its giving java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source)
at forestry.core.worldgen.WorldGenerator.generateWorld(WorldGenerator.java:81)
evils.
Full error log follows:
BTW thx, hope u enjoy the euphoria of knowing and fixing this cuz I enjoyed thoroughly submitting the bug... I could not find configs to disable forestry from being evil in the teletoro dim, or for teletor to ignore forestry or chunk things that it probably doesn't need to do... (not a judgement, just an obvservation/statement that I did try and find some work around).
BTW mod is awesome! cheers
The text was updated successfully, but these errors were encountered: