Commit graph

1260 commits

Author SHA1 Message Date
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