BTW-Community / BTW-Public

Community repository for the BTW CE mod
http://www.sargunster.com/btwforum/
Creative Commons Attribution 4.0 International
109 stars 13 forks source link

Creepers explode from the top, not the bottom #500

Open SimonMeskens opened 7 months ago

SimonMeskens commented 7 months ago

Creepers will detonate based on vision, but explode from their feet, making it so that slabs can block them. They should explode from above the waist so that at least a block and a slab are needed to block them.

I also heard that explosion is calculated towards the player's feet, it should probably be their center of mass?

Would fix #103

Arminias commented 7 months ago

Testing for eye height explosions is now underway, for parity with exploding behavior triggering when seeing enemy.

ITLSupress commented 7 months ago

Currently on CE 3.0 Beta 1.0.0 image Creepers will leave the player at 2 hearts with a half slab Full block leaves 6 image Trying to use foliage (grass, flowers, etc.) Kills you Full block + Slab leaves 8