Create: The Factory Must Grow

Create: The Factory Must Grow

4M Downloads

Blast furnace creates thousands of entites in lazy chunks

ZvandeKamp opened this issue ยท 1 comments

commented

For whatever reason a valid blast furnace turns into an entity every 0,5 seconds or so

proof (you can see the blue lines):

2025-09-16.12-51-23.mp4

Now if that chunks is lazly loaded / updated from neighboring chunks those entites stay

Image

The expected behaivor should be not to create some entity every 0,5 seconds so you dont need to clean them up afterwards so even if the cleanup is broken right now you dont need it anymore

commented

Ahh i have understood the problem after looking at your code

https://github.com/DrMango14/Create-The_Factory_Must_Grow/blob/1.21.1/src/main/java/com/drmangotea/tfmg/content/machinery/metallurgy/blast_furnace/BlastFurnaceHatchBlockEntity.java#L34

you try to drop the item even if there is none in the blast furnace inventory that creates a empty/(air) item stack. That atleast apperently can cause not to instantly despawn when some condition is met (prolly bcs that chunk was lazy at the time where it created 70k items)

Please add a check there if you can actually drop a item from the blast furnance inventory to not drop air every 0.5 seconds