Commit graph

1230 commits

Author SHA1 Message Date
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
Sollace
536502027d Rewrite food effects and add an insect type 2021-08-17 19:06:04 +02:00
Sollace
c45d6eb86a Fixed ear ringing sound being played multiple times 2021-08-17 19:05:37 +02:00
Sollace
a1c3fa93dd Reimplemented the alicorn amulet 2021-08-15 12:56:40 +02:00
Sollace
21812b613b Fixed amulet rendering 2021-08-13 15:57:07 +02:00
Sollace
eb75923227 Unused import 2021-08-13 14:50:55 +02:00
Sollace
c90635bc8a Allow items following players to cross the last little distance rather than slow down infinitely 2021-08-13 14:50:08 +02:00
Sollace
5557e67a05 Fixed server crashes 2021-08-13 14:49:27 +02:00
Sollace
40ac0dfb00 Added some advancements for bat ponies 2021-08-09 15:20:33 +02:00
Sollace
d68ada8a5b Fix incompatibility with the Origins mod 2021-08-09 13:26:09 +02:00
Sollace
8c30f38cbc Wearing mob heads and pumpkins is an effective way for bat ponies to protect their eyes 2021-08-09 13:25:53 +02:00
Sollace
840519c1b4 Fixed broken tags 2021-08-09 13:24:58 +02:00
Sollace
bf84d19722 Fixed the shotgun creeper bug 2021-08-08 20:08:26 +02:00
Sollace
82a315510e Fixed blaze behaviour not working correctly 2021-08-08 20:08:11 +02:00
Sollace
e080084830 Fix some axolotl angles 2021-08-08 19:21:14 +02:00
Sollace
caf0175155 Added bat wings 2021-08-08 18:36:56 +02:00
Sollace
b11bd928ae The sun will now burn bat ponies' eyes when they go outside 2021-08-08 16:51:12 +02:00
Sollace
96b65a5b1b Make the hud fade out when not being used 2021-08-08 00:32:21 +02:00
Sollace
1feb8c84d2 Fixed hud page numbers starting at 0 rather than 1 2021-08-08 00:31:39 +02:00
Sollace
830275c6ad Added a blaze behaviour 2021-08-08 00:10:45 +02:00
Sollace
8fc9b8c2c1 Simplify this code a little 2021-08-08 00:02:35 +02:00
Sollace
78dd2a93e8 Fixed rendering of disguises in the hud 2021-08-07 22:50:31 +02:00
Sollace
c50d5535c6 Fixed disguises 2021-08-07 22:32:13 +02:00
Sollace
550db7ad97 Fixed various bugs with the commands 2021-08-07 22:32:05 +02:00
Sollace
6d82ecc73b Fixed rendering of shields 2021-08-07 22:31:28 +02:00
Sollace
3673d52511 Added a dedicated lan settings screen 2021-08-07 22:31:09 +02:00
Sollace
aa89e883ad Added a gui for selecting your starting race when first joining a world 2021-08-06 01:06:57 +02:00
Sollace
e132246516 Fixed magic shield particles not rendering 2021-08-06 01:05:41 +02:00
Sollace
62dc7ffa1b Fixed mana bar not rendering 2021-08-06 01:05:13 +02:00
Sollace
85aa627149 Clean up the player physics a little 2021-08-04 16:24:06 +02:00
Sollace
9899b0ea89 Fixed some broken advancements 2021-08-04 15:38:18 +02:00
Sollace
55e990882e 1.16.5 -> 1.17 2021-08-04 15:38:03 +02:00
Sollace
8bfa54b408 Fixed naming being swapped. Derp. 2021-07-22 18:49:07 +02:00
Sollace
e6c3c25ac4 Fixed creative flight being cancelled when bumping into non-solid blocks 2021-07-10 00:20:43 +02:00
Sollace
64c5f2f3f1 Removed canvas interop. Not worth it. 2021-06-26 13:15:54 +02:00
Sollace
5b398c27c7 Extract the networking wrapper to a separate package. 2021-06-26 12:40:35 +02:00
Sollace
fdcb9508a8 Fixed some food behaviour 2021-06-24 22:43:26 +02:00
Sollace
67142f02be Added advancements for all of the recipes 2021-06-24 22:32:45 +02:00
Sollace
6f05db465b Added recipes and loot table entries for some of the food items 2021-06-24 22:12:23 +02:00
Sollace
fd7ca49e3f Added mugs, cider, juice, burned juice, daffodil daisy sandwich, wheat worms, hay burgers, and hay fries 2021-06-21 23:50:12 +02:00
Sollace
f824fd1a90 Squash warning 2021-06-21 22:08:08 +02:00
Sollace
66c7480164 Added rabbit stew to the list of cooked meats 2021-06-21 22:07:12 +02:00
Sollace
6a02f83a43 Slightly simplify the code 2021-06-21 22:05:40 +02:00
Sollace
c59848544a Fixed exception when breaking trees (whilst not looking at one) Closes #33 2021-06-16 00:46:04 +02:00
Sollace
0a06dee124 Move toxics to item tags and add a default for when a food isn't registered 2021-06-12 17:16:42 +02:00
Sollace
241daec138 More work towards making it possible to move state maps to json 2021-06-12 14:54:01 +02:00
Sollace
3c1eaec5d4 Fix issues when loading on a dedicated server 2021-03-22 20:18:31 +02:00
Sollace
f74d7be038 Bump version 2021-03-07 12:19:04 +02:00
Sollace
1147249059 Fixed issues with the disguise spell 2021-03-07 11:20:37 +02:00
Sollace
63c1b4ef7f Yet more refactoring 2021-03-06 23:11:17 +02:00
Sollace
f3b589b307 Use a weighted pool to decide which entities to spawn 2021-03-06 15:27:09 +02:00
Sollace
9c19184910 Keep track of entities summoned and kill then when the spell is cancelled 2021-03-06 14:53:40 +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