Commit Graph

112 Commits

Author SHA1 Message Date
Electroblob77 6f7b225ce8 ParticleBuilder is not thread-safe! 2021-06-18 13:49:45 +01:00
Electroblob77 0b09875bb3 Fix problems with combining spell modifiers 2021-02-01 16:41:31 +00:00
Electroblob77 cd6fa03990 Limit cooldowns to a minimum of 1 tick and replace armour cooldown reductions with correct values, fixes #603 2021-01-31 15:50:55 +00:00
Electroblob77 240bffa7ed Sometimes, I surprise even myself with my own stupidity... fixes #594
(This is literally why I have a helper method. To prevent exactly this error :/)
2021-01-17 15:14:23 +00:00
Electroblob77 299510e663 Add armour classes!
- Added 3 new armour variants - the sage, the battlemage and the warlock - each in the 8 elemental varieties
- Added resplendent thread, crystal silver plating and ethereal crystalweave, used to upgrade regular armour into class armour
- Added the new armour upgrades to loot tables
- Added recipes for the new armour to JEI, along with info pages for the 3 upgrade items
- Added advancements for the new armour classes
- Removed legendary wizard armour
- Removed arcane seal of protection
- Removed the 'legendary' advancement
2021-01-16 23:02:03 +00:00
Electroblob77 0e815c676d Fix conjured items not disappearing in offhand (actually fixes #493) 2021-01-04 00:18:37 +00:00
Electroblob77 ae9da5b7c1 Query the position using the block at that position, not the one below... 🤦Fixes #519. 2020-12-20 19:13:41 +00:00
Electroblob77 0dd26de905 Add guardian beam spell 2020-10-17 15:28:51 +01:00
Electroblob77 970894ea21 Comments and TODOs 2020-10-03 00:54:29 +01:00
Electroblob77 c05f4001fd Add frost barrier spell 2020-09-27 17:48:37 +01:00
Electroblob77 c56128a7e2 Don't rely on class load order, do this properly during the init phase (and tell addon devs when to do theirs) 2020-09-24 18:47:41 +01:00
Electroblob77 b7329299f9 Make dispensers trigger break events properly too 2020-09-23 01:28:42 +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 3343385a7c Add donor perks and tweak generalise rendering of healing totem 2020-07-19 15:56:07 +01:00
Electroblob77 a12fc6e344 TODOs and cleanup 2020-07-13 16:54:13 +01:00
Electroblob77 fa0875e63b Add library ruins
- Adds two variants of library ruins: surface (generates in forested biomes) and underground (generates everywhere)
- Adds loot table support to bookshelves
- Adds antique atlas markers for library ruins
- Adds bookshelves and lecterns to the wood type template processor
- Makes bookshelves and lecterns rotate correctly in structure templates
- Generalises most of the methods in WorldGenSurfaceStructure to a new superclass WorldGenWizardryStructure
2020-07-13 16:51:01 +01:00
Electroblob77 a1a5af034d Make owned entities inherit their owner's allies (as well as their own - if, for example, you summon a mob that then summons its own mob, that mob will no longer attack you) 2020-07-06 23:02:03 +01:00
Electroblob77 651eb8834b Make sure ParticleBuilder warnings only trigger when appropriate, plus misc cleanup 2020-07-06 22:53:10 +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 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 0ca86eb01b Improve javadoc for RayTracer 2020-06-23 13:25:10 +01:00
Electroblob77 f2de40e096 Put these arguments the right way round 2020-06-20 21:50:12 +01:00
Electroblob77 39e33848aa Rename to getLivingWithinRadius for clarity 2020-06-20 13:14:16 +01:00
Electroblob77 dfe6ecadac Generalise isAllied to all living entities 2020-06-20 13:10:44 +01:00
Electroblob77 daf174ec3f Remove unused summon particles, we have a fancier layer system now :D 2020-06-18 18:04:49 +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 a65c56eb41 Mooore smoooooth animations 2020-06-12 23:12:37 +01:00
Electroblob77 526dbaf396 Make isCasting account for charge up 2020-06-12 12:55:50 +01:00
Electroblob77 737f896070 Add support for charge-up modifiers 2020-06-11 22:49:08 +01:00
Electroblob77 a54f00875f Add disintegrate animation, plus misc tweaks to disintegration 2020-06-05 17:11:19 +01:00
Electroblob77 ce92d564f4 Cleanup 2020-06-04 23:16:43 +01:00
Electroblob77 930ad77db5 ...well this is embarrassing :/ 2020-06-02 23:12:42 +01:00
Electroblob77 ddcaffc1b1 Add config option to treat passive creatures as allies 2020-05-22 17:34:07 +01:00
Electroblob77 fe5060a2c0 Don't decrement spell index if spells haven't been initialised, and add the missing safety check to getCurrentMaxCooldown - fixes #428 2020-05-13 12:06:41 +01:00
Electroblob77 25475632d9 Require line-of-sight for summoning spells 2020-05-12 23:28:05 +01:00
Electroblob77 bfc23ce6f7 Remove a bunch of deprecated methods 2020-05-12 23:09:48 +01:00
Electroblob77 c4d4c67302 Well this is awkward :/ 2020-05-11 18:35:37 +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 a31b1c79e3 Make indirect magic damage count as magic damage, fixes #396 2020-05-06 20:21:49 +01:00
Electroblob77 f0752317e6 Add spell quick access keys 2020-04-18 21:45:01 +01:00
Electroblob77 b9958ce16f Add cloud particle from TF spell pack, and change smoke bomb to use it instead of vanilla's large_smoke particles 2020-04-18 18:06:22 +01:00
Electroblob77 f1cb7dbbbe Make arcane lock work on both halves of a double chest at once 2020-04-18 16:12:05 +01:00
Electroblob77 b23136d568 Add method for checking if a spell property exists 2020-04-17 23:02:45 +01:00
Electroblob77 91b2ee1a13 Merge branch '1.12.2' into 4.3-dev 2020-04-14 17:41:33 +01:00
Electroblob77 c81830efec Neither of these should be null. I should not have to check they aren't null. But apparently they can be. So I do. Fixes #402. 2020-04-13 19:04:01 +01:00
Electroblob77 d56cf37f2b Make spell books return to the slots they came from (provided the container isn't closed) 2020-04-09 20:08:28 +01:00