Cane Bug

Cane Bugs are aggressive melee mobs that spawn in Candyland.

Spawning
Cane Bugs spawn in Infested Candy Canes in Candy Land.

They will despawn if the player gets too far away from them, or if the difficulty is set to Peaceful.

Behavior
Cane Bugs are melee mobs that will follow targets both on land and in water. They will initially attempt to avoid getting into the water where possible, but will go in if they find no other path to their target.

They are aggressive, and will attack nearby players within 16 blocks without provocation. If attacked by another entity, they will retaliate and continue targeting that entity.

Staying outside of their targeting range will prevent them from attacking or targeting entities.

Healing
If a Cane Bug is standing in certain liquids, the Cane Bug will regenerate health per tick ( health per second). The liquid can be any liquid assigned a Water material in code, which includes Water and Candied Water.

Hunter Mob
Cane Bugs are Hunter creatures that can only be damaged if the player is at level 47 or higher. When killed, they will grant 88.9 Hunter xp.