Commit graph

64 commits

Author SHA1 Message Date
Sollace
433149cc99
Updating to 1.21 (part 3) 2024-09-28 22:27:46 +01:00
Sollace
259b0cddc4
Updating to 1.21 (part 2) 2024-09-26 21:36:35 +01:00
Sollace
98714556a0
Fixed magic projectiles not affecting falling blocks 2024-05-28 14:32:22 +01:00
Sollace
e23cbcdd1c
Fixed placed and projectile spells not syncing their level correctly. Also fixes placed shields not rendering 2024-05-22 13:58:20 +01:00
Sollace
5348e12aca
Fix #290 and exclude spectators from being affected by magic 2024-03-03 14:15:20 +00:00
Sollace
308cb721cd
Separate the magic beam into its own entity 2024-03-03 14:07:36 +00:00
Sollace
9c71272def
Only interact with the datatracker after it's safe to do so 2024-02-27 00:01:22 +00:00
Sollace
5927734943
Fixed thrown jars despawning 2023-09-04 11:56:08 +01:00
Sollace
9b651da09f
Fixed error when updating a projectile entity's owner 2023-09-03 19:39:47 +01:00
Sollace
77d6e6d1b0
Better handle exceptions in ticking spells and try to prevent spells from being destroyed more than once 2023-09-02 19:59:42 +01:00
Sollace
820856fdc4
Move mob entities to a separate package 2023-09-02 18:34:57 +01:00
Sollace
88252d8db9
Prevent spells from affecting technical entities 2023-08-28 14:37:36 +01:00
Sollace
54c0acb757
Use an entity reference to remember the owner of a magic projectile, and store the level and corruption in the reference so we can remember it when the player is offline 2023-08-06 18:29:33 +01:00
Sollace
f16632e5fe
Remove some deprecation warnings 2023-08-04 18:29:06 +01:00
Sollace
43d1142f1f 1.19.4 -> 1.20-pre6 2023-06-03 12:40:54 +01:00
Sollace
62aac0f711 1.19.3 -> 1.19.4 2023-06-02 20:20:30 +01:00
Sollace
a8e5c50e9b Fixed catapult spell constantly refiring when cast using the regular cast spell ability instead of shoot spell 2023-05-29 12:27:43 +01:00
Sollace
10758fc25d Fixed catapult spell and fixed spells not being applied when a projectile hits something 2022-12-26 23:48:01 +01:00
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
8a16a8b501 Refactor projectile event handlers 2022-12-04 22:46:45 +00:00
Sollace
b5f41d2244 Improve performance by removing unneccessary nbt reads of spells when ticking 2022-10-12 23:15:17 +02:00
Sollace
a0933d8424 Added windflow, and made turbulance global + certain blocks produce an updraft that pegasi can ride up or down 2022-10-09 18:07:04 +02:00
Sollace
66bdfc0e1a Fixed magic projectiles not triggering the destroy event on their spells when being destroyed 2022-10-09 00:29:19 +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
89e8f0dccc Simplify projectile delegate code 2022-09-14 11:53:31 +02:00
Sollace
d9933bb3ec Fixed magic projectiles not actually using their caster's level 2022-09-01 23:00:20 +02:00
Sollace
2c77cfb4c3 Added muffins 2022-03-27 16:02:14 +02:00
Sollace
9f46fe9270 1.18-pre -> 1.18.2 2022-03-26 21:34:15 +02:00
Sollace
4b820478f5 Set spells to be no gravity by default (so it's easier to aim) 2022-01-06 15:31:33 +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
7a05efa23a Some minor cleanup 2021-12-29 18:11:32 +02:00
Sollace
fb6031b89f Added a homing ability to the firebolt spell 2021-12-28 18:22:47 +02:00
Sollace
baa3700748 Fixed crash when ticking a projectile with no loaded owner 2021-12-27 02:14:48 +02:00
Sollace
bb29d97ff3 Fixed jars, fixed particles not respawning correctly when reloading a world, fixed some behaviours with black holes 2021-12-26 20:13:28 +02:00
Sollace
62e5ab01cc Tiny bit of cleanup 2021-12-24 16:36:40 +02:00
Sollace
f3d6c7ce28 Work on allowing more than one spell to be attached 2021-12-21 18:26:23 +02:00
Sollace
1b82f7e9b5 Added the firebolt spell 2021-12-12 12:49:30 +02:00
Sollace
38e3693384 Minor cleanup and documentation tweaks 2021-11-08 14:43:19 +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
c3e854fdd1 Added a transformation spell 2021-08-25 00:32:39 +02:00
Sollace
6d5dd4a091 Move UEntities and UTradeOffers to the entity package 2021-08-24 21:15:43 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
63c1b4ef7f Yet more refactoring 2021-03-06 23:11:17 +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
6d3d8051fe A little more cleanup to the magic system 2021-03-06 11:58:44 +02:00
Sollace
1cb6c6ac00 Fixed crash due to null spell slot 2021-03-05 19:22:27 +02:00
Sollace
269db7bdc9 Further cleanup to the magic system 2021-03-03 11:33:23 +02:00