Commit Graph

142 Commits

Author SHA1 Message Date
Electroblob77 f0752317e6 Add spell quick access keys 2020-04-18 21:45:01 +01:00
Electroblob77 b9958ce16f Add cloud particle from TF spell pack, and change smoke bomb to use it instead of vanilla's large_smoke particles 2020-04-18 18:06:22 +01:00
Electroblob77 8cbe5dd602 Assign key conflict contexts to wizardry's keybinds, fixes them showing up as conflicting with GUI keys 2020-04-18 17:12:29 +01:00
Electroblob77 8301a24afe Just enough wizardry!
- Adds JEI support for arcane workbench 'recipes' (charging, upgrading, and scroll enchantment)
- Adds an item transfer handler for said recipes, including bookshelf virtual slot support
- Prevents conjured items from showing up in JEI
2020-04-15 23:01:45 +01:00
Electroblob77 9bc920073b Fix animation positions 2020-04-14 23:42:19 +01:00
Electroblob77 91b2ee1a13 Merge branch '1.12.2' into 4.3-dev 2020-04-14 17:41:33 +01:00
Electroblob77 d0bcbc8ed8 Let's do this properly, shall we? Fixes #397 2020-04-13 20:53:14 +01:00
Electroblob77 96e7c5885b Try to optimise arcane lock rendering, fixes #399 2020-04-13 18:59:07 +01:00
Electroblob77 41d575c9c9 Add config options to disable the screen shake and blink effects
We're all about that accessibility here!
2020-04-13 18:48:30 +01:00
Electroblob77 b45c202ac5 Add tint to background for book-style GUIs 2020-04-13 15:41:59 +01:00
Electroblob77 e985bc6f69 Since we're syncing anyway, make the client do a deferred refresh to allow syncing to occur, rather than trying to keep track of prev stacks itself 2020-04-12 23:00:23 +01:00
Electroblob77 c622158818 Fix syncing of everything 2020-04-12 18:35:30 +01:00
Electroblob77 1d161e613c Comments 2020-04-10 23:56:00 +01:00
Electroblob77 b5f61205eb Implement custom search behaviour for the spells tab, so it works like the bookshelf interface 2020-04-10 23:42:05 +01:00
Electroblob77 15d3d9e70b Arcane workbench tooltip refactoring
- Reorganises the huge amount of code in the draw background/foreground methods into a hierarchical object system
- Makes the tooltip box change height to fit the content
- Adds text wrapping support for items/spells with super long names
- Adds proper format arguments to the mana readout translation
- The tooltip now shows the new spells that will be applied with a flashing animation
2020-04-10 15:56:34 +01:00
Electroblob77 a4fd88f21d Organise texture folders and misc cleanup 2020-04-10 00:17:01 +01:00
Electroblob77 793ba0eb05 Fix the scroll bar 2020-04-09 23:47:03 +01:00
Electroblob77 531700378f Use the correct progression bar width 2020-04-09 23:44:06 +01:00
Electroblob77 4875d5a970 Put excess upgrades onto a second row so they don't go off the edge 2020-04-09 23:33:40 +01:00
Electroblob77 3ff6be4cb0 Ignore empty slot books in the lectern GUI 2020-04-09 23:18:23 +01:00
Electroblob77 c418757042 Hide bookshelf interface when there are no nearby bookshelves 2020-04-09 23:13:05 +01:00
Electroblob77 f973099fd3 Add sound for locating spells using the lectern 2020-04-09 21:07:06 +01:00
Electroblob77 1833ed9c56 Tweak block highlight scale to remove the tiny gap due to the anti-z-fighting offset 2020-04-09 20:09:13 +01:00
Electroblob77 c5b5172481 Add lecterns 2020-04-08 00:16:12 +01:00
Electroblob77 525b7e13dd Super method should do just fine! 2020-04-05 15:33:40 +01:00
Electroblob77 a67eb2381d Improve bookshelf search and account for undiscovered spells 2020-04-04 21:32:57 +01:00
Electroblob77 6ae9df1204 Only receive RenderGameOverlayEvent.Post, and only process when it will actually draw something 2020-03-31 23:16:21 +01:00
Electroblob77 bdf5aa5b64 Skip spells with missing glyph data and print a warning to the console instead, fixes #384 2020-03-31 21:54:15 +01:00
Electroblob77 c161a74d73 Add bookshelf interface to arcane workbench
Implements the main functionality:
- Access bookshelves from within the workbench
- Search by spell name, tier, element and type
- Sort by tier, element or alphabetically, ascending or descending
- Three-way shift-clicking support
- Automatic return of books to bookshelves when wand is removed
2020-03-31 21:33:10 +01:00
Electroblob77 220bf15cfb Don't process unless the event type means it will actually draw something 2020-03-29 16:56:52 +01:00
Electroblob77 885e58c85c Receive only RenderGameOverlayEvent.Post, not both 2020-03-29 16:55:04 +01:00
Electroblob77 849066de8a Apparently we do need this after all 2020-03-25 15:20:24 +00:00
Electroblob77 02480db158 Reorganise config file 2020-03-25 15:05:32 +00:00
Electroblob77 e35ee9d126 Merge branch '1.12.2' into 4.3-dev 2020-03-25 14:29:53 +00:00
Electroblob77 004c4c09e3 Add bookshelves 2020-03-25 14:29:27 +00:00
Electroblob77 6fff0e31d1 *Facepalm* 2020-03-17 23:45:40 +00:00
Electroblob77 11efe56437 Replace old hardcoded spell book text with translation keys, fixes #368 2020-03-17 23:38:25 +00:00
Electroblob77 7f5786c28c Override override override! 2020-03-17 23:22:54 +00:00
Electroblob77 3f80c56163 Add gilded wood 2020-03-01 13:04:15 +00:00
Electroblob77 6d0e65c2b0 Hmmm so we were ticking this twice all along... 2020-02-19 01:09:12 +00:00
Electroblob77 794085660e Move screen shaking effect into a proper method in the client proxy, fix earthquake's version not working and add screen shake to meteor, lightning hammer and shockwave 2020-02-19 00:11:33 +00:00
Electroblob77 f13f220564 Change tome of arcana description to be more accurate, closes #330. Also adds format args support to multi-line item descriptions and fixes the 1st argument being used instead of the 2nd in the lang files. 2020-01-28 18:36:34 +00:00
Electroblob77 e54aee332d Rework slow time to use an NBT tag to unblock entity updates when not in a slow time zone, fixes #336 (and related issues with teleporting)
It also simplifies the code and removes the end slow time packet entirely
2020-01-28 13:20:32 +00:00
Electroblob77 e4bf09f15a Implement client-side spell counter for NPCs, fixes #345
Also makes all the continuous-spell-related methods in ISpellCaster default methods so they don't need implementing unless actually necessary.
2020-01-27 23:27:56 +00:00
Electroblob77 3052e56d03 Add entity- and tileentity-sensitive versions of Spell#canBeCastByNPCs and Spell#canBeCastByDispensers 2020-01-27 16:42:28 +00:00
Electroblob77 f5da195605 Wrap NBTTagCompound#setTag in static helper with safeguards against circular references, fixes #299 2020-01-27 13:45:47 +00:00
Electroblob77 34b3fe93bb Bit of an oversight there, this is supposed to be an API after all 2020-01-13 18:55:36 +00:00
Electroblob77 69f2aedef7 Correctly hide/unhide skin overlay parts when rendering frost layer, fixes #261 2019-12-17 17:52:44 +00:00
Electroblob77 470a7e82bc Iterate over copy of loaded TE list, fixes #298 and #304 2019-12-17 17:12:31 +00:00
Electroblob77 324094f418 'Tis the season!
- Decked the halls
- Jingled the bells
- Wrapped the presents
- Loaded up the sleigh
2019-12-17 15:53:40 +00:00