Had to edit telekinesis because it was had errors do to syntax. See comments in forcefield class for more information
Co-authored-by: WinDanesz <31292708+WinDanesz@users.noreply.github.com>
Added getEntitiesWithinCylinder and getLivingWithinCylinder methods to return all entities within a cylinder.
Replaced getLivingWithinRadius for spells that should use a cylinder instead. The height of the cylinder is determined by the height of the entities.
Added a DPS checker on the heal aura damage just in case someone has damage immunity disabled.
Modified the AllyDesignationSystem and Wizard classes to no longer target summoned creatures automatically. They will still target hostile summoned creatures or creatures from players that have aggressed on them.
Modified the heal method in the Heal class to not reduce absorption amount. It should never really happen, but just in case.
Modified the flamecatcher to no longer lose ammo if it was used but no arrow was fired.
Enrage now targets EntityLiving instead of EntityCreature.
The movement speed charm now works with any spellcasting item as opposed to just wands.
- Unifies all block protection checks into helper methods in BlockUtils which trigger all the necessary forge events and vanilla methods
- Implements these checks in all the appropriate places and removes calls to EntityUtils#canDamageBlocks(...) where they are no longer needed
- Changes the mine spell to respect the config settings in line with the rest of the spells
- Fixes earthquake not respecting the settings at all
- Adds a separate config option for dispenser block damage and updates the description for the existing settings to reflect the changes
- Add a getCentre method for entities to GeometryUtils
- Replace getPositionEyes(0) with getPositionEyes(1) since it's more efficient, and by definition they must be the same
- Remove all the silly getEntityBoundingBox().minY stuff, this bug has been fixed since 1.8! (which begs the question: if it was considered a bug, how on earth did it go unfixed for that long?)
- A few other small things
- Added several new sounds, mostly for ice spells
- Added automatic registering of sound events
- Finally fixed the frost ray and wall of frost sounds
- Removed a few unused sound files
I may have got a bit behind with version control. A lot behind, in fact. Maybe I'll go back and split this sometime - then again, I probably won't. But hey, at least it's here!