Commit Graph

177 Commits

Author SHA1 Message Date
Electroblob77 4a7b8a2bb9 Various fixes for arcane lock 2020-09-23 00:59:46 +01:00
Electroblob77 2f91573284 Block protection compat overhaul
- 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
2020-09-23 00:57:55 +01:00
Electroblob77 f49ef7594d Evade is now 140% less cheesable 2020-09-21 22:20:44 +01:00
Electroblob77 ea9c9edff1 Add CME fix from remove curse to cure effects, fixes #489 2020-09-12 14:09:31 +01:00
Electroblob77 472727552e Fix CME in remove curse 2020-09-06 18:23:41 +01:00
Electroblob77 dac40ecf98 Extend mind control overlay effect to possessed creatures 2020-08-21 23:24:18 +01:00
Electroblob77 ba487bea41 Add withering totem spell 2020-08-21 00:08:31 +01:00
Electroblob77 a5dd5ce9df Add evoker's ring 2020-08-09 23:23:12 +01:00
Electroblob77 7401a8e3b4 First pass trying to optimise LivingUpdateEvent handlers, see issue #484 2020-08-03 22:47:08 +01:00
Electroblob77 0d7d36c0b5 Add mark sacrifice spell 2020-07-30 22:54:37 +01:00
Electroblob77 eba219bcce Add getter for SpellBuff#potionSet 2020-07-27 12:32:05 +01:00
Electroblob77 22a125d720 Add boulder spell 2020-07-05 00:39:06 +01:00
Electroblob77 8ae6bc9102 Tidy up entity geometry stuff:
- 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
2020-07-04 13:34:11 +01:00
Electroblob77 02ab4a9014 Make all radiant damage set fire to undead entities 2020-06-30 16:10:46 +01:00
Electroblob77 8e2b367e94 More mind control fixes 2020-06-30 15:38:00 +01:00
Electroblob77 ea6d338d71 Fix a stack overflow 2020-06-30 15:25:21 +01:00
Electroblob77 c2396bcd5e Fix NPE 2020-06-30 15:17:35 +01:00
Electroblob77 4e0b63f06b Apply lightning bolt changes to thunderstorm 2020-06-30 15:12:37 +01:00
Electroblob77 323b1e1799 Make fangs ignore allies 2020-06-30 15:11:54 +01:00
Electroblob77 148f527504 Damage modifier support for vanilla entities (throwables, shulker bullet and fangs) 2020-06-30 15:11:27 +01:00
Electroblob77 b76374fb58 Make lightning bolt count as player damage and support damage modifiers 2020-06-30 14:06:27 +01:00
Electroblob77 c435ca5fa7 Allow fangs to be cast by npcs and dispensers 2020-06-30 00:04:29 +01:00
Electroblob77 c9735e9a98 Prevent casting fangs directly down or up 2020-06-30 00:02:49 +01:00
Electroblob77 0400e9276d Normalise direction vectors 2020-06-29 23:56:45 +01:00
Electroblob77 632790fabd Don't spawn fangs at the caster's feet 2020-06-29 23:54:05 +01:00
Electroblob77 c2e99e2ce6 Add fangs spell 2020-06-29 23:52:05 +01:00
Electroblob77 cfca8f1fdd Also apply targeting fix when mind control effect is removed manually 2020-06-29 21:28:32 +01:00
Electroblob77 8088e21ba4 Remove attack target as soon as mind control wears off, fixes mind controlled entities continuing to attack a target that dies after the mind control wears off 2020-06-29 21:22:01 +01:00
Electroblob77 b37fa47211 Tweaks to firestorm and ice age particles and sound 2020-06-29 18:43:07 +01:00
Electroblob77 aea65b3753 World#isBlockFullCube is different to Block#isFullCube, and it turns out we actually want Block#isNormalCube :/ 2020-06-28 20:22:27 +01:00
Electroblob77 3a68ba8927 Implement blast modifier support for all applicable constructs, plus misc construct-related cleanup and fixes 2020-06-28 16:56:18 +01:00
Electroblob77 97c21b5057 Remove unnecessary reflection 2020-06-28 14:56:35 +01:00
Electroblob77 5be939a39f Add key aliases to spell matching 2020-06-28 12:45:54 +01:00
Electroblob77 080022127c Add radiant totem spell 2020-06-26 17:46:47 +01:00
Electroblob77 5dc3ebed4f Add firestorm spell 2020-06-25 13:21:26 +01:00
Electroblob77 33c5f79ed7 Add archivist's eyeglass and spectral tether, plus some improvements to teleportation 2020-06-23 22:09:06 +01:00
Electroblob77 d69b736a72 Fix shockwave not casting with no targets within range 2020-06-20 22:54:32 +01:00
Electroblob77 ac4bb8bc11 Shady particles 2020-06-20 22:47:55 +01:00
Electroblob77 fbf8e7155c Cleanup 2020-06-20 21:50:22 +01:00
Electroblob77 f2de40e096 Put these arguments the right way round 2020-06-20 21:50:12 +01:00
Electroblob77 c6a3f090cd Add blinding flash spell 2020-06-20 21:43:10 +01:00
Electroblob77 46a467de46 Finish implementing SpellAreaEffect and retrofit various spell classes to extend it 2020-06-20 21:42:37 +01:00
Electroblob77 62b06f8fc6 Remove stray javadoc 2020-06-20 21:40:52 +01:00
Electroblob77 ba856346a9 Should be @Nullable 2020-06-20 13:22:46 +01:00
Electroblob77 39e33848aa Rename to getLivingWithinRadius for clarity 2020-06-20 13:14:16 +01:00
Electroblob77 d45bdbc3d0 Reinstate arm swinging for ray spells with extra action check 2020-06-19 22:40:02 +01:00
Electroblob77 50f0072c7a Prevent forest of thorns overwriting blocks 2020-06-19 21:52:38 +01:00
Electroblob77 c443e0d39c Don't transfer slow time when possession ends, fixes #459 2020-06-19 21:36:29 +01:00
Electroblob77 3a5a97c6b9 Add potency modifier support for forest of thorns 2020-06-19 21:03:35 +01:00
Electroblob77 9936388600 Sync snare too 2020-06-19 21:03:12 +01:00