MyDog

MyDog

8k Downloads

Many dogs dying of entity cramming while in attack mode (going for mobs underground)

voltage9000 opened this issue ยท 2 comments

commented

Type of bug

Other unexpected behaviour

Error log (if applicable)

No response

Bug description

I have a dog army of about 100 dogs or so, but I only took around 40 to a raid in a village. Then I enabled attack mode on the dogs and they all started to bunch up in a corner; targeting whatever mob was underground. They started to die rapidly due to the entity cramming. Can you please fix this, it is very frustrating when many of your dogs die not from mobs but from targeting a corner in the ground.

Steps to reproduce

Trigger attack mode
You walk above a cave that is underground
Dogs target mobs underground
Dogs start to bunch up
Dogs die from cramming

Expected behaviour

Ignore mobs in caves underground, except if you are in a cave.

Actual behaviour

Dogs target mobs underground and die from entity cramming.

commented

Sounds like a very valid bug, though I would actually call it a missing feature.

I will add it as a default enabled option that pets take no Cramming damage (if damage event and type of damage is cramming, cancel event).

I think it should be a config option so server admins can still choose to allow cramming damage, so players don't put 500 dogs into a one-block space. But, I would assume that for most servers with active moderation and a chill playerbase (which this plugin was also intended for), this is not an issue.

Added to backlog.

commented

A couple of ticks of cramming damage also happen when teleporting and calling your dogs after moving away