Commit graph

28 commits

Author SHA1 Message Date
Sollace
eed112ef4a Further refactorings 2022-12-19 21:03:55 +01:00
Sollace
a239d30cab Replace getEntity() with asEntity() and getReferenceWorld() with asWorld() 2022-12-19 18:13:15 +01:00
Sollace
daa508ba73 Cleanup and replace some more references to getMaster() 2022-12-19 17:27:24 +01:00
Sollace
c9c463d6c9 1.19.2 -> 1.19.3 (1.20) [part 1] 2022-12-18 21:07:24 +00:00
Sollace
b5f41d2244 Improve performance by removing unneccessary nbt reads of spells when ticking 2022-10-12 23:15:17 +02:00
Sollace
cbd80270e3 Store the level with the spellcast entity so it can still be used when the owner is offline 2022-09-17 22:11:24 +02:00
Sollace
46e4d14bb0 Whoops! 2022-09-01 22:57:19 +02:00
Sollace
ded553bd31 1.18 -> 1.19 2022-06-25 00:19:55 +02:00
Sollace
9e1b9161b8 Fixed crash due to naming conflict 2022-06-23 16:24:45 +02:00
Sollace
9f46fe9270 1.18-pre -> 1.18.2 2022-03-26 21:34:15 +02:00
Sollace
c27aad9154 Placed spells are no longer lost when the player dies 2022-01-02 00:43:21 +02:00
Sollace
e6b0ad9fa4 Allow spells and entities to retain their owner if the owner is offline (multiplayer) or in another dimension (nether), and handle situations where the owner is not around (getOwner() == null) 2022-01-01 22:08:50 +02:00
Sollace
e3d1f8c973 Fixed light sources not being removed after light-emitting entities are removed 2022-01-01 19:14:37 +02:00
Sollace
1a3eb9f0f6 wip gui for dismissing spells remotely 2022-01-01 00:00:18 +02:00
Sollace
9723bfd104 Move the unicorn shoot ability to the primary slot (second page) and add a separate ability specifically for cancelling spells 2021-12-31 15:40:08 +02:00
Sollace
596e01cc24 Added fairies 2021-12-27 02:15:48 +02:00
Sollace
df2706cfc6 Fixed not being able to toggle delegated spells 2021-12-26 11:13:32 +02:00
Sollace
7ad82f0bb2 Fixed crash with spellcast entities accessing lighting buffers when they mustn't (TODO: make this better somehow) 2021-12-26 10:48:01 +02:00
Sollace
f2a6bf36d4 Fix bugs with spell syncing 2021-12-22 13:12:51 +02:00
Sollace
f3d6c7ce28 Work on allowing more than one spell to be attached 2021-12-21 18:26:23 +02:00
Sollace
33476f2ed8 Added spell traits and trait groupings, and rewrite spell casting to make combining spells and catering to different situations easier 2021-11-05 15:18:32 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
da5f64e199 Improved death messages when dying from a secondary cause whilst being harmed by a spell 2021-03-06 14:27:52 +02:00
Sollace
e386e040ea Fixed mana cost for cast spells not being passed on to the player 2021-03-06 12:26:54 +02:00
Sollace
4c1f5a4ba5 Fixed spells dissapearing when reloading the world, and respawn the spell entity if it dies 2021-03-05 20:52:49 +02:00
Sollace
51ed3fe2e2 Change onThrownTick to receive the actual type rather than just a caster 2021-03-05 19:22:09 +02:00
Sollace
c9abb1a0f8 Link the spell to the entity it spawns 2021-03-04 23:30:43 +02:00
Sollace
3211b232cf Cast spells are now their own entity (should fix problems with spells dissapearing/not appearing at the correct location in muliplayer) 2021-03-04 22:35:49 +02:00