Commit Graph

508 Commits

Author SHA1 Message Date
Electroblob77 94751a6fd5 Remove the debug particle from the divination spell 2020-04-13 21:08:47 +01:00
Electroblob77 01ab50cb27 Make targets dismount whatever they are riding when they get possessed 2020-04-13 21:04:11 +01:00
Electroblob77 d0bcbc8ed8 Let's do this properly, shall we? Fixes #397 2020-04-13 20:53:14 +01:00
Electroblob77 b660b02e0e Fix crash when throwing things with greater telekinesis using commands 2020-04-13 19:10:20 +01:00
Electroblob77 c81830efec Neither of these should be null. I should not have to check they aren't null. But apparently they can be. So I do. Fixes #402. 2020-04-13 19:04:01 +01:00
Electroblob77 6ec2e716cb Register artefact loot tables properly so addon mods can inject loot into them, fixes #403 2020-04-13 19:00:21 +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 7f31fc6259 Thanks for warning me, IntelliJ :/ 2020-04-13 18:38:06 +01:00
Electroblob77 aecc8b0889 Okay it really is fixed now I promise 2020-04-13 17:20:43 +01:00
Electroblob77 b45c202ac5 Add tint to background for book-style GUIs 2020-04-13 15:41:59 +01:00
Electroblob77 16ad8543d8 Purple mana (durability) bar! 2020-04-13 15:32:07 +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 8682fcbe91 Only prevent syncing when first loading the world 2020-04-12 22:51:24 +01:00
Electroblob77 e8ca773557 Don't sync when loading from NBT 2020-04-12 21:59:22 +01:00
Electroblob77 c622158818 Fix syncing of everything 2020-04-12 18:35:30 +01:00
Electroblob77 6254020024 Ugh just why 2020-04-11 00:12:07 +01:00
Electroblob77 1d161e613c Comments 2020-04-10 23:56:00 +01:00
Electroblob77 e8c1b4d581 All the synchronised settings require world restart 2020-04-10 23:55:54 +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 6f0636da9f These don't need world restarts! Also I forgot the default values for bookshelf blocks... 2020-04-10 22:49:40 +01:00
Electroblob77 b3fd39c42c Add config options for bookshelf blocks and bookshelf search radius 2020-04-10 22:42:31 +01:00
Electroblob77 40ed431ee2 Fix crash when throwing stuff with greater telekinesis via commands 2020-04-10 16:01:18 +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 c50b344041 Remove usage of deprecated server-side I18n 2020-04-09 21:28:48 +01:00
Electroblob77 bd11c9c759 Cleanup 2020-04-09 21:22:43 +01:00
Electroblob77 f7b678e291 Reminder to fix this 2020-04-09 21:18:56 +01:00
Electroblob77 6cabe7ffd4 Make sure the slot order is retained! 2020-04-09 21:07:32 +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 d56cf37f2b Make spell books return to the slots they came from (provided the container isn't closed) 2020-04-09 20:08:28 +01:00
Electroblob77 c5b5172481 Add lecterns 2020-04-08 00:16:12 +01:00
Electroblob77 938d0df95c TODO: Convert magic light to a non-tileentity block 2020-04-05 16:12:46 +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 d46600ac86 Update version number 2020-03-31 22:06:49 +01:00
Electroblob77 2277f6b278 Helps if you actually copy the setting over after synchronising it... fixes #395 2020-03-31 21:57:37 +01:00
Electroblob77 ba59d9786f Add null check for grapple target when cast by NPCs, fixes #394 2020-03-31 21:56:20 +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 a384a57622 Prevent mending enchantment being applied to wizard armour, closes #383 2020-03-31 21:47:53 +01:00
Electroblob77 586840aa53 Add safety checks to prevent itemblocks with invalid metadata turning into invalid blockstates, fixes #382
(Because *some* mod authors are not very careful...)
2020-03-31 21:42:16 +01:00
Electroblob77 1ab674136b Add null check for riding entity to magic slimes, fixes #379 2020-03-31 21:37:38 +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