Commit Graph

23 Commits

Author SHA1 Message Date
Electroblob77 bf13491987 A healthy splash of optimise imports 2020-10-18 00:12:29 +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 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 b37fa47211 Tweaks to firestorm and ice age particles and sound 2020-06-29 18:43:07 +01:00
Electroblob77 ac4bb8bc11 Shady particles 2020-06-20 22:47:55 +01:00
Electroblob77 46a467de46 Finish implementing SpellAreaEffect and retrofit various spell classes to extend it 2020-06-20 21:42:37 +01:00
Electroblob77 39e33848aa Rename to getLivingWithinRadius for clarity 2020-06-20 13:14:16 +01:00
Electroblob77 238b9d04bb Split up and reorganise WizardryUtilities 2020-06-13 23:29:01 +01:00
Electroblob77 9dbdd2b830 Sort out various problems with freezing things, fixes #460 2020-06-13 17:23:50 +01:00
Electroblob77 4bf8aff2e6 Make ice age give frostbite II to players for 20 seconds 2020-06-12 23:31:50 +01:00
Electroblob77 1c0e046236 Snowstorms! 2020-06-12 23:27:20 +01:00
Electroblob77 8aadf5a446 Various improvements to sounds
- 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
2020-06-12 22:15:44 +01:00
Electroblob77 be250e218e Add player animation system!
- Hooks into ModelRenderer by wrapping it in an extended version that allows modification of angles after the model has set them
- Is compatible with pretty much everything, yay (even modded armour!)
- Adds property overrides to ItemWand so that gets animated too
- Adds a system for generating override models from a template at runtime so I don't have to duplicate all the wand models
- Tweaks particles and ray spells so they line up with the end of the newly-animated wand
- Fixes a long-standing bug where wand usage actions would stop immediately for all non-continuous spells
2020-05-09 20:17:15 +01:00
Electroblob77 f37812be3e That's one heck of a commit you've got there...
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!
2019-08-18 00:04:18 +01:00
Electroblob77 3bdee06738 Merge branch '1.12.2' into 1.12.2-dev 2019-01-06 16:26:02 +00:00
Electroblob77 86d13d3a6e Swap canSnowAt for canPlaceBlockAt, so it actually works... 2019-01-04 21:58:45 +00:00
Electroblob77 f886ebfd75 Prevent ice age from placing snow layers at invalid locations, fixes #64 2019-01-04 20:05:09 +00:00
Electroblob 29261082f1 Spell hierarchisation and refactoring, plus miscellaneous renaming and minor refactoring
- Adds new generic spell superclasses which aim to group spells such that duplicate code is eliminated, and functions standardised, as much as possible.
- Removes numerous spell classes which are no longer required as a result of this change, and replaces them with instances of the relevant generic spell classes.
- Changes the remaining spell classes to fit with the new system, mostly by having them extend the generic spell classes.
- Completes the transfer of particle spawning to the ParticleBuilder system.
2018-06-20 22:25:54 +01:00
Electroblob 1e0613c949 Cleanup 2018-04-06 22:53:53 +01:00
Philipp Rustemeier 612bbdb64d Replace Achievements with Advancements
- Advancements are now in JSON files, converted by the included migration script.
- WizardryAdvancementTrigger is a generic achievement trigger that can be reused throughout the code to trigger custom advancements not covered by the JSON conditions.
- Plus some other small and obvious fixes.
2018-03-16 18:08:34 +01:00
Corail31 489fb82fbd 1.12 conversion 2018-03-09 11:56:31 +01:00
Electroblob 3df5597dcc Initial 1.11.2 update 2018-02-07 21:15:50 +00:00
Electroblob da6b007a3a Initial commit 2018-01-19 20:33:04 +00:00