Commit graph

1035 commits

Author SHA1 Message Date
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
58e4fd5ba9 Moved tree stuff to its own package 2021-08-20 22:25:46 +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
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
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
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
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
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
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
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
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
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
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
Sollace
709e8892e8 Added tooltips for our own effects 2021-02-22 15:53:38 +02:00
Sollace
3ac781d4f8 Improve gravity handling when applied to non-player entities 2021-02-21 23:18:15 +02:00
Sollace
5a24a6162e Smoothly animate the spinning of the crystal heart 2021-02-21 22:17:37 +02:00
Sollace
ed08cb27ab Fixed combination recipe accepting more than one ingredient 2021-02-21 20:51:51 +02:00
Sollace
afcd59206c Improve Ai performance 2021-02-20 01:34:30 +02:00
Sollace
28532cd890 Minor thing 2021-02-20 00:28:16 +02:00
Sollace
5c4034c218 Yet more minor tweaks and fixes 2021-02-19 20:04:14 +02:00
Sollace
12621518ba Rebalance the stomp ability 2021-02-19 18:53:28 +02:00
Sollace
52f62516fa Added a way to obtain both the rain cloud and storm cloud jars 2021-02-19 18:10:49 +02:00
Sollace
fc5b50a975 Add a particle effect for dropping a cloud in a bottle 2021-02-19 16:56:01 +02:00
Sollace
82bc317bc1 Added recipes for the crystal heart 2021-02-19 10:34:26 +02:00
Sollace
88f284f202 Fixed bed-cannon-causing incorrect thrust speed. Closes #27 2021-02-18 23:03:43 +02:00
Sollace
368e965025 Add a slight vertical jump to entities when performing a stomp 2021-02-18 22:57:55 +02:00
Sollace
73b1f8bd42 Added the Crystal Heart + multi-block structure 2021-02-18 22:30:43 +02:00
Sollace
ee3fdc14c9 Update some names 2021-02-17 21:46:07 +02:00
Sollace
fbbbe9a5c1 Implement the clingy enchantment 2021-02-17 21:41:09 +02:00
Sollace
b18cc97c19 Fixed inverted gravity ladders 2021-02-17 17:05:37 +02:00
Sollace
154c853bbd Added an enchantment that alters the wearer's gravity 2021-02-17 17:05:20 +02:00
Sollace
be59ed0553 Implemented the bounce and poisoned joked enchants 2021-02-16 23:12:09 +02:00
Sollace
ea07545d34 Implement the collaborator enchantment 2021-02-16 16:07:42 +02:00
Sollace
4723f0c7a0 Flying in a storm is now an even worse idea 2021-02-16 13:46:56 +02:00
Sollace
c61801b507 Added some enchantments suggested by kerplamp 2021-02-16 13:39:39 +02:00
Sollace
ec50aadda3 Deal damage based on the modifiers of the contained item 2021-02-14 23:13:36 +02:00
Sollace
63f2604e7e Items in jars should now preserve all of their original attributes 2021-02-14 23:13:12 +02:00
Sollace
b5dc84a139 Added filled jars 2021-02-14 22:15:30 +02:00
Sollace
a94db2025a Redirect lightning into a jar when the player is struck 2021-02-14 18:46:41 +02:00
Sollace
a130087d5d Added jars, empty jars, lightning in a jar, and various storms in a jar 2021-02-14 17:53:44 +02:00
Sollace
82393eedef Consolidate common logic 2021-02-14 17:52:56 +02:00
Sollace
2aae1e6aa0 group_teleport -> teleport_group so it's sorted to the right page 2021-02-13 23:12:02 +02:00
Sollace
fef8de15d8 Unicorns now have the option to takes friends with them when they teleport (at an extra cost) 2021-02-13 19:59:12 +02:00
Sollace
209ddbb972 Fixed page count not being computed correctly when first joining a world 2021-02-13 19:24:25 +02:00
Sollace
143ca8c655 If you happen to kick a tree with a bee's nest, you will inadvertantly anger the bees. 2021-02-13 13:51:01 +02:00
Sollace
0dc3860966 Rewrite and improve tree traversal 2021-02-13 13:50:24 +02:00
Sollace
bbe7f67b7b Isolate canvas from everything else 2021-02-10 20:36:19 +02:00
Sollace
5d6206ffc5 Switch to the new networking api 2021-02-10 18:33:21 +02:00
Sollace
62ca1de596 Added support for a glowing effect around glowing bracelets when canvas is installed 2021-02-10 13:18:01 +02:00
Sollace
a566dd2075 Add an audio confirmation when an ability fails to activate/doesn't fulfil its requirements to activate 2021-02-09 20:44:05 +02:00
Sollace
d48dc92528 Add the ability to change the species whitelist from the settings screen 2021-02-09 20:43:19 +02:00
Sollace
310721375b A minor simplication 2021-02-07 19:59:10 +02:00
Sollace
9e8d18b8e3 Fixed saving of settings and added a configuration screen 2021-02-07 19:57:35 +02:00
Sollace
442b361f6d When putting a bangle on an armour stand make sure the armour stand has an arm to hold it 2021-02-07 18:00:26 +02:00
Sollace
8f68b6414f Add a ground_pound particle and rework the ground pound ability to only trigger when you actually reach the ground 2021-02-05 21:19:41 +02:00
Sollace
120fd6eb38 Added friendship bracelets! 2021-02-03 22:25:42 +02:00
Sollace
6ffff32718 Added a health drain particle for changelings, fixed changeling feed having too wide of a radius, and fixed particles not spawning on the clients 2021-02-02 12:52:50 +02:00
Sollace
d02cd4226f Send block destructions on a per-chunk basis to nearby players 2021-02-01 20:33:39 +02:00
Sollace
a28cafb421 Fix mixin issue 2021-01-30 22:33:27 +02:00
Sollace
3fd161a0d2 Change the energy consumption counter to be per-entity, adjust consumption rates, and scale the number of entities you can defend from by the caster's experience level 2021-01-30 18:34:53 +02:00
Sollace
186d7cdbee Smooth out consumption of food levels/fix food consumption being roudned UP 2021-01-30 18:32:04 +02:00
Sollace
f885198085 Fixed food levels going out of sync between the client and the server 2021-01-29 19:22:43 +02:00
Sollace
8f654177ec Rebalance the energy cost calculation for shields 2021-01-29 19:22:04 +02:00
Sollace
615e4c3788 Fixed the focused/unfocused forms of magic missile (whoops) 2021-01-29 19:02:04 +02:00
Sollace
b43ed1975b Fixed shields being offset and fixed shields applying to entities that they shouldn't 2021-01-29 18:37:41 +02:00
Sollace
543fd7aee0 Destruction states will now reset when breaking/replacing the block 2021-01-27 20:07:16 +02:00
Sollace
24cd6a9a3b Fixed particle effect and added a sound effect when apples rot 2021-01-27 18:03:57 +02:00
Sollace
8e89edfb35 Send destruction updates in batches to avoid network congestion 2021-01-27 18:03:35 +02:00
Sollace
0bde55a0fb Reduce the amount of particles generated by the changeling feed ability 2021-01-27 17:16:31 +02:00
Sollace
1222bd6831 Damage to blocks when stomping now depends on the hardness of that block 2021-01-27 17:16:15 +02:00
Sollace
872bdb44f2 Gave earth ponies a slightly increased mining speed (suggested by kerplamp) 2021-01-27 13:16:05 +02:00