Commit graph

2205 commits

Author SHA1 Message Date
Benford Whitaker
864f67ef37 earthtunnel again (#991)
## Misc. Changes
* change isOre in earthtunnel back to a switch statement but properly implemented
2019-06-23 16:55:58 -07:00
Benford Whitaker
f311305720 earthtunnel changes (#990)
## Misc. Changes
* Made changes to earthtunnel to properly use TempBlock
2019-06-23 14:00:05 -07:00
Christopher Martin
e0d9774474
Format Codebase (#989)
## Misc. Changes
* Auto-formatted the codebase with a few minor fixes by hand
2019-06-22 22:31:50 -07:00
Benford Whitaker
3d9f99bc57 earthpillars bug + earthblast & iceblast improvements (#988)
## Additions
* Improved earthblast and iceblast aiming.

## Fixes
* Fixed earthpillars bug where using the ability while not around entities creates a loop until the player is around other entities.
2019-06-22 15:31:10 -07:00
Josh
e757cea57a improvements/updates/fixes (#987)
## Additions
* use spigot method for entities around point, should be more optimized
* optimizations to water and air spout to not continually set flying
* optimization 1 for revertchecker: do not use block.getChunk as this will load the chunk on the server and instead use hashmap of coords
* optimization 2 for revertcheck: use paperlib to allow servers running paper to load the chunk for a revert block async
* optimize tempblock revert to load chunk async before updating state
* create local folder repo and update pom for local jar files, this is necessary to use the maven shade plugin. Put a comment in the pom for how to add new dependencies
* add specific timings for hot spots in the code: player move event, physics event, and bending manager. Should help server owners diagnose lag from PK
* optimize move event to ignore head movements without directional movement
* optimize physics event to check for air prior to checking for tempblocks
* optimize tempblock set/revert to not apply physics for blocks that dont emit light
* check for concrete powder in move earth
* optimize isWater to hit actual water blocks first
* optimize PhaseChange list check, hot spot due to being called in physics event
* add "large" abilities collision with each other
* remove HorizontalVelocityTracker that has lasted over 30 seconds, also don't create a tracker for non-living entities
* add config to ignore ores completely for EarthTunnel (good for mining)
* add config option for multiple blocks to be changed per earthtunnel run, allowing for much faster earth tunnels
* add config option to allow snow to be used for ice blast
* add config options for avatar state cooldowns for IceBlast and IceBullet
* add config option for ice trap type moves to not place blocks in players head or feet
* add PlaceholderAPI support for %projectkorra_slot<1-9>% %projectkorra_element% %projectkorra_elementcolor% %projectkorra_elements%
* add "bending" WorldGuard flag. Used for allowing or denying bending in worldguard regions. Will fallback to the old method of the build flag if the custom flag fails to register or isn't set
## Fixes
* wrong plugin version
* remove unnecessary code from avatar state causing cooldown removal
* fix error in EarthGrab remove
* fix error with TempArmor remove if some armor was null
* fix NPE and CME in WaterArms
* fix sound error in AirSuction
* fix NPE in player chat
* fix error when damaging item frame
* fix NPE in FireManipulation getting locations
* fix NPE in WaterSpout getting locations
* fix NPE in HeatControl
* prevent placing blocks in earth tunnel air, and fix error with placing blocks in tempblocks
* fix AirSweep affecting toggled invincible
* fix illumination torch replacing fences allowing players to pass through them
* fix AirShield vector
* fix AirSwipe not being removed
* fix AirSuction not checking worlds
* remove firestream tasks on JetBlast/JetBlaze removal
* division by 0 fix for tornado (entity location and origin location being equal)
* NaN vector fix for airstream (location and destination being equal)
* use actual list of undead for isUndead from the wiki
* fix BloodBending affecting armor stands
* fix AirSweep vector
* fix IceBullet combo to function better
* fix isMeltable to use ElementalAbility functions
* fix Paralyze trying to paralyze non-living entities
## Removals
* remove plotsquared support, and bentobox leftovers
* remove unnecessary flight handlers
2019-06-21 12:17:40 -07:00
Jay Evans
ea73c04788
ProjectKorra MC1.13
WIP 1.13
2019-02-05 14:40:38 +10:00
Simplicitee
a84a7fcced BentoBox removal, dependency update 2019-02-04 23:37:13 -05:00
Simplicitee
f476388ef1
Merge pull request #10 from PhanaticD/wip-1.13
even more fixes
2019-01-28 12:58:59 -05:00
PhanaticD
6e9f37ffc7 fix flight multiability showing crossed out 2019-01-28 11:57:53 -05:00
Simplicitee
c6528c039c
Merge pull request #9 from PhanaticD/wip-1.13
worldguard version id change
2019-01-27 17:06:47 -05:00
PhanaticD
360914223a worldguard version id change 2019-01-26 05:55:11 -05:00
Simplicitee
0bbad24c34
Merge pull request #8 from PhanaticD/wip-1.13
more fixes
2019-01-25 22:59:53 -05:00
PhanaticD
1757e7ad1a add same logic I did for chi move passive/stances to air passive and avatar state effects, everywhere else it looks like TempPotionEffect is used which is basically just a more complicated way of doing the same thing as this change 2019-01-24 11:14:34 -05:00
PhanaticD
375da96239 these checks are not needed any more 2019-01-24 03:11:28 -05:00
PhanaticD
038e8ab216 maybe fix https://pastebin.com/raw/UUd9Ay31 not tested as it is rare 2019-01-23 12:58:39 -05:00
PhanaticD
dfe5035485 make moving earth revert lavaflow to avoid messes 2019-01-22 04:15:27 -05:00
PhanaticD
65241039b1 allow lavaflow on moved earth if its back in its original position 2019-01-22 02:33:04 -05:00
PhanaticD
f293a96946 fix up chi passive and chi stance potion effects system 2019-01-22 01:34:06 -05:00
PhanaticD
bb6a561b19 actually track down and fully fix the issues with metalclips 2019-01-21 06:08:22 -05:00
PhanaticD
c06c3637fe another try at fixing CME in metalclips 2019-01-21 03:56:51 -05:00
PhanaticD
a1866b7c1c fix IllegalStateException in movementhandler shutdown 2019-01-21 03:36:08 -05:00
PhanaticD
6e615c75eb some more protection checks for earthsmash 2019-01-20 06:40:35 -05:00
PhanaticD
1c15f9209e add dynamic cooldown feature for airshield, off by default 2019-01-20 05:30:52 -05:00
PhanaticD
e4df313132 fix cooldown for fireshield not applying 2019-01-20 04:14:54 -05:00
PhanaticD
fa8b051121 fix waterbubble dupe 2019-01-20 01:20:17 -05:00
PhanaticD
d6c9717d25 fix up metalclips 2019-01-20 01:04:25 -05:00
PhanaticD
ac2c8b8be3 add reflection tostrings for ability and bplayer, and print out if there is a error during progress. Will look like this: https://gyazo.com/c9191195b9e8ace960fc15cb451870ed 2019-01-19 22:39:48 -05:00
PhanaticD
c6021dd970 run the remove of the ability after the revert, since earth armor will run revert as part of its remove if this revert hasnt completed 2019-01-19 04:16:25 -05:00
Simplicitee
9fb35ecc60
Merge pull request #7 from PhanaticD/wip-1.13
some more fixes
2019-01-18 23:46:45 -05:00
PhanaticD
593d3225ff add config option for gliding firejet, and make default false and change airscooter sitting default to false 2019-01-18 22:29:20 -05:00
PhanaticD
11227a981a fix cast exception 2019-01-18 18:56:31 -05:00
PhanaticD
f67c098b0d earthgrab: skip tridents, check if arrows are allowed to be picked up 2019-01-18 03:56:10 -05:00
PhanaticD
e09ea94629 playeranimation event fires at least 2 times if not 3 when doing one left click on a block due to minecraft being weird like that. this should keep previous behavior but only run once when left clicking either the air or a block 2019-01-18 01:02:31 -05:00
PhanaticD
4d9cf70ea8 better fix for densityshift 2019-01-17 23:06:27 -05:00
PhanaticD
a7fd485308 fix CME in densityshift, allow kelp to be cooked with heatcontrol, fix earthgrab on tridents 2019-01-17 22:23:55 -05:00
Simplicitee
081cdc1bb0
Merge pull request #6 from PhanaticD/wip-1.13
potentially fix CME reverting all tempblocks
2019-01-17 19:06:34 -05:00
PhanaticD
8aa84fc23c potentially fix CME reverting all tempblocks 2019-01-15 01:10:57 -05:00
Simplicitee
aa2c74ba31
Merge pull request #5 from PhanaticD/wip-1.13
further updates and fixes
2019-01-14 19:45:45 -05:00
PhanaticD
83afd7142f safety check for moved earth, otherwise this move could be used on top of a bunch of raised earth to glitch out blocks and sometimes leave lava sources making a mess in the world 2019-01-14 17:17:35 -05:00
PhanaticD
be896ecf32 when firejet is done use previous gliding state 2019-01-14 15:48:51 -05:00
PhanaticD
88c1debab9 fix some annoying damage introductions from last commits change 2019-01-13 18:48:21 -05:00
PhanaticD
da04657957 make firejet look cool, also missed null check in surge wall 2019-01-13 18:15:55 -05:00
PhanaticD
09478cc5bf add support for standing scooter in case of peaceful world or the slime doesnt spawn for whatever reason, also made it configureable 2019-01-12 22:52:44 -05:00
PhanaticD
abfbff19fa null check in tempblock revert_queue, rare occasion when server stops before any tempblocks are made 2019-01-12 22:12:17 -05:00
PhanaticD
3094c691a9 add check for slime existing and still mounted 2019-01-12 22:10:44 -05:00
PhanaticD
f6f2b8b954 display player as sitting for airscooter and make the velocity changes more gentle 2019-01-12 21:56:02 -05:00
PhanaticD
aa6bf5a849 null checks for tempblocks in surge remove water 2019-01-12 16:37:56 -05:00
PhanaticD
76c86bce37 make avatar title more consistent with either the lore or the permission specification, this will also fix avatar title showing for addons that add new elements but would not necessarily make sense to display as an avatar. for example the spirits addon, having light and dark spirit would cause you to display as an avatar 2019-01-10 23:56:55 -05:00
PhanaticD
a32031387f fix airscooter and airspout not working over kelp, make airscooter more forgiving on downward velocity preventing a bouncing loop if you fall from too high 2019-01-10 14:24:52 -05:00
PhanaticD
002d9b05fc add the other spot cooldown table is created 2019-01-09 15:58:55 -05:00