Commit graph

1268 commits

Author SHA1 Message Date
Sollace
d9933bb3ec Fixed magic projectiles not actually using their caster's level 2022-09-01 23:00:20 +02:00
Sollace
46e4d14bb0 Whoops! 2022-09-01 22:57:19 +02:00
Sollace
53c0f1aff8 Add corruption stat and fix level and xp not actually being saved 2022-09-01 22:54:34 +02:00
Sollace
50b709fa3c More rewrites and allow for adding recipes to book pages 2022-09-01 22:28:55 +02:00
Sollace
0bc9f447f6 Change level effects to be scaled so we can allow arbitrarily high caster levels 2022-09-01 22:28:27 +02:00
Sollace
bb09feca7e Rewrite dynamic page contents to allow adding more types of elements 2022-09-01 22:27:18 +02:00
Sollace
af385ac671 Add newline character support and fix some text wrapping incorrectly 2022-09-01 20:05:00 +02:00
Sollace
85bb51ed78 level < 0 means never show this page 2022-09-01 20:04:36 +02:00
Sollace
30011407f4 This time actually do fix hitboxes 2022-09-01 20:03:54 +02:00
Sollace
978d336b96 Add tabs with chapters and pages to the spellbook, add a profile page with character levels and mana, and contents for the introduction chapter 2022-08-31 23:58:49 +02:00
Sollace
a73a7af43c Fixed unable to break the crystal heart after being placed 2022-08-31 23:56:43 +02:00
Sollace
1e20dd908f Fixed empty rows in the recipe tree 2022-08-29 14:51:07 +02:00
Sollace
5b0d3bb770 Fixed snow being placed in illegal positions 2022-08-29 14:48:07 +02:00
Sollace
b894665d65 Implement the replace flag for state maps 2022-08-29 14:47:25 +02:00
Sollace
4cfa493654 Register the state map loader 2022-08-29 14:46:59 +02:00
Sollace
1de9313610 Move state maps to resources 2022-08-29 00:47:39 +02:00
Sollace
3d704b7def Mixed multiple sounds playing when interacting with the spellbook's crafting grid 2022-08-28 18:47:33 +02:00
Sollace
6ed0bb1859 Fixed trait merging recipe and botched gems appearing when they shouldn't 2022-08-28 18:00:28 +02:00
Sollace
99effcfd8f Fix some sizing issues with the trait tooltip renderer and render undiscovered traits as as obfuscated 2022-08-28 18:00:02 +02:00
Sollace
48f5943a5b Implement botched gems: Crafting a combination that doesn't result in a working spell will now produce a "botched gem" that's only useful for collecting traits. 2022-08-28 17:12:33 +02:00
Sollace
60acaf64dd Fixed exception whilst reloading resources 2022-08-28 15:54:00 +02:00
Sollace
5077d04193 Fix mixin sig 2022-08-27 18:12:44 +02:00
Sollace
f210d1cd9f Rebalance the metamorphosis potion and turn players' hearts black when they're turning 2022-08-27 18:07:26 +02:00
Sollace
cf07f5d341 Fix server crashes due to late initialisation of registered values 2022-08-27 16:39:56 +02:00
Sollace
03bb4f654c Fixed race descriptions 2022-08-27 15:57:13 +02:00
Sollace
52a4643ece Fixed error whilst executing the /race command 2022-08-27 15:51:49 +02:00
Sollace
b1a979eb24 Add utility for creating identifiers with the mod's namespace 2022-08-27 15:25:02 +02:00
Sollace
09e0bcd7b2 Rewrite races to use a registry 2022-08-27 15:07:29 +02:00
Sollace
4699788472 1.19 -> 1.19.2 2022-08-27 12:33:53 +02:00
Sollace
c10b9e8e3a Nerf food poisoning effect 2022-06-25 00:33:57 +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
d94626e094 Added advancements and recipes for crafting muffins 2022-04-01 00:40:39 +02:00
Sollace
a878fd0d6c Muffins now float in water, as they should 2022-04-01 00:39:08 +02:00
Sollace
3255eacd18 Fixed sun blindness being incorrectly applied on the client when changing dimensions. Closes #55 2022-03-28 19:34:55 +02:00
Sollace
b35c592569 Add a bit of randomisation to muffins' rtajectories when they bounce 2022-03-27 18:16:03 +02:00
Sollace
e0f6ab8937 Muffins should bounce off of entities 2022-03-27 18:15:29 +02:00
Sollace
c84a38cefb Slight cleanup, fixed a duplication bug, and make it so muffins don't deal any damage 2022-03-27 17:55:02 +02:00
Sollace
d9d56c634c Pigs love muffins 2022-03-27 17:47:52 +02:00
Sollace
2c77cfb4c3 Added muffins 2022-03-27 16:02:14 +02:00
Sollace
83b110a8d3 Prevent sun blindness effect when leaving postals. Should fix #55 but can't really reproduce 2022-03-27 00:38:32 +02:00
Sollace
26b0f3567e Fixed batponies' vision giving strange results on higher brightness settings 2022-03-27 00:36:47 +02:00
Sollace
abe8142482 We no longer replace the vanilla apple item. 2022-03-27 00:22:08 +02:00
Sollace
75a63e7a97 Fixed crash due to skeletons stealing items/having their bows stolen. Closes #53 2022-03-26 21:51:28 +02:00
Sollace
8aebf82eff Make stressed enchantment less nauseating. (Though not by too much, it is a curse after all) Closes #52 2022-03-26 21:41:35 +02:00
Sollace
a672f8cec7 Adjust rarities of enchantments (turns out common is way too common - weight is 10). May help with #52 2022-03-26 21:40:45 +02:00
Sollace
9f46fe9270 1.18-pre -> 1.18.2 2022-03-26 21:34:15 +02:00
Sollace
ddbf75a44f Move various gravitation/force/physics stuff to a utility class 2022-03-26 18:35:08 +02:00
Sollace
ef91ee0146 Reduce butterfly lag. Should help a bit with #50 2022-01-26 16:03:01 +01:00
Sollace
66255ad61d Fixed disguises (spells) not clearing properly when removed by the server #47 2022-01-26 12:06:05 +01:00
Sollace
6d48b1ad57 Fixed molting season advancements #45 2022-01-14 11:09:01 +02:00
Sollace
9f3f012c93 Fixed crash in production due to method name changes 2022-01-14 10:11:00 +02:00
Sollace
09f76a4286 Fixed disconnect when joining a multiplayer server 2022-01-12 14:26:00 +02:00
Sollace
472034bf15 Start with no recipes and unlock them as you discover spells 2022-01-12 13:03:36 +02:00
Sollace
81482c61c7 Fixed crash at startup 2022-01-12 11:20:35 +02:00
Sollace
9170337d5e When firing, place a black hole where the projectile lands 2022-01-11 20:58:54 +02:00
Sollace
bf413d36c0 Add a sound to the beam 2022-01-11 20:42:50 +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
dccce36445 Fixed bracelets being offset on armor stands (not needed any more since we fixed the model) 2022-01-11 12:21:35 +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
7578b02867 Fix bangle being in the wrong place for steve 2022-01-06 15:31:10 +02:00
Sollace
ea38a6f1ff Added a wing spreading animation 2022-01-05 18:54:54 +02:00
Sollace
188c3a5523 Set custom subtitles for our sounds 2022-01-05 18:54:33 +02:00
Sollace
eaa3c8a2a5 Fixed bracelet rendering offset on armor stands 2022-01-04 18:14:34 +02:00
Sollace
c6bb37546d Added sound effect when waving 2022-01-04 18:14:18 +02:00
Sollace
621c893daa Earth ponies can now kick at any time and the target location for the kick is more accurate to where a pony would kick. This means that if you're a pony, the tree has to be behind you. Humans still kick forwards. 2022-01-04 18:00:06 +02:00
Sollace
e805354043 Hook up a stomping animation 2022-01-04 17:58:31 +02:00
Sollace
9fc4c384cb Fixed bracelets being offset slightly 2022-01-04 17:58:16 +02:00
Sollace
fbc82ec6bc Added an emote command, further refine animations, add some new animations 2022-01-04 17:57:57 +02:00
Sollace
bce1e5c8c1 Added player animations for doing things like casting spells and kicking 2022-01-03 22:54:07 +02:00
Sollace
4e621434af Further optimise sphere rendering 2022-01-03 19:42:04 +02:00
Sollace
256cbdcabc Fixed spell crafting 2022-01-03 14:06:03 +02:00
Sollace
c3af3f9631 Fixed missing sound when equiping the bangle and amulets 2022-01-02 23:54:08 +02:00
Sollace
fe831f3099 The bangle of comradery is now visible on your arm in first person 2022-01-02 23:53:44 +02:00
Sollace
6f034f27fc Items such as the bangle and amulets will now render on pony models 2022-01-02 20:17:40 +02:00
Sollace
758c67bd0f Fixed bangle's broken texture 2022-01-02 18:17:00 +02:00
Sollace
497ed10cf4 If there isn't a primary ability, use the passive ability instead 2022-01-02 18:07:28 +02:00
Sollace
f5d4bfeb5e Fixed pick up ability not functioning correctly 2022-01-02 17:37:43 +02:00
Sollace
3d86feca0d Reduce the warmup time for firing a spell 2022-01-02 00:49:54 +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
e3d1f8c973 Fixed light sources not being removed after light-emitting entities are removed 2022-01-01 19:14:37 +02:00
Sollace
40714b243e Fixed particles not being respawned after the player has left the area 2022-01-01 17:24:10 +02:00
Sollace
3fa945d97a More work on the hud and spell dismissal dialogue 2022-01-01 17:23:28 +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
fb632446ec Fixed broken texture when multiple particles are on screen 2022-01-01 01:23:29 +02:00
Sollace
c8a3b7d64d Fixed ability orders randomly changing 2022-01-01 01:03:22 +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
c84fda37c4 Send quick-time actions to the server so they can work properly 2021-12-31 16:17:41 +02:00
Sollace
d84a607046 Fixed frosted obsidian turning into water when mined 2021-12-31 15:47:29 +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
0532aafa83 Added tap, double-tap, and triple-tap gestures 2021-12-31 15:31:23 +02:00
Sollace
3a39f9c9e4 Added frosted obsidian 2021-12-31 15:29:30 +02:00
Sollace
117bbd797a Added a visual effect to entities spawned by the necromancy spell 2021-12-30 22:44:46 +02:00
Sollace
26fb68d50f Fixed necromancy spell constantly spawning new entities 2021-12-30 22:41:34 +02:00
Sollace
855c2b2a49 Fixed null exception in the dynamic target goal 2021-12-30 00:59:31 +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
9f5d20e011 Fixed rain not properly starting when throwing a cloud in a jar and added lightning effects to the storm in a jar 2021-12-29 21:16:12 +02:00
Sollace
26df9fc8d3 Fixed missing particle effect when throwing a cloud in a jar 2021-12-29 21:15:46 +02:00
Sollace
0f4e72a55b Change the ice spell to produce frosted ice instead of regular ice 2021-12-29 20:13:23 +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
097aa1d8cf Catch exceptions from ticking spells 2021-12-29 17:18:26 +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
de6f9a92d4 Added /trait 2021-12-28 18:22:08 +02:00
Sollace
3cec6de107 Switch to using the vanilla tag for blocks that mine with a pickaxe 2021-12-28 03:35:39 +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
c31eba5f04 Prevent transforming into paintings, item frames, or leash knots. Fixes #39 2021-12-28 02:58:07 +02:00
Sollace
8edf3cee6c Fix #40 2021-12-28 02:42:56 +02:00
Sollace
75fbfb9c11 Use the lightning particle instead of lightning entities 2021-12-28 02:20:08 +02:00
Sollace
f1c4d8301e Added a custom lightning particle for doing lightning type things 2021-12-28 02:19:26 +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
a8d2a28900 Rename the fairy into a twittermite 2021-12-27 14:05:31 +02:00
Sollace
7ec631ddcd Improved following behaviour of fairies 2021-12-27 13:45:44 +02:00
Sollace
135c8933fd Add sounds for the fairy 2021-12-27 13:04:50 +02:00
Sollace
b7e119a57b Use CompletableFuture for delaying things 2021-12-27 13:04:35 +02:00
Sollace
596e01cc24 Added fairies 2021-12-27 02:15:48 +02:00
Sollace
6a84f5d8b6 Fixed magic particles not randomising their colours when they're supposed to 2021-12-27 02:15:17 +02:00
Sollace
baa3700748 Fixed crash when ticking a projectile with no loaded owner 2021-12-27 02:14:48 +02:00
Sollace
f402403964 Black holes shouldn't function when fired as a projectile 2021-12-26 20:35:43 +02:00
Sollace
878ed2563b Fixed particles not being removed when attached to a projectile 2021-12-26 20:35:25 +02:00
Sollace
6337b86219 Fixed incorrect block state conversion turning water into ice 2021-12-26 20:35:05 +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
9460957c56 Fixed magic particles not using the correct colours 2021-12-26 16:09:59 +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
56af8f80ba Added general particle effects that follow a point of entity 2021-12-26 10:49:34 +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
59db55aa63 Update player dimensions when the flight type changes. Should fix #38 2021-12-24 23:00:26 +02:00
Sollace
be0317de1b Move target selection for shields into a separate class 2021-12-24 22:59:20 +02:00
Sollace
7eacbc7f4a Cleanup and remove some unused code 2021-12-24 22:59:03 +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
17c175c8ce Play a sound when casting a spell successfully 2021-12-24 18:36:12 +02:00
Sollace
301c68218e Wrap text in the gemstone's tooltips 2021-12-24 18:35:12 +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
62e5ab01cc Tiny bit of cleanup 2021-12-24 16:36:40 +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
Sollace
b11fabdecb Unicorns can now equip spells to their active and passive ability slots 2021-12-23 18:52:40 +02:00
Sollace
f10dcb59ec Distance the disguises system from the magic system and make it possible to have different diguise spells 2021-12-22 16:43:17 +02:00
Sollace
e3bd201f0a Fix the firebolt spell 2021-12-22 15:05:46 +02:00
Sollace
c30eac20c3 Fixed casting 2021-12-22 15:05:16 +02:00
Sollace
eca5ab3e2b Fixed dead spells not being removed correctly 2021-12-22 14:15:51 +02:00
Sollace
f2a6bf36d4 Fix bugs with spell syncing 2021-12-22 13:12:51 +02:00
Sollace
2489ea7769 Clean up particle code a little 2021-12-22 13:10:45 +02:00
Sollace
aec9692439 Fixed crash upon joining a world 2021-12-22 11:15:21 +02:00
Sollace
2cae459eb8 1.17 -> 1.18 2021-12-22 11:15:09 +02:00
Sollace
f3d6c7ce28 Work on allowing more than one spell to be attached 2021-12-21 18:26:23 +02:00
Sollace
bb50b20be4 Slightly clean up flight and dimensions predicates 2021-12-12 13:10:24 +02:00
Sollace
2cb57f85f2 Change catapult to also push entities forward in the direction you're looking 2021-12-12 12:49:51 +02:00
Sollace
1b82f7e9b5 Added the firebolt spell 2021-12-12 12:49:30 +02:00
Sollace
c0eeb5b5e1 Added the catapult spell type 2021-11-22 00:48:40 +02:00
Sollace
9bb2818c2c Fixed serialization of delegate spell types 2021-11-22 00:48:22 +02:00
Sollace
7d830a3474 Added a feather fall spell 2021-11-21 18:50:02 +02:00
Sollace
cbc8c6a6de Fixed slots rendering in front of tooltips 2021-11-21 18:48:56 +02:00
Sollace
536172791e Fix layering of slot textures 2021-11-21 00:25:30 +02:00
Sollace
5bb982ab85 You can now see which traits are unread and mark them read by clicking 2021-11-21 00:25:14 +02:00
Sollace
d45c1aa146 Display a gem in the output slot as a hint for what you're supposed to put there 2021-11-20 16:40:53 +02:00
Sollace
1da86cda06 Add a toast message when discovering traits 2021-11-20 16:40:23 +02:00
Sollace
5b9f548585 Fixed z-index of tooltips putting them behind the paging buttons 2021-11-18 00:10:29 +02:00
Sollace
ed3155988a Fix cutoff at the bottom of the discoveries container 2021-11-18 00:10:06 +02:00
Sollace
8a6c23f18e Populate the tooltips for traits 2021-11-18 00:09:40 +02:00
Sollace
bee5e0049a Add a page flipping animation to the spellbook 2021-11-18 00:09:06 +02:00
Sollace
8124731f58 Fixed traits not appearing correctly in tooltips 2021-11-17 22:33:35 +02:00
Sollace
c8fc88711d Only play a sound when the stack changes 2021-11-17 22:33:20 +02:00
Sollace
68bcd5a467 Implement various parts of the spellbook screen 2021-11-17 21:00:59 +02:00
Sollace
60d5d56864 Added icons for each trait and display known traits on item tooltips 2021-11-14 01:18:12 +02:00
Sollace
0beaaa4603 Fixed exception when encountering unknown traits whilst loading from json 2021-11-13 23:27:57 +02:00
Sollace
aed4efcbbe Fixed uncaught exception when loading trait maps 2021-11-13 23:07:21 +02:00
Sollace
2f1d473262 Implement traits to modify spell behaviours 2021-11-13 19:31:45 +02:00
Sollace
78a33deb72 Assign traits to items (wip) 2021-11-13 19:31:24 +02:00
Sollace
338491d052 Expand on spell crafting 2021-11-13 00:05:42 +02:00
Sollace
7949ccff2e Play a sound when crafting succeeds 2021-11-11 20:51:58 +02:00
Sollace
8aea7d326f Implement crafting using traits, and trait discovery, AND show known traits in item tooltips 2021-11-11 20:51:25 +02:00
Sollace
1768420b66 Fixed quick-transfer of stacks in the spellbook screen 2021-11-10 21:51:51 +02:00
Sollace
acd2b9c795 Implement a gui for the spellbook 2021-11-10 19:26:25 +02:00
Sollace
920ded15eb Fix case 2021-11-10 10:23:22 +02:00
Sollace
3565060404 Clean up the spellbook logic a little 2021-11-09 21:42:01 +02:00
Sollace
48a45e6268 Re-added spellbooks 2021-11-09 18:29:55 +02:00