Cursed

Cursed

251k Downloads

Fading enchantment high cpu usage

someaddons opened this issue ยท 1 comments

commented

image

The fading enchantment uses relatively much tick time for what its supposed to do, due to looping all entities each tick. I think you could just do it once every 20 ticks or so and increase the lifetime reduction accordingly

commented

I don't think this CPU usage is bad, but it certainly could be better. I will probably use a Mixin for this effect to make the performance impact near non-existent.