mojira.dev
MC-259637

Natural spider potion effects still last max int instead of infinity

The bug

When spiders spawn with a random bonus status effect, the effect lasts 2147483647 ticks. This was done in the past because effects couldn't be infinite, but now they can. But maybe it's intended that spiders get nerfed after 3.5 years 🙂

How to reproduce

1. In hard mode, spawn a bunch of spiders until one has an effect

2. /data get entity @e[type=spider,sort=nearest,limit=1] ActiveEffects
→ ❌ It's a big number instead of -1

Linked issues

Comments

No comments.

tryashtar

Fantastime

Confirmed

Platform

Low

Mob spawning

23w05a

1.19.4 Pre-release 4

Retrieved