Reliquary

Reliquary

2M Downloads

ContentHandler performance issues.

MercuriusXeno opened this issue ยท 1 comments

commented

lib.enderwizards.sandstone.init.ContentHandler uses stack analysis frequently, e.g. from the entity living event, which is slow.. (direct quote from Player on Forgecraft)

Let's try to circumvent this with another method or use caching, if applicable.

commented

I originally did this to circumvent having to write ContentHandler.method(MOD_ID, arg) every time. We could move ContentHandler to a instance-based class.

Instead of ContentHandler.getBlock(), you'd write Reliquary.CONTENT.getBlock().