Commit graph

139 commits

Author SHA1 Message Date
Sollace
ddbf75a44f Move various gravitation/force/physics stuff to a utility class 2022-03-26 18:35:08 +02:00
Sollace
09f76a4286 Fixed disconnect when joining a multiplayer server 2022-01-12 14:26:00 +02:00
Sollace
9170337d5e When firing, place a black hole where the projectile lands 2022-01-11 20:58:54 +02:00
Sollace
1cfc01d1e6 Change the color of the beam to match the spell it contains 2022-01-11 20:42:41 +02:00
Sollace
f18ed7eed6 Light spell shouldn't do anything when fired as a projectile 2022-01-11 20:41:40 +02:00
Sollace
1a1bc2396f Thrown spells now look like magic beams rather than the old thrown item 2022-01-11 18:20:09 +02:00
Sollace
0a93682662 Ensure previously-discovered traits properly update server-side when the registered values change for an item 2022-01-11 12:23:20 +02:00
Sollace
23211ba7b1 Change how item traits are defined to make my life easier 2022-01-11 12:22:24 +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
188c3a5523 Set custom subtitles for our sounds 2022-01-05 18:54:33 +02:00
Sollace
256cbdcabc Fixed spell crafting 2022-01-03 14:06:03 +02:00
Sollace
13402ae020 Fixed light and necromancy spells not producing particle effects when recalling their entities 2022-01-02 00:43:56 +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
7738f01d3a Exclude creative, spectator, and dead entities from the black hold and shield effects 2022-01-01 17:23:06 +02:00
Sollace
de27a543f5 Added lightning effects to the black hole 2022-01-01 01:23:42 +02:00
Sollace
9d5e72cbc1 Implement spell dismissal and fixed placed spells not appearing correctly 2022-01-01 01:01:01 +02:00
Sollace
7d0b7ae9f6 Fixed light spell not recalling its entities when cancelled 2022-01-01 00:02:20 +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
1b17ab24c9 Move the collides predicate out of the RayTraceHelper class 2021-12-31 15:36:31 +02:00
Sollace
26fb68d50f Fixed necromancy spell constantly spawning new entities 2021-12-30 22:41:34 +02:00
Sollace
d03c0586cf Make the necromancy spell better 2021-12-30 00:59:17 +02:00
Sollace
fb3a642acd Prevent the death animation from playing when recalling entities spawned by the necromancy spell 2021-12-29 21:24:02 +02:00
Sollace
2da817bc64 Tweaked a bunch of colours 2021-12-29 20:13:07 +02:00
Sollace
9ef8a78a79 Fixed spells appearing in different ordering in the creative inventory 2021-12-29 18:15:37 +02:00
Sollace
7a05efa23a Some minor cleanup 2021-12-29 18:11:32 +02:00
Sollace
18fffef06a Change the empty key for spells to "none" 2021-12-29 17:53:08 +02:00
Sollace
5939ce3d1a Implement gui for viewing spell recipes 2021-12-29 17:50:19 +02:00
Sollace
3f80822deb The ice spell will now clear out a space around the player when used while submerged 2021-12-29 17:48:47 +02:00
Sollace
41e178b8d6 Fixed spells that affect blocks not working 2021-12-29 17:18:04 +02:00
Sollace
e7e7244758 Added (rough) initial recipes for all the spells 2021-12-28 18:40:51 +02:00
Sollace
fb6031b89f Added a homing ability to the firebolt spell 2021-12-28 18:22:47 +02:00
Sollace
6e24ca9c6f Observe spawn protection and mob griefing rules when trying to apply spells that affect blocks 2021-12-28 03:32:59 +02:00
Sollace
75fbfb9c11 Use the lightning particle instead of lightning entities 2021-12-28 02:20:08 +02:00
Sollace
75dfb85092 Finish the light spell 2021-12-27 23:14:46 +02:00
Sollace
00758b0c15 Added a light spell 2021-12-27 14:08:21 +02:00
Sollace
f402403964 Black holes shouldn't function when fired as a projectile 2021-12-26 20:35:43 +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
76506665bc Fixed disk particles and add improved physics for the dark vortex 2021-12-26 16:11:34 +02:00
Sollace
df2706cfc6 Fixed not being able to toggle delegated spells 2021-12-26 11:13:32 +02:00
Sollace
613b39436f Fixed placed spells not functioning correctly and slot.contains not matching delegated spells 2021-12-26 10:50:16 +02:00
Sollace
be0317de1b Move target selection for shields into a separate class 2021-12-24 22:59:20 +02:00
Sollace
668d5bc787 A little more cleanup and refactoring 2021-12-24 19:09:17 +02:00
Sollace
8ff6514306 Fixed black hole behaviour 2021-12-24 18:37:23 +02:00
Sollace
3d2a50655b Change cost estimate for spellcasting to properly account for whether a spell is active or not 2021-12-24 16:37:27 +02:00
Sollace
d026a6c06a Change to check for a particular spell rather than any spell 2021-12-24 00:37:53 +02:00
Sollace
063d4e6dd2 Change particle handles and linking to be a little more robust. Should help with some cases where duplicate particles happen 2021-12-24 00:20:47 +02:00
Sollace
3806799cf2 Added dark vortex spell and add default traits to more spells 2021-12-23 20:12:30 +02:00
Sollace
996181c097 Some more tweaks and adjustments:
- Adding traits to some existing spells
- Removed curses (and their respective duplicate spells)
- Spells can now control how they are applied and some spells will now correctly apply as area effects
2021-12-23 19:46:25 +02:00