Source code for Electroblob's Wizardry, a Minecraft mod about magic, exploration and adventure. Open-source so other aspiring wizards (a.k.a. programmers 😎) can see the real magic! ✨ Just want to download and play? Head over to the CurseForge page via the link below:
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.
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.