Commit graph

1170 commits

Author SHA1 Message Date
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
Sollace
e386e040ea Fixed mana cost for cast spells not being passed on to the player 2021-03-06 12:26:54 +02:00
Sollace
c188b9c7cb Siphoning spell should stay angry for as long as there are entities still inside it 2021-03-06 12:08:14 +02:00
Sollace
6d3d8051fe A little more cleanup to the magic system 2021-03-06 11:58:44 +02:00
Sollace
d27de0f690 The siphoning spell can now get angry if you misuse it 2021-03-05 21:07:49 +02:00
Sollace
b27ff8c5f0 Reduce the chances of the siphoninh spell breaking when you misuse it 2021-03-05 20:56:00 +02:00
Sollace
690613b950 Fixed siphoning spell not dying properly/duplicating its particle each time 2021-03-05 20:53:17 +02:00
Sollace
4c1f5a4ba5 Fixed spells dissapearing when reloading the world, and respawn the spell entity if it dies 2021-03-05 20:52:49 +02:00
Sollace
fc8c68c100 Fix error when receiving capabilities for an invalid player 2021-03-05 20:08:20 +02:00
Sollace
1cb6c6ac00 Fixed crash due to null spell slot 2021-03-05 19:22:27 +02:00
Sollace
51ed3fe2e2 Change onThrownTick to receive the actual type rather than just a caster 2021-03-05 19:22:09 +02:00
Sollace
c9abb1a0f8 Link the spell to the entity it spawns 2021-03-04 23:30:43 +02:00
Sollace
3211b232cf Cast spells are now their own entity (should fix problems with spells dissapearing/not appearing at the correct location in muliplayer) 2021-03-04 22:35:49 +02:00
Sollace
f511e2b346 Clean up 2021-03-03 20:32:51 +02:00
Sollace
c21e492482 Use a single implementation for converting blocks 2021-03-03 20:31:34 +02:00
Sollace
8d0552995b Whoops 2021-03-03 20:09:06 +02:00
Sollace
afd437d9cf Polish up the inferno spell and refactor block state mapping a little 2021-03-03 20:08:01 +02:00
Sollace
3fda44eba6 Adjust the color for the necro spell 2021-03-03 20:08:01 +02:00
Sollace
d172511777 Fixed spells not being cleared when respawning 2021-03-03 20:08:01 +02:00
Sollace
c9670a3d3c Polish up the siphoning and necro spells 2021-03-03 20:08:01 +02:00
Sollace
3bb4d36a7e Added a runes particle 2021-03-03 20:07:52 +02:00
Sollace
269db7bdc9 Further cleanup to the magic system 2021-03-03 11:33:23 +02:00
Sollace
b3e196c404 Perform the flattening on the spells 2021-03-02 22:12:28 +02:00
Sollace
51b541091e Only unicorns can see what a specific gem does 2021-03-02 20:12:57 +02:00
Sollace
a50cc0d117 Flightly fix the logic for when the cast abilities should fail 2021-03-02 19:38:54 +02:00
Sollace
c5fdb9167f Further rewrites to the magic system 2021-03-02 17:58:24 +02:00
Sollace
a58c6a0a44 More work on spells and gemstones 2021-03-02 15:40:37 +02:00
Sollace
4843a5c5f8 Casting a spell from a gem will now consume the spell but leave the gem 2021-03-01 15:09:38 +02:00
Sollace
b9fa4b072d Fix some issues with spells 2021-03-01 15:09:17 +02:00
Sollace
859458baa6 Fix crash when spawning the raindrops particle 2021-03-01 15:07:51 +02:00
Sollace
b9679a3706 Spells can now be obtained via gemstones 2021-03-01 12:56:30 +02:00
Sollace
782bb86f0c Fixed ground pound not triggering properly if the player's fall event doesn't trigger. Closes #29 2021-03-01 09:42:51 +02:00
Sollace
0cd45ad1ae Fixed ground pound not taking into accoutn the player's gravity 2021-03-01 09:41:55 +02:00
Sollace
f0e43cdbe7 Rotate ponies wings to match when the player flaps their wings 2021-03-01 09:41:14 +02:00
Sollace
fd65f1b9e1 A few minor tweaks to how feathers fall and attempt to fix falling in inverted gravity 2021-02-28 16:37:38 +02:00
Sollace
cd010adc10 Added a way to obtain feathers from mansions and mineshafts 2021-02-28 16:03:26 +02:00
Sollace
701716f167 Pegasi will drop pegasus feathers while flying 2021-02-28 12:14:37 +02:00
Sollace
b625824270 Remove unused class 2021-02-28 12:12:57 +02:00
Sollace
18393d104d Feathers will now float gently to the ground when dropped 2021-02-28 12:12:46 +02:00
Sollace
f067e67eca Fixed wings of icarus not having correct angles when worn by a mob 2021-02-27 22:57:32 +02:00
Sollace
002ace1846 Wings of icarus will become corrupted when in the nether 2021-02-27 22:35:07 +02:00
Sollace
1992a1fd53 Add particle effects and sound effects when adding/removing the wings of icarus 2021-02-27 22:06:25 +02:00
Sollace
f8e19cc17a Separate wing and amulet rendering and give the wings of icarus their own texture 2021-02-27 22:05:57 +02:00
Sollace
0221451543 Fixed not being able to right-click to equip amulets 2021-02-27 18:42:29 +02:00
Sollace
63e61826e8 Hook into MineLP to fix rotation whilst flying 2021-02-27 18:09:57 +02:00
Sollace
163afc9047 Added a renderer for worn amulets and wings 2021-02-27 17:47:54 +02:00
Sollace
59c2f400d0 Added gemstones, feathers, and Wings of Icarus 2021-02-27 12:24:09 +02:00
Sollace
42670af93b Reduce the chances of there being a NPE here 2021-02-26 13:41:19 +02:00
Sollace
c2a959f031 Fixed hud element appearing on the pause screen 2021-02-24 12:17:40 +02:00
Sollace
bd74a03b8b More AI fixes for inverted entities 2021-02-23 23:49:14 +02:00
Sollace
b0c621b4b6 Fixed inverted entities looking up when they should be looking down 2021-02-23 23:48:44 +02:00
Sollace
8ae70da8e8 Don't invert whilst sleeping 2021-02-23 19:36:10 +02:00
Sollace
e687dfcfcf Minor thing 2021-02-23 19:24:53 +02:00
Sollace
ca1fda7de2 Move physics logic into the physics class and properly reset navigation/eye level when gravity changes 2021-02-23 19:02:23 +02:00
Sollace
8f75122d79 Fixed player getting stuck on slabs and stairs when in inverted gravity 2021-02-23 18:46:05 +02:00
Sollace
1ef7e1bf73 Le mixin 2021-02-23 18:09:24 +02:00
Sollace
e0943fa48f Fixed players cancelling flight in creative whenever they touch something 2021-02-23 18:09:14 +02:00
Sollace
bc9ecd798d Workaround for entity pathfinding in inverted gravity 2021-02-23 18:08:50 +02:00
Sollace
8ebead92a9 Fixed incorrect angles/improved rotation when in negative gravity 2021-02-23 18:08:17 +02:00
Sollace
a69bcb5419 Fix #28 2021-02-22 23:12:08 +02:00
Sollace
6cda15c0d7 Fixed gravity boots not working with disguises correctly 2021-02-22 22:42:10 +02:00
Sollace
b6302ecf15 1.16.4 -> 1.16.5 2021-02-22 21:56:06 +02:00
Sollace
ad74e50e35 Improve negative gravity handling on dropped items 2021-02-22 15:54:24 +02:00
Sollace
5821e13728 Fixed items not saving their state correctly 2021-02-22 15:53:59 +02:00