Applied Energistics 2

Applied Energistics 2

137M Downloads

Make Matter Cannon not destroy blocks if the projectile has passed through a mob

MageInBlack opened this issue ยท 0 comments

commented

Describe the feature

Currently matter cannon pierces mobs if they die in one hit or if the finishing blow is delivered by the projectile (tested with golden nuggets and 2 acceleration cards - 30 damage per shot). It can even kill groups if they all die in one hit.
After that the projectile continues to travel and will destroy blocks if it comes in contact with them. And I think it should not destroy them in case it already traveled through mobs.

Reasons why it should be considered

It is a bit of QoL feature because if the cannon is used to kill mobs it is not expected for it to destroy blocks afterwards. If it is used for digging, killing mobs in the way may or may not be desirable.

Edit: Actually uh, when I think about it, maybe having a toggle between attack and dig mode might help to solve the issue? This way people won't dig blocks accidentally if they miss the shot either way?

Additional details

Also Idk if 30 damage for a golden nugget is too much with 2 acceleration cards? And it can go up to 50 with 4 acceleration cards. Maybe making it count the damage and reduce how much it can do by the amount already dealt (it seems to do it but i can kill 9 creepers in a row)? Maybe rebalancing the damage a bit