Commit Graph

184 Commits

Author SHA1 Message Date
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
Electroblob b9ba25c116 Add test cases for new particle effects; to be applied to everything once spells have been reorganised 2018-06-05 21:18:01 +01:00
Electroblob 0341a603d5 Missed the imports on that one... 2018-06-05 21:15:02 +01:00
Electroblob d91a3e056a The great particle refactoring part 1: Introducing ParticleBuilder!
Adds ParticleBuilder to replace the particle spawning methods in the proxies, and changes all particle spawning to use the builder except for in the spell classes, which are to be reorganised first.
2018-06-05 21:13:41 +01:00
Electroblob 9c1042f686 Update version number 2018-06-05 17:01:04 +01:00
Electroblob cad3fee1b9 Update mcmod.info 2018-06-05 16:58:33 +01:00
Electroblob 5947b2ee62 Fix smoke bomb recipe and allow charcoal to be used 2018-06-05 16:00:47 +01:00
Electroblob 177a39bad1 Cleanup 2018-06-05 15:43:56 +01:00
Electroblob cdf8f6e32d Remove now-redundant recipe config options 2018-06-05 15:43:48 +01:00
Electroblob f88aac11e9 Convert all non-dynamic recipes to JSON, add ore dictionary support where appropriate and change incorrect "amount" tag to "count", fixes #18 2018-06-05 15:43:14 +01:00