The Twilight Forest

The Twilight Forest

143M Downloads

Fire onChunkPopulate Forge Event

Zetal911 opened this issue ยท 0 comments

commented

For modding compatibility, this one line change would be very useful indeed. ๐Ÿ‘

net.minecraftforge.event.ForgeEventFactory.onChunkPopulate(true, this, this.world, this.rand, chunkX, chunkZ, false);

This can go on line https://github.com/TeamTwilight/twilightforest/blob/1.12.x/src/main/java/twilightforest/world/ChunkGeneratorTwilightForest.java#L815

... 815, in the ChunkGeneratorTwilightForest class.

Simply put, this will let Forge (and other mods) know when a TF chunk is populated. Doesn't seem to do anything else, from what I can tell.