Commit graph

1285 commits

Author SHA1 Message Date
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
de1b597ab7 Added a loot table for frosted obsidian 2021-12-31 15:47:45 +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
c676abaedf Fix all the recipes 2021-12-29 17:50:32 +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
f921beb062 Updated names and descriptions that are less uuuuugh 2021-12-24 18:35:44 +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
ab9d266f79 Added better lore (actually describes what the spells do) 2021-11-22 00:49:09 +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
95378ea50e Update fabric loader 2021-11-14 01:17:33 +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
Sollace
38e3693384 Minor cleanup and documentation tweaks 2021-11-08 14:43:19 +02:00
Sollace
2890bc3e07 Further work on spell traits and clean up how projectile spells are handled 2021-11-08 14:25:59 +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
27f143982e Earth Ponies can now steel themselves against damage by sneaking 2021-09-18 22:03:06 +02:00
Sollace
7a3a441cb6 Fixed modified fall damage 2021-09-18 20:05:34 +02:00
Sollace
9f33c7d881 Added utility recipes for rocks and pebbles 2021-09-03 00:48:11 +02:00
Sollace
62714f771b Require pickaxe for mining rocks 2021-09-03 00:47:48 +02:00
Sollace
430ee9a85e Fixed crash when teleporting 2021-09-03 00:47:34 +02:00
Sollace
e6223c8de1 Fixed using bonemeal on rocks consuming the bonemeal when it shouldn't 2021-09-03 00:47:23 +02:00
Sollace
77aeaabf78 Added weird rocks 2021-09-03 00:02:34 +02:00
Sollace
bb0405917f Update rock textures and make rock stew edible 2021-09-02 23:44:53 +02:00
Sollace
a9dfbbf70c Fix translations 2021-09-02 23:44:34 +02:00
Sollace
f4e20d13e7 Added advancements for pegasi 2021-09-02 20:12:09 +02:00
Sollace
3b4b0e66a1 Added recipe advancement for rock stew 2021-09-02 20:10:21 +02:00
Sollace
5894c8745c Play a sound when a pegasus drops a feather 2021-09-02 19:27:05 +02:00
Sollace
6e9a9f47de Make some slight tweaks to wall collission cooldowns 2021-09-02 19:26:38 +02:00
Sollace
c4e102e74b Fixed stats for falling not being tracked correctly 2021-09-02 19:19:11 +02:00
Sollace
ae1f49bd13 Earth Ponies can now sneak to reduce their fall damage 2021-09-02 19:17:46 +02:00
Sollace
c0df819a4c Change juice recipe to be shapeless 2021-09-02 19:17:31 +02:00
Sollace
62a8aff4e0 Added pebbles, rocks, and rock stew 2021-09-02 19:11:51 +02:00
Sollace
27b14dc06f Fixed rubberbanding when flying in multiplayer 2021-08-26 18:51:58 +02:00
Sollace
3e3dd63362 Fixed Want It Need It and changeling abilities causing client disconnects in multiplayer 2021-08-26 00:09:17 +02:00
Sollace
171aa3b744 Jars will now use the correct damage and enchantment modifiers of their contained item the striking and entity 2021-08-25 21:43:38 +02:00
Sollace
4b40325aaf Added an icon for the food poisoning effect 2021-08-25 21:43:00 +02:00
Sollace
900d22d187 Added missing translation and icon for the corrupted influence status effect 2021-08-25 21:42:44 +02:00
Sollace
e9e238dd3d Remove the old WorldEvent util. This is no longer needed in 1.17 2021-08-25 14:22:11 +02:00
Sollace
96d2e7b1f9 Minor cleanup 2021-08-25 14:10:17 +02:00
Sollace
bd49bdd52e Remove a debug message 2021-08-25 14:03:29 +02:00
Sollace
dda6576731 Fixed wings not responding to your velocity when jumping (whithout flying) 2021-08-25 14:01:49 +02:00
Sollace
c3e854fdd1 Added a transformation spell 2021-08-25 00:32:39 +02:00
Sollace
465d86cffd Fix typo 2021-08-24 22:33:41 +02:00
Sollace
f3dfb071a6 Made wandering traders slightly more useful 2021-08-24 22:33:11 +02:00
Sollace
f8443242ba Move golden wing and added enchanted gems to wandering traders' trades 2021-08-24 21:44:52 +02:00
Sollace
6d5dd4a091 Move UEntities and UTradeOffers to the entity package 2021-08-24 21:15:43 +02:00
Sollace
61f5c1bdab Move trade offers to its own class 2021-08-24 21:14:18 +02:00
Sollace
95231f181f Rewrite player dimensions calculations to avoid messing with dimensions when we don't have to (should improve compatibility) 2021-08-23 23:09:13 +02:00
Sollace
6fbcce7c22 Prevent flying sounds from playing whilst disguised 2021-08-23 23:08:03 +02:00
Sollace
0d06f13ee5 Fixed other players appearing "stuck" in flight mode when playing in multiplayer 2021-08-23 20:22:14 +02:00
Sollace
f8f415f255 Added trade offers to convert gems into emeralds 2021-08-23 16:32:28 +02:00
Sollace
029557214b Update loot tables for 1.17 2021-08-23 15:38:35 +02:00
Sollace
3c59ff2963 Added a recipe to craft crystal shards from diamonds 2021-08-23 15:38:02 +02:00
Sollace
46d18af8d6 Added butterfly as a food item 2021-08-23 15:37:44 +02:00
Sollace
cd97867678 Improved butterfly ai, made it so they will visit flowers to breed 2021-08-23 13:42:04 +02:00
Sollace
56643db555 Fixed some other sound weirdness 2021-08-22 23:49:00 +02:00
Sollace
9f4713018f Added heartbeat sound to the exhaustion effect 2021-08-22 23:48:46 +02:00
Sollace
8932c17c6d DAMMIT MOJANG 2021-08-21 00:00:47 +02:00
Sollace
1a211095ae Trees can now have mismatched trunks and leaves, and added support for trees added by mods with no explicit mapping 2021-08-20 23:52:17 +02:00
Sollace
138b9e19b4 Adjust spawning rates for crystal shards 2021-08-20 23:17:44 +02:00
Sollace
58e4fd5ba9 Moved tree stuff to its own package 2021-08-20 22:25:46 +02:00
Sollace
320e279d27 Added an azalea tree type 2021-08-20 22:22:45 +02:00
Sollace
121bcfb782 Moved tree detection to the server 2021-08-20 22:22:28 +02:00
Sollace
763510df5b Minor optimisation 2021-08-20 22:22:12 +02:00
Sollace
2f32cdf6bb Fixed crash when disguising as a block with a block entity 2021-08-19 21:24:42 +02:00
Sollace
762b211124 Butterflies will now spawn in the world and repopulate if killed 2021-08-19 21:24:09 +02:00
Sollace
0716c5bf20 Added model for butterfly spawn eggs 2021-08-19 21:23:28 +02:00
Sollace
f41c64c732 Fixed butterflies not taking off when you break the block they're sitting on 2021-08-19 19:52:56 +02:00
Sollace
9c5768b737 Re-added butterflies 2021-08-19 19:52:35 +02:00
Sollace
6e4c433276 Fixed broken description for the night route advancement 2021-08-19 19:52:13 +02:00
Sollace
7931a0b973 Nerf the corrupt influence damage boost slightly 2021-08-19 16:32:38 +02:00
Sollace
ef8309e86d Remove the CustomStatusEffect class 2021-08-19 16:31:19 +02:00
Sollace
7e2ff3fc07 Players wearing the alicorn amulet will have a corrupting influence on entities that are around them 2021-08-19 16:30:05 +02:00
Sollace
a2512f293a More advancements, I say, more! 2021-08-19 14:43:15 +02:00
Sollace
76be400a32 Fix the cider brewing advancement 2021-08-19 13:30:03 +02:00
Sollace
6c08e5603c Adjust limb angle when flying 2021-08-19 13:29:44 +02:00
Sollace
aff0a488a4 Continuing to eat/drink a food will prolong the effects 2021-08-19 13:16:22 +02:00
Sollace
c8b2bc8b5f Fixed effects for drinking cider 2021-08-19 13:15:59 +02:00
Sollace
f970950bd4 Add an advancement for brewing cider 2021-08-19 13:15:26 +02:00
Sollace
86d9e3a2d8 Add xp rewards for some of the advancements 2021-08-19 12:04:38 +02:00
Sollace
425a987776 Might as well force this onto the client thread 2021-08-19 01:31:22 +02:00
Sollace
90e4737910 Fixed another crash due to sounds playing off-thread 2021-08-19 01:30:07 +02:00
Sollace
51082fdf90 Added a bunch of new advancements 2021-08-19 01:29:49 +02:00
Sollace
83f604677d Move effects to the effects package 2021-08-18 23:27:57 +02:00
Sollace
4c3831fb8a Added a background sound effect when flying as a pegasus 2021-08-18 20:14:22 +02:00
Sollace
ab442461d3 Fixed disguises not being rotated properly when using mine little pony 2021-08-18 20:13:52 +02:00
Sollace
8081d4c1a6 Apply rolling to the player's model when flying 2021-08-18 20:13:22 +02:00
Sollace
90c89f89c1 Finish the exhaustion effect 2021-08-18 20:13:02 +02:00
Sollace
e287ab165f Adjust volume of the gem finding enchant 2021-08-18 20:11:37 +02:00
Sollace
cdec84e83e Removed hud fading and fixed some blending bugs 2021-08-18 17:42:30 +02:00
Sollace
e8dc6af654 Fixed particle textures 2021-08-18 17:42:10 +02:00
Sollace
ca787254f2 Added a separate stat for magical exhaustion 2021-08-18 17:41:54 +02:00
Sollace
d75d48d13d Fixed crash with axolotl disguises 2021-08-18 17:32:05 +02:00
Sollace
b4b567c647 Rewrite the disguise command. Admins can now disguise yourself as a named player, and change the disguises of other players 2021-08-18 17:31:39 +02:00
Sollace
0e007b3611 Fixed player-like disguises 2021-08-18 17:30:59 +02:00
Sollace
85623bd1c0 Fixed crash a player tries to disguise themselves as another player 2021-08-18 12:23:45 +02:00
Sollace
5001a52e41 Tweak flight controls and animations 2021-08-17 22:28:46 +02:00
Sollace
5db8150c02 Added flight sounds for changelings 2021-08-17 20:55:35 +02:00