Commit Graph

189 Commits

Author SHA1 Message Date
Electroblob77 f37812be3e That's one heck of a commit you've got there...
I may have got a bit behind with version control. A lot behind, in fact. Maybe I'll go back and split this sometime - then again, I probably won't. But hey, at least it's here!
2019-08-18 00:04:18 +01:00
Electroblob77 2680d02304 Reduce excessive call limits based on crash report in issue #72 2019-01-06 18:00:24 +00:00
Electroblob77 f564fdce60 Add DamageSafetyChecker, which implements an if-all-else-fails fix for cross-mod infinite looping in attack/hurt/damage events, and changes relevant calls to attack methods to use the safety checker methods instead. Also adds damage source blacklist and compatibility warnings config options. Fixes #72. 2019-01-06 17:51:41 +00:00
Electroblob77 3bdee06738 Merge branch '1.12.2' into 1.12.2-dev 2019-01-06 16:26:02 +00:00
Electroblob77 31673cf247 Missed in b374f71 2019-01-06 15:35:56 +00:00
Electroblob77 f6f36a30fd Register resource reload listener for handbook, missed in 1356905 2019-01-06 15:35:18 +00:00
Electroblob77 2db96cf18d Change spell chat messages to hotbar toast notifications 2019-01-06 15:31:48 +00:00
Electroblob77 b8ba7d1ea4 Transportation stone tweak 2019-01-06 15:21:08 +00:00
Electroblob77 740bfb1a8f Replace old spell book GUI texture with four retextured tiered variants and tweak the layout a tiny bit 2019-01-05 23:12:03 +00:00
Electroblob77 03e8682260 Replace calls to Item#isInCreativeTab(...) with a direct check, fixes metadata items not being displayed correctly in the creative inventory 2019-01-05 23:04:02 +00:00
Electroblob77 4ca89b2dca Increase all conjured item durations 2019-01-05 23:00:49 +00:00
Electroblob77 212fbe51df Move block, item, potion and enchantment registries over to the @ObjectHolder system and reorganise the potion classes a bit 2019-01-05 22:59:45 +00:00
Electroblob77 eb2abdfbe9 Move wand and armour map retrieval methods to WizardryItems, encapsulating the underlying maps 2019-01-05 22:52:45 +00:00
Electroblob77 f8cfc59415 Missed in b374f71 2019-01-05 22:48:38 +00:00
Electroblob77 13569058ae Handbook rewrite part 1: Formatting and JSON-ification!
- Everything is now defined in a JSON file
- Formatting is now done dynamically and content wraps properly no matter what font is used
- Added inline hyperlinks
- Added a movable bookmark for quick access to a specific page
- Added next section and previous section buttons to flip through entire sections at once
- Added a contents button visible on every page, which navigates directly to the main contents
2019-01-05 22:38:06 +00:00
Electroblob77 78189ed862 Fix a few things in the HUD skin chooser screen 2019-01-05 22:30:06 +00:00
Electroblob77 09185e5f1c Introduce DrawingUtils to centralise GUI rendering utility methods 2019-01-05 22:28:57 +00:00
Electroblob77 201f276c8b More cleanup 2019-01-05 22:19:22 +00:00
Electroblob77 224ee281ef Cleanup 2019-01-05 22:18:14 +00:00
Electroblob77 f9f6b34549 Update version number 2019-01-05 18:28:06 +00:00
Electroblob77 bee7e51d06 Change key handler to static event handler and remove initialisation from main mod class, fixes #104 2019-01-05 16:42:21 +00:00
Electroblob77 51a2ff0976 Update version number 2019-01-04 22:12:37 +00:00
Electroblob77 86d13d3a6e Swap canSnowAt for canPlaceBlockAt, so it actually works... 2019-01-04 21:58:45 +00:00
Electroblob77 5421372754 Unike input events, tick events fire before the player is initialised, so add a check to stop it crashing with an NPE. 2019-01-04 21:53:39 +00:00
Electroblob77 53b29939f1 Change key handler to listen for ClientTickEvent instead of KeyInputEvent, swap isPressed() to isKeyDown() and restructure code; fixes 'lag'/inconsistent behaviour with mouse button keybinds. (See also #79, not sure if this fixes it since I can't reproduce the problem.) 2019-01-04 21:48:35 +00:00
Electroblob77 7bda8db86f Add check for wand before sending control packets, prevents unnecessary packets being sent 2019-01-04 21:04:06 +00:00
Electroblob77 a7a48cd32b Add a less than max timer check so that magic light does not keep growing indefinitely if the block fails to disappear. Helps reduce the effects of #101 but does not fix it. 2019-01-04 20:53:01 +00:00
Electroblob77 b8e0836a6d Add test for fake players in retaliatory ice shroud effect, fixes #93 2019-01-04 20:48:03 +00:00
Electroblob77 a7e6b2892c Add check to prevent ArrayIndexOutOfBoundsException in WandHelper, fixes #90 (and duplicate issues #80, #91, #97 and #98) 2019-01-04 20:07:02 +00:00
Electroblob77 f886ebfd75 Prevent ice age from placing snow layers at invalid locations, fixes #64 2019-01-04 20:05:09 +00:00
Electroblob77 98b334e6d7 Add condition to only write magic projectile thrower to spawn data if the thrower exists and tweak overrides so it is always written/read last, fixes #71 2019-01-04 20:04:43 +00:00
Electroblob77 83edb8007e Replace direct translation in /allies command with text component, fixes #70 2019-01-04 20:02:57 +00:00
Electroblob77 67dda448f3 Add background tint to arcane workbench GUI, fixes #96 2019-01-04 19:58:31 +00:00
Electroblob77 09953c0299 Add bottom of world check to wizard tower foundation worldgen, fixes #73 2019-01-04 19:57:33 +00:00
Electroblob77 38b0fa65bc Comment out scroll translation console message, fixes #56 2019-01-04 19:56:39 +00:00
Electroblob77 b374f71533 The great particle refactoring part 2: Splitting and Streamlining!
- Splits all particle textures into individual files intead of sprite sheets
- Replaces arc and lightning pulse entities with particles
- Pulls particle code up to the general ParticleWizardry so behaviours such as spin can be applied to all particle types
- Renames a few ParticleBuilder methods for conciseness.
- Adds a few new particle effects to various spells and entities, with a slight tweak to EntityMagicArrow#onBlockHit to facilitate impact effects
2019-01-01 21:40:04 +00:00
alesto 151dcc06da Updated mappings 2018-11-22 16:02:40 +01:00
HellFirePvP 4bd3a46f32 Switch enchantment-writing related code to a more direct data-driven approach 2018-11-01 13:19:46 +01:00
Electroblob 82eed83dcc Correct default scroll direction 2018-07-03 00:24:16 +01:00
Electroblob 7c7a69c755 Add config option to reverse the spell switching scroll direction 2018-07-02 22:56:04 +01:00
Electroblob af01beb583 Spell HUD rewrite and retexturing:
- Replaces the old hardcoded drawing methods with a new json-based system with support for multiple inbuilt and resource pack-defined skins.
- Adds a config option for choosing the spell HUD skin, along with a custom config GUI screen allowing the user to select from a list of available skins with a preview of the currently selected skin.
- Replaces the HUD texture file with a spell_hud subfolder, containing all the necessary textures and json files for the 12 inbuilt skins.
- Adds a subtle sound effect and scroling animation when switching spells
- Reorganises the control event code into a single handler class and converts this class and the spell HUD class to static event handlers.
- Fixes the HUD position option which got broken in the previous spell HUD commit
2018-07-02 22:33:09 +01:00
Electroblob b7cd3db8bc Rename armour fix model 2018-07-02 22:05:19 +01:00
Electroblob 056c35ac3f Add back face to renderer for force arrow 2018-06-24 19:16:11 +01:00
Electroblob f6a24038cc Retexture spell HUD, add different textures for survival/creative mode, and tidy up the GUI code 2018-06-24 19:14:48 +01:00
Electroblob fde5935adc Add visual first person blink effect 2018-06-24 19:11:59 +01:00
Electroblob 53aa19d1a1 Fix darkness orb spell shooting thunderbolts instead of darkness orbs 2018-06-24 16:13:40 +01:00
Electroblob a49756ddaa Add vector-based position and velocity methods to ParticleBuilder 2018-06-24 16:13:04 +01:00
Electroblob ee3fca35bd Particle tweaks and fixes 2018-06-24 16:12:40 +01:00
Electroblob 55ae4b1161 Miscellaneous cleanup and commenting 2018-06-24 16:08:28 +01:00
Electroblob 76473f7185 Rewrite raytracing methods and optimise their usage 2018-06-24 16:02:34 +01:00