Electroblob77
21f7928b9c
Guard against null target in remant AI, fixes #600
2021-01-17 14:58:59 +00:00
Electroblob77
32e92b4b04
Guard against null element in writeEntityToNBT for wizards and evil wizards, fixes #491
2020-12-20 23:24:30 +00:00
Electroblob77
aac931f6b2
Clean up a bunch of TODOs that are no longer relevant
2020-09-23 23:49:36 +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
202552a967
Add cursed helm
2020-07-02 23:47:36 +01:00
Electroblob77
a547b3a384
Fix spirit horse dispel sound/behaviour
2020-06-30 15:53:15 +01:00
Electroblob77
6a8951ab39
Event priority
2020-06-30 14:06:41 +01:00
Electroblob77
97c21b5057
Remove unnecessary reflection
2020-06-28 14:56:35 +01:00
Electroblob77
f18f1d20f3
Make NPCs respect continuous spell cooldowns
2020-06-20 18:35:43 +01:00
Electroblob77
238b9d04bb
Split up and reorganise WizardryUtilities
2020-06-13 23:29:01 +01:00
Electroblob77
d60238a400
Remove animation from magic slime
2020-06-13 14:14:46 +01:00
Electroblob77
36a228489b
Limit currency item stack size to between 1 and 64 (inclusive)
2020-06-13 12:45:27 +01:00
Electroblob77
88d0780d69
Sort out summoned creature particles
2020-06-04 22:48:35 +01:00
Electroblob77
33d4652758
Add summoned creature appear/disappear animation
2020-06-04 22:45:39 +01:00
Electroblob77
dd12d2ebcb
Hide zombie particles properly
2020-05-31 17:31:31 +01:00
Electroblob77
a33715ad51
Add zombie apocalypse spell
2020-05-31 17:16:55 +01:00
Electroblob77
05aac02966
A good ol' splash of optimise imports
2020-05-24 23:59:13 +01:00
Electroblob77
dd137c68f6
Make remnants spawn from obelisk spawners (bye bye mobelisks o/)
2020-05-21 20:55:10 +01:00
Electroblob77
1275f1d31f
Add remnants
2020-05-21 18:40:01 +01:00
Electroblob77
1ab674136b
Add null check for riding entity to magic slimes, fixes #379
2020-03-31 21:37:38 +01:00
Electroblob77
0b56d47022
Replace wildcard with metadata 0 for display purposes, fixes #370
...
N.B. The output is still not visible for non-zero inputs when using wildcard trades, but for now this is good enough
2020-03-18 15:32:59 +00:00
Electroblob77
df8fd21c0b
Add metadata support to block/item list config options, fixes #353
2020-02-21 17:40:08 +00:00
Electroblob77
e4bf09f15a
Implement client-side spell counter for NPCs, fixes #345
...
Also makes all the continuous-spell-related methods in ISpellCaster default methods so they don't need implementing unless actually necessary.
2020-01-27 23:27:56 +00:00
Electroblob77
3052e56d03
Add entity- and tileentity-sensitive versions of Spell#canBeCastByNPCs and Spell#canBeCastByDispensers
2020-01-27 16:42:28 +00:00
Electroblob77
f5da195605
Wrap NBTTagCompound#setTag in static helper with safeguards against circular references, fixes #299
2020-01-27 13:45:47 +00:00
Electroblob77
e8818a4db5
Correct requested tag type for tower blocks list in wizard data loading, fixes #291
2019-12-17 17:45:27 +00:00
Electroblob77
6439c233f1
Add creative mode check to target selector for summoned creatures, fixes #262
2019-12-17 16:55:00 +00:00
Electroblob77
324094f418
'Tis the season!
...
- Decked the halls
- Jingled the bells
- Wrapped the presents
- Loaded up the sleigh
2019-12-17 15:53:40 +00:00
Electroblob77
963178c609
Cleanup
2019-12-16 13:10:57 +00:00
Electroblob77
591cfb5857
Check we're dealing with the type of mob whose class we're in, fixes #274
2019-10-05 23:13:48 +01:00
Electroblob77
378e02eb6c
Ignore special spawn conditions for mobs from mob spawners, fixes #260
2019-10-05 14:34:29 +01:00
Electroblob77
60a6c5124e
API improvements to spell books:
...
- Allow spells to set which book/scroll items they can appear on
- Allow spell books to set custom GUI textures
- Tweaks to loot functions and wizards to accommodate the changes
2019-09-27 15:46:09 +01:00
Electroblob77
d6492ee3f1
Cleanup
2019-08-18 21:09:42 +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
f564fdce60
Add DamageSafetyChecker, which implements an if-all-else-fails fix for cross-mod infinite looping in attack/hurt/damage events, and changes relevant calls to attack methods to use the safety checker methods instead. Also adds damage source blacklist and compatibility warnings config options. Fixes #72 .
2019-01-06 17:51:41 +00:00
Electroblob77
224ee281ef
Cleanup
2019-01-05 22:18:14 +00:00
Electroblob77
b374f71533
The great particle refactoring part 2: Splitting and Streamlining!
...
- Splits all particle textures into individual files intead of sprite sheets
- Replaces arc and lightning pulse entities with particles
- Pulls particle code up to the general ParticleWizardry so behaviours such as spin can be applied to all particle types
- Renames a few ParticleBuilder methods for conciseness.
- Adds a few new particle effects to various spells and entities, with a slight tweak to EntityMagicArrow#onBlockHit to facilitate impact effects
2019-01-01 21:40:04 +00:00
Electroblob
c7c7d57e7e
Change target blacklist/whitelist checking to use the correct method for retrieving an entity key from EntityList
2018-06-20 23:58:50 +01:00
Electroblob
8f0727403d
Correct fallback translation key for spirit horse
2018-06-20 23:36:15 +01:00
Electroblob
373fd4c8e8
Add chat readout for applying spells to wizards in creative mode
2018-06-20 23:30:07 +01:00
Electroblob
106148fd9e
Miscellaneous cleanup and commenting
2018-06-20 23:28:56 +01: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
b6400c72a7
Genericise spell casting AI class
2018-06-09 17:36:54 +01:00
Electroblob
438f5d7a2e
Merge branch '1.12.2' into 1.12.2-dev
2018-06-05 21:44:17 +01:00
Electroblob
330c78a92c
Change non-evil wizard health from 20 to 30
2018-06-05 21:24:47 +01:00
Electroblob
dcec7c7281
Miscellaneous cleanup and commenting
2018-06-05 21:24:09 +01:00
Electroblob
d91a3e056a
The great particle refactoring part 1: Introducing ParticleBuilder!
...
Adds ParticleBuilder to replace the particle spawning methods in the proxies, and changes all particle spawning to use the builder except for in the spell classes, which are to be reorganised first.
2018-06-05 21:13:41 +01:00
Electroblob
1e43c67660
Tweak summoned creature targeting so that non-evil wizards' minions no longer attack players unless the player in question has angered the wizard
2018-06-04 17:17:33 +01:00
Electroblob
c129571167
Change EntityWizard to implement IMerchant and INpc directly rather than extending EntityVillager, fixes #38 plus a number of other bugs
2018-06-04 16:36:20 +01:00
Electroblob
9b5e5a871c
Add dimension whitelist option for evil wizard spawning and restrict numbers to 1 per chunk, closes #26
2018-06-03 22:22:18 +01:00