Commit Graph

238 Commits

Author SHA1 Message Date
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 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
Electroblob ad363c64af Correct missing return in lang file 2018-07-03 00:26:44 +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 f8eecfc6d5 Retexture wands 2018-06-24 16:14:17 +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
Electroblob ff87729ee8 Missed in 75e5de6 2018-06-24 15:52:59 +01:00
Electroblob 9464b3a084 Retexture leaf particles and move colouring to code 2018-06-24 15:51:28 +01:00
Electroblob d0bf90b900 Retexture flight wings 2018-06-24 15:50:02 +01:00
Electroblob fec4b755bd Remove old unused textures 2018-06-24 15:49:13 +01:00
Electroblob 73d973783d Add continuous spell casting with scrolls and increase scroll and spell book stack sizes to 16 2018-06-24 15:48:48 +01:00
Electroblob 75e5de603e Delegate workbench apply button and slot behaviour to item classes 2018-06-24 12:52:55 +01:00
Electroblob 6da42a18c7 Update references to moved GUI classes 2018-06-24 12:45:49 +01:00
Electroblob f3c9fbdd2e Move GUI classes to separate package 2018-06-24 12:23:08 +01:00
Electroblob c7c7d57e7e Change target blacklist/whitelist checking to use the correct method for retrieving an entity key from EntityList 2018-06-20 23:58:50 +01:00
Electroblob c3abdcf68b Fix NPE in immunity initialisation, fixes #49 2018-06-20 23:57:05 +01:00
Electroblob 8f0727403d Correct fallback translation key for spirit horse 2018-06-20 23:36:15 +01:00
Electroblob 2301e54de4 Prevent potions with custom particles from mixing their particle colour (black) with other potions 2018-06-20 23:35:07 +01:00
Electroblob be952e65f4 Fix incorrect position input in ParticleBuilder's spherical particle spawning convenience method 2018-06-20 23:33:53 +01:00
Electroblob 24457ebe36 Add error prevention and console warning for trying to spawn particles on the server side using ParticleBuilder 2018-06-20 23:32:14 +01:00
Electroblob a523d3dd2b Fix incorrect default scale for flash particles 2018-06-20 23:30:52 +01:00
Electroblob 373fd4c8e8 Add chat readout for applying spells to wizards in creative mode 2018-06-20 23:30:07 +01:00
Electroblob 106148fd9e Miscellaneous cleanup and commenting 2018-06-20 23:28:56 +01:00
Electroblob 29261082f1 Spell hierarchisation and refactoring, plus miscellaneous renaming and minor refactoring
- Adds new generic spell superclasses which aim to group spells such that duplicate code is eliminated, and functions standardised, as much as possible.
- Removes numerous spell classes which are no longer required as a result of this change, and replaces them with instances of the relevant generic spell classes.
- Changes the remaining spell classes to fit with the new system, mostly by having them extend the generic spell classes.
- Completes the transfer of particle spawning to the ParticleBuilder system.
2018-06-20 22:25:54 +01:00
Electroblob b6400c72a7 Genericise spell casting AI class 2018-06-09 17:36:54 +01:00
Electroblob 719c6d5fbb Add new spell types 2018-06-09 17:33:37 +01:00
Electroblob 438f5d7a2e Merge branch '1.12.2' into 1.12.2-dev 2018-06-05 21:44:17 +01:00
Electroblob dec5b1ac2c Add witty/stupid comments to a few classes 2018-06-05 21:26:07 +01:00
Electroblob 726a306830 Delete redundant classes 2018-06-05 21:25:41 +01:00
Electroblob 330c78a92c Change non-evil wizard health from 20 to 30 2018-06-05 21:24:47 +01:00
Electroblob dcec7c7281 Miscellaneous cleanup and commenting 2018-06-05 21:24:09 +01:00