Commit Graph

213 Commits

Author SHA1 Message Date
Electroblob77 8551dc407b Add array range checks to all cooldown methods that don't have them, fixes #183
I'm concerned this may just be convering up the problem, but without being able to recreate it there's little else I can do.
2019-09-02 19:03:08 +01:00
Electroblob77 1eec7921ce Add Minecraft and Forge version requirements 2019-09-02 18:51:51 +01:00
Electroblob77 18920a24c5 Increase default rarity of structures 2019-09-02 18:24:07 +01:00
Electroblob77 e0c6f0f00f Add null check in transportation packet handler, fixes #229 2019-09-02 17:47:19 +01:00
Electroblob77 a4f6391fac Why was that outside the check?! 2019-09-02 17:46:38 +01:00
Electroblob77 a570bd57d0 Replace call to client-side-only method setVelocity, fixes #228 2019-09-02 17:39:36 +01:00
Electroblob77 f1ff179b98 Check if spell properties are initialised when setting lightning hammer item attribute modifiers, fixes #219 2019-09-02 17:05:21 +01:00
Electroblob77 6d09acc78e Make combustion rune respect playerBlockDamage and mobGriefing settings, fixes part of #217 2019-09-02 16:32:03 +01:00
Electroblob77 960d97de49 Prevent IndexOutOfBoundsException when clicking an already-remembered stone circle, fixes second crash in #217 2019-09-02 16:03:40 +01:00
Electroblob77 ebe64b06e3 Move setBlockState call inside !world.isRemote check, fixes #216 2019-09-02 15:51:44 +01:00
Electroblob77 99887f95e2 Copy loaded tile entity list before iterating client-side, fixes #205 2019-09-02 15:18:17 +01:00
Electroblob77 2e5a9fce3e Don't call canCast() from WizardryUtilities#isCasting(), fixes #196 2019-09-02 15:15:36 +01:00
Electroblob77 2be6230977 Well that didn't merge correctly... temporarily remove custom charging recipe classes
These need a bit more work to fit into the new system
2019-08-18 23:09:03 +01:00
Electroblob77 518d69a2e2 Update version number 2019-08-18 22:46:46 +01:00
Electroblob77 93bc9b1b89 Add tree blocks config option, fixes #165 2019-08-18 22:44:09 +01:00
Electroblob77 413d21d1d8 Add backwards-compatibility to wizard tower rarity, if it's below the new minimum value (which the old default was), it automatically gets reset to the default value of 600. 2019-08-18 22:09:09 +01:00
Electroblob77 78fc00c0cc Yet another AIOOBE fix for WandHelper, fixes #176
Right, I've had enough of this. Why do other people keep getting AIOOBEs from WandHelper when I've never ever had one in my dev environment, after all the testing I've done? What gives?!
2019-08-18 22:02:47 +01:00
Electroblob77 a1d2d6a16e Render blank crafting grid instead of throwing a JsonSyntaxException on nonexistent recipe defined in the wizard's hanbook, fixes #171. 2019-08-18 21:58:18 +01:00
Electroblob77 d6492ee3f1 Cleanup 2019-08-18 21:09:42 +01:00
Electroblob77 831f68d8d9 Add null checks to potion removal and expiry event handlers, fixes #166 2019-08-18 20:17:12 +01:00
Electroblob77 f86ea2334d Merge branch '1.12.2-dev' into 1.12.2 2019-08-18 12:34:04 +01:00
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
Torabi 44d1d4dbb7 Fix Immunities
Switch to an EnumSet for immunities, both because it's more efficient for this purpose, and because adding immunities to an entity caused a crash, because of improperly attempting to extend an array through the asList wrapper.
2019-01-26 09:06:59 -07:00
Corail31 54abdb6746 fix #108 2019-01-15 14:32:51 +01:00
Corail31 414b773da6 fix 68 2019-01-15 11:50: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