Commit graph

1509 commits

Author SHA1 Message Date
Sollace
33dba4db7e Added the dragon breath scroll 2022-09-18 01:23:29 +02:00
Sollace
8036844941 Add a mana cost when using the portals 2022-09-17 22:11:40 +02:00
Sollace
cbd80270e3 Store the level with the spellcast entity so it can still be used when the owner is offline 2022-09-17 22:11:24 +02:00
Sollace
5d9ef41672 Add pages for the new spells and remaining artefacts 2022-09-17 20:52:19 +02:00
Sollace
188210f020 Fix crash when calling the recipe tree builder with one input 2022-09-17 20:51:38 +02:00
Sollace
af7e19ae69 Portal refinements and add the displacement spell 2022-09-17 19:13:39 +02:00
Sollace
4fde8400c5 Adjust shield sizes to account for increasing levels and placed vs on-person 2022-09-16 22:14:24 +02:00
Sollace
0250d8875a You can now cast more than one placed spell at a time (for any type of placed spell, not just portals) 2022-09-16 22:13:55 +02:00
Sollace
ab017ded6e Fixed levels not increasing when XP is full 2022-09-16 22:13:18 +02:00
Sollace
3ba4040bb9 Remove compound spells since they weren't being used 2022-09-16 22:12:51 +02:00
Sollace
88e078cfc7 More refinements to portal spells 2022-09-16 21:19:54 +02:00
Sollace
b83f947488 Fixed sphere and disk particles not having the right colour when first spawned 2022-09-16 21:19:09 +02:00
Sollace
2a9f19fc9f Fixed spell entities becoming detached when cancelling the spell from very far away 2022-09-16 18:35:13 +02:00
Sollace
734c256822 Reimplemented the portal spell 2022-09-16 17:54:46 +02:00
Sollace
a32a14f134 Fixed multiple spell entities being spawned when far away 2022-09-16 17:54:20 +02:00
Sollace
8d2639b69b Minor cleanup 2022-09-16 17:53:20 +02:00
Sollace
b1f64b9f9f Fixed runes rendering in front of the player 2022-09-16 17:48:01 +02:00
Sollace
09f98be74d Remove debug prints 2022-09-16 17:47:13 +02:00
Sollace
638a136d6d For spells with a timer, display the timer progress to the user 2022-09-16 12:47:32 +02:00
Sollace
082e5e37f2 Distribute mana cost between party members 2022-09-16 12:46:55 +02:00
Sollace
17233f425a Fixed mana regeneration and energy consumption and fixed mana not being loaded correctly between saves 2022-09-16 11:15:07 +02:00
Sollace
89879494df Grant the player experience when crafting spells 2022-09-15 21:50:28 +02:00
Sollace
25d9ebba17 Add tooltip for the race icon on the profile and add the equipped spells 2022-09-15 21:50:15 +02:00
Sollace
b0bb8cbfd9 Make the mana ring more prominent in the hud 2022-09-15 21:49:27 +02:00
Sollace
2a0e6bc14b Update trait dex icon to look more like a lightbulb and change the icon when there are unread entries 2022-09-15 21:49:10 +02:00
Sollace
5448db4bdd More work on hot air balloons 2022-09-15 19:53:45 +02:00
Sollace
2e472a7982 Added air balloons (wip) 2022-09-15 00:51:07 +02:00
Sollace
0b8afe4994 Commit missing file 2022-09-15 00:50:56 +02:00
Sollace
b14771e85a Ensure tree types are available to the client when on a multiplayer server 2022-09-14 21:15:29 +02:00
Sollace
e4eb233f7a Fixed incorrect detection of hybrid trees 2022-09-14 20:43:27 +02:00
Sollace
f90ad6d173 Fixed tab colours being calculated incorrectly 2022-09-14 16:49:24 +02:00
Sollace
e97b461f91 Remove unused code 2022-09-14 16:48:43 +02:00
Sollace
3225c7924f Add arcane protection spell 2022-09-14 12:18:22 +02:00
Sollace
d38005c5bf Remove unused SpellContainer code 2022-09-14 11:54:18 +02:00
Sollace
cb50ec544c Make fire spells explode when hitting an entity 2022-09-14 11:53:56 +02:00
Sollace
89e8f0dccc Simplify projectile delegate code 2022-09-14 11:53:31 +02:00
Sollace
8e65a265f9 Change spell constructors to use CustomisedSpellType<?> 2022-09-14 11:45:19 +02:00
Sollace
22f28c098c Fix duplication bug when equipping/unequipping spells 2022-09-12 19:53:02 +02:00
Sollace
802ba060ba Apply emote animations to the first person arm 2022-09-12 17:52:26 +02:00
Sollace
054134545d Reduce the volume of the wololo when clearing a spell 2022-09-12 16:08:08 +02:00
Sollace
82b030cab5 Persist block destructions 2022-09-12 16:07:49 +02:00
Sollace
986c8b67d7 Update page contents from the server for debugging purposes 2022-09-12 12:50:10 +02:00
Sollace
17d3d92416 Spellbook chapters are now server-controlled 2022-09-12 01:46:48 +02:00
Sollace
e721568312 Document the new abilities of shield spells 2022-09-12 00:10:31 +02:00
Sollace
5d31446c54 You can use generosity to make the shield spell placeable 2022-09-11 23:33:22 +02:00
Sollace
75aff1e884 You can now cast more than one spell of the same type if they have different traits 2022-09-11 23:32:58 +02:00
Sollace
547b5f8c63 Add more etherial effects to the runes particle 2022-09-11 23:32:20 +02:00
Sollace
92fea6d349 Change attractive spell to use chaos to make it sticky 2022-09-11 23:32:05 +02:00
Sollace
b1599c74af More cleanup and refactoring 2022-09-11 19:43:36 +02:00
Sollace
8a7c66b6c1 Remove some debug logs 2022-09-11 19:27:04 +02:00
Sollace
17a989f2a0 Fixed shift-clicking stacks from the result slot not putting them into the correct location and fixed shift-clicking not clearing the input grid 2022-09-11 19:26:19 +02:00
Sollace
8f7fa1ae7e Render the duplicating recipe to the ingredient tree 2022-09-11 19:25:34 +02:00
Sollace
53775ce34b Add a recipe for cloning a spell 2022-09-11 18:52:38 +02:00
Sollace
3166fb3919 Fix item duplication/sync glitch in the spellbook 2022-09-11 18:52:26 +02:00
Sollace
021a7f0b3c Fixed raytracing in several places. 2022-09-11 17:54:55 +02:00
Sollace
ec1a1e8583 Fix error 2022-09-11 17:06:29 +02:00
Sollace
0ffa55a20c More cleanup! Haza! 2022-09-11 17:06:05 +02:00
Sollace
7b58fdb6ba Cleanup and move duck interfaces to a dedicated package 2022-09-11 16:58:42 +02:00
Sollace
1cea2bf391 Exclude spellbooks from shields' effects and exclude/include classes of entities for shields based on certain traits added to the spell 2022-09-11 16:47:06 +02:00
Sollace
d80bc3c7dd Reduce the maximum shield radius based on caster level 2022-09-11 15:43:34 +02:00
Sollace
d25696bfb9 Fixed shields appearing invisible when looking from the inside 2022-09-11 15:43:13 +02:00
Sollace
700f2a50e4 Equipping a new spell will no longer discard what you had equipped before 2022-09-11 15:42:57 +02:00
Sollace
22ada528fd Added Chilling Breath spell 2022-09-11 15:42:26 +02:00
Sollace
0db98b8048 Fix error printed when casting the attractive spell 2022-09-11 15:41:14 +02:00
Sollace
5e23b7520e Clean up some things that aren't being used any more 2022-09-11 12:45:23 +02:00
Sollace
bd8640f5fe Fix z-fighting on spellbook models 2022-09-11 12:44:43 +02:00
Sollace
6e04c6ab6d Store the state in the spellbook and synchronize it between players when multiple are viewing the same book 2022-09-11 12:22:06 +02:00
Sollace
0f90593a9a Move spellbook gui related code to the correct package 2022-09-10 22:13:56 +02:00
Sollace
bfe5f2e3b9 Reset the scrollbars when moving between dex pages 2022-09-10 17:30:25 +02:00
Sollace
06268b70ca Disable debug reloading of spellbook chapters 2022-09-10 17:30:11 +02:00
Sollace
10eb493ccf Adjust hitbox for the spellbook entity 2022-09-10 17:29:56 +02:00
Sollace
e26c4bbf9e Remove the old Discoveries tab 2022-09-10 17:06:35 +02:00
Sollace
5595468c4b Show a complete list of items with the applicable trait, but as a mystery for items that haven't yet been discovered 2022-09-10 17:03:13 +02:00
Sollace
f923f7e872 Sync traits from the server 2022-09-10 17:02:30 +02:00
Sollace
f527c08bb6 No longer combine the traits from the grid to simplify crafting/remove unneeded traits from crafted results 2022-09-10 14:57:33 +02:00
Sollace
f10e5965bd Refine the attraction spell to give it more uses 2022-09-10 14:56:59 +02:00
Sollace
aba1337774 Add an index to show discovered traits and which items map to those traits 2022-09-10 01:29:03 +02:00
Sollace
fe1e6172c7 Fix lava and water matching 2022-09-08 18:49:58 +02:00
Sollace
3c17cec28a Fix images rendering in front of tooltips 2022-09-06 11:39:00 +02:00
Sollace
4b474e55af Add support for inserting itemstacks into chapters 2022-09-06 11:38:48 +02:00
Sollace
184af1d53e Update kirin 2022-09-04 15:44:57 +02:00
Sollace
95e487ad1b Update mod.json 2022-09-04 15:16:26 +02:00
Sollace
518c418072 Account for corruption when computing a unicorn's job title 2022-09-04 14:17:15 +02:00
Sollace
edad4678ca Fix some things that I missed 2022-09-04 14:16:47 +02:00
Sollace
3e848e86ed Apply trait-specific corruption when using a spell 2022-09-02 21:52:33 +02:00
Sollace
7ba298e162 Change titles to be more consistent 2022-09-02 20:59:46 +02:00
Sollace
3792ca8c52 wip 2022-09-02 12:53:49 +02:00
Sollace
1f767f0be3 Increase max mana with the player's level 2022-09-02 12:53:37 +02:00
Sollace
37148fad51 Fix some more text wrapping issues and catch exceptions whilst loading chapters 2022-09-02 12:53:14 +02:00
Sollace
5256f1f273 Fix paragraph spacing 2022-09-02 10:36:56 +02:00
Sollace
8fe3e9ec62 Fix crash when levelling up 2022-09-02 10:36:47 +02:00
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
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
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
f4e20d13e7 Added advancements for pegasi 2021-09-02 20:12:09 +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
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
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
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
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