Butterflys can cause excessive chunkloading
clienthax opened this issue ยท 0 comments
It seems the butterfly rest ai checks can cause chunks to be loaded (There seems to be a check against this in canLand but the result seems to be ignored later).
forestry_1.12.2-5.8.2.422.jar
Chunks loaded 151 [-96 1038, -100 1041, -96 1038, -97 1039, -97 1038, -97 1039, -97 1038, -97 1039, -96 1038, -96 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1038, -97 1039, -97 1039, -100 1036, -100 1037, -100 1037, -97 1038, -97 1038, -97 1038, -99 1038, -99 1040, -97 1038, -97 1039, -97 1039, -98 1039, -99 1040, -99 1038, -98 1038, -99 1039, -99 1039, -96 1038, -97 1038, -97 1038, -100 1039, -100 1038, -97 1039, -98 1039, -99 1038, -98 1037, -99 1039, -98 1042, -100 1038, -97 1038, -100 1037, -97 1038, -96 1038, -97 1037, -96 1038, -100 1038, -98 1035, -100 1035, -99 1035, -100 1039, -101 1040, -98 1035, -100 1040, -99 1038, -100 1037, -100 1036, -100 1036, -98 1040, -98 1041, -98 1039, -100 1036, -97 1038, -100 1040, -100 1038, -99 1040, -98 1037, -99 1036, -100 1040, -99 1035, -99 1035, 2900 2939, -98 1038, -97 1038, -97 1039, -100 1036, -99 1037, -97 1038, -100 1037, -97 1038, -100 1040, -100 1040, -97 1040, -99 1040, -97 1038, -1886 1002, -98 1039, -97 1039, -97 1040, -98 1039, -97 1038, -1886 1002, -97 1038, -98 1038, -98 1036, -1885 1002, -99 1037, -98 1038, -98 1038, -98 1039, -98 1041, -97 1041, -98 1042, -98 1038, -97 1038, 205 3406, 204 3405, 205 3405, -97 1038, -97 1038, -96 1037, -96 1038, -97 1038, -96 1036, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -96 1035, -95 1038, -96 1034, -95 1038, -96 1035, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038, -95 1038]
at org.spongepowered.common.util.SpongeHooks.logStack(SpongeHooks.java:107) [SpongeHooks.class:1.12.2-2838-7.2.2-RC0]
at org.spongepowered.common.util.SpongeHooks.logChunkLoad(SpongeHooks.java:206) [SpongeHooks.class:1.12.2-2838-7.2.2-RC0]
at net.minecraft.world.chunk.Chunk.handler$zmb000$impl$UpdateNeighborsOnLoad(Chunk.java:3551) [axw.class:?]
at net.minecraft.world.chunk.Chunk.onLoad(Chunk.java:863) [axw.class:?]
at net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:109) [ChunkIOProvider.class:?]
at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:94) [ChunkIOExecutor.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:118) [on.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:89) [on.class:?]
at net.minecraft.world.gen.ChunkProviderServer.redirect$zme000$impl$ProvideChunkForced(ChunkProviderServer.java:1642) [on.class:?]
at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:135) [on.class:?]
at net.minecraft.world.World.getChunk(World.java:310) [amu.class:?]
at net.minecraft.world.World.getChunk(World.java:305) [amu.class:?]
at net.minecraft.world.WorldServer.getBlockState(WorldServer.java:5062) [oo.class:?]
at net.minecraft.world.World.isAirBlock(World.java:230) [amu.class:?]
at forestry.lepidopterology.entities.AIButterflyRest.shouldExecute(AIButterflyRest.java:49) [AIButterflyRest.class:?]
at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(SourceFile:94) [xf.class:?]
at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:763) [vq.class:?]
at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2359) [vp.class:?]
at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:577) [vq.class:?]
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2179) [vp.class:?]
at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:295) [vq.class:?]
at forestry.lepidopterology.entities.EntityButterfly.onUpdate(EntityButterfly.java:457) [EntityButterfly.class:?]
at org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:167) [!!!!!!spongeforge-1.12.2-2838-7.2.2-RC0--haxy-raytrace3.jar:1.12.2-2838-7.2.2-RC0]
at net.minecraft.world.WorldServer.redirect$zlk000$onCallEntityUpdate(WorldServer.java:4738) [oo.class:?]
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1996) [amu.class:?]
at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:832) [oo.class:?]
at net.minecraft.world.World.updateEntity(World.java:1958) [amu.class:?]
at net.minecraft.world.World.updateEntities(World.java:1762) [amu.class:?]
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:3928) [oo.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]