Commit Graph

66 Commits

Author SHA1 Message Date
TheBukor 6bdfc3196e Fixes EffSetPathGoal not working correctly.
Also fixes some unhandled exceptions and a loop that was breaking when
it wasn't supposed to.
2016-12-14 14:14:59 -02:00
TheBukor f784116a82 Cleanup and fixes
Actually registers 1.11 stuff now;
Stop bad habit of "catch (Exception ex)" in ReflectionUtils.class;
Add "Bow Shoot" pathfinder goal;
Dropped support for WorldGuard 6.1 and below. Please update to
WorldGuard 6.2.
2016-12-02 17:08:01 -02:00
TheBukor 5d75ab5dba Update to 1.11, untested. 2016-11-21 12:48:23 -02:00
TheBukor 8ba1820254 This should fix errors when using SkQ lambdas in general.
NBT Lists now should be preceded with either "nbt:" or "nbtlist:" before
being parsed (e.g "nbt:[entry1,entry2]" parsed as nbtlist).

Also removed unnecessary "SkStuffIsCool" and replaced it with "temp".
Great, huh?
2016-08-23 19:45:18 -03:00
TheBukor 6193221637 I just realized that this prevented people from properly parsing a...
string as a NBT List if the list was composed of strings.
I'll just have to add a check to prevent it from creating an
NBTIntArrayTag then.
2016-08-23 19:07:48 -03:00
TheBukor 29dae32a79 Actually fixed "Elytra Glide State of Entity" for 1.9.2 and 1.10 now. 2016-07-01 23:52:15 -03:00
TheBukor 9b1d08bdb8 Little update to fix elytra glide state on 1.9.2 and 1.10 2016-07-01 22:18:18 -03:00
TheBukor ca8518d432 Version number, again forgotten. 2016-06-15 10:29:35 -03:00
TheBukor fe34013fc2 That was super dumb.
Actually added registration for 1.10.
2016-06-15 10:28:26 -03:00
TheBukor ef561be3cd Goddamn I always forget the version number. 2016-06-09 20:38:05 -03:00
TheBukor de38805126 1.10 update, added new "no gravity state of %entities%" expression. 2016-06-09 20:37:37 -03:00
TheBukor 8ec8133c89 1.9.4 update + random stuff. 2016-05-15 18:06:25 -03:00
TheBukor e47feb2122 2 new expressions, added Metrics, needs testing.
Added WG (members|owners) of region
Added WE super pickaxe state of player
Made fireproof state return a list only when necessary
Made noclip state return a list only when necessary
2016-04-09 13:59:15 -03:00
TheBukor 7140ed1cff Forgot 1.6.3.1 commit. Whoops!
Added compound serializer to 1.7.10
Fixed a bug that would cause ALL variables to be unused if a single
compound variable was invalid
2016-04-09 12:24:43 -03:00
TheBukor 226d0dc931 1.6.3 final commit. Some new effects/expressions. 2016-04-03 00:49:25 -03:00
TheBukor 7d938de291 Fixes, two new features.
Fixed the new Follow pathfinder goals.
Added new optional syntax to NBTListIndex.
Removed unused code in NBTOf.
Added new NMS Method: makeClientSay.
Added ClientChat effect.
Added ResourcePackSound effect (1.9).
2016-03-22 21:17:36 -03:00
TheBukor b9ccb09eed This should fix the custom pathfinder goal. 2016-03-17 20:54:17 -03:00
TheBukor 5fa301ab0b Stuff. Dropped support for 1.8.0-1.8.3. 2016-03-17 20:50:07 -03:00
TheBukor 0b4cb17ca1 Actually applied the changes I did to the 1.9 NMS methods into the 1.8..
..and the 1.7 NMS methods.
Added a new expression to get the item type from a minecraft ID (e.g
minecraft:clock)
Little cleanup on the NMS methods.
2016-03-14 11:22:35 -03:00
TheBukor e3a902c773 Minecraft ID of is actually version based;
Made NBTListIndex be 1-indexed instead of zero-indexed (1 is the first
value, instead of 0)
2016-03-13 22:38:17 -03:00
TheBukor 24c07ad0d8 New WG Flag expressions (SkRambled expressions are somewhat broken)...
Register event-entity on Elytra Glide event
Change Elytra glide state to accept entities
Fixed "add x nbt of %slot%"
Fix an NPE in the NBTOf expression
2016-03-13 22:26:43 -03:00
TheBukor 3b2a9ca988 Nvm just register %event-entity% anyways, just don't use it in a message 2016-03-13 16:22:24 -03:00
TheBukor d83015f11a Why did that happen? 2016-03-13 04:15:06 -03:00
TheBukor 48685db4be Some COOL stuff
Fixed PathfinderGoalMeleeAttack
Fixed error when using remove/clear pathfinder goals on an armor stand
(why is it considered a living entity?!?)
Forgot to make NBTListIndex return a single value, now fixed
Added "Minecraft ID of %itemtype%" (to return for example
"minecraft:planks")
Also some stuff I don't remember (see the changes!)
2016-03-13 04:06:43 -03:00
TheBukor 36b069fa3e I'm 100% sure Minecraft wouldn't recognise Bukkit entity classes. 2016-03-06 03:42:44 -03:00
TheBukor 1f5b4f42ce Yeah, add support for multiple entities, but only add the last one.
Even I gotta admit that was really dumb of my part.
Also fixed the "ADD" changer in ExprNBTListContents, needs testing.
2016-03-06 03:22:10 -03:00
TheBukor f046b64367 Missed last commit for 1.6, whoopsies! This commit is from 1.6.1.
Some cleanup on SetPathfinderGoal effect, and also testing support for
multiple entities.
2016-03-06 02:50:34 -03:00
Richard b0aa11475e Hopefuly should work fine.
Updated to 1.9, moving from Reflection to a new method using and
Interface with useful NMS methods (some expressions are still using
Reflection).
2016-03-03 22:01:19 -03:00
Richard f3fcb59fa1 So reflection was awful to work with. I'm moving on to a new method...
using an Interface full of useful NMS methods. I'm still using
reflection, but only when absolutely needed.
I'm also working on a new and better implementation for NBT Lists.
Made NBT Lists and NBT Compounds serializable (can be saved in variables
through restarts), needs testing.
2016-02-28 20:01:28 -03:00
Richard 042aaa6ceb Hopefully the last 1.5 commit. Just needs testing. 2016-02-20 03:50:47 -02:00
Richard a9467540f4 New expression! Close to the release! WOOOOO!!! (Still needs more tests)
Fixed ExprNoClip being version dependant (1.8.4 - 1.8.8).
Add support for list of entities in ExprFireProof and ExprNoClip.
2016-02-17 21:15:11 -02:00
Richard db72d5bc38 Bugfixes, two more goals implemented. 2016-02-15 22:33:49 -02:00
Richard 2cf4e790ba Closer and closer to a release!
Few changes to pathfinder goals, new "proper" clicked inventory
expression, let Skript debug "toString()" if needed.
2016-02-14 21:58:54 -02:00
Richard bcf0a61121 New effect, two more pathfinder goals. Still needing test. 2016-02-07 22:49:09 -02:00
Richard 10e2c64a92 Don't stop the loop, what if the entity has multiple goals of same type? 2016-02-07 10:40:29 -02:00
Richard 4ec8dbae2a Ready for more testing, removal of goals with specific data will not...
...be in this update, but rather a future update.
2016-02-07 10:39:37 -02:00
Richard 0c5cbc44f6 Close to a release, still needs more testing. 2016-02-06 16:09:06 -02:00
Richard 679cdef6dd More goals, need testing, not ready for release. 2016-02-06 00:53:11 -02:00
Richard 06fbaf5a81 New 'make jump' effect, PathfinderGoals (in test), not ready for release 2016-02-04 22:29:41 -02:00
Richard addb99a1f2 Few changes, WorldEdit Change Event should now be cancellable. 2016-01-28 21:20:28 -02:00
Richard ba08d4bde2 I have no idea how I did that. 2016-01-28 20:29:07 -02:00
Richard 2718e2f763 Little fixes, area/volume/width/height/length of schematic should work. 2016-01-27 20:54:54 -02:00
Richard 5665f39cb5 Annoying stacktraces when a NBT parse fails are finally gone...
... the effect "add "{blah:someValue}" to nbt of {_something}" now
properly supports versions below 1.8
2016-01-24 01:22:25 -02:00
Richard 8e785c04cb New timespan conversion expression, goddamn targetInvocationExceptions.
Might have to debug a little bit to figure out how to let just the
warning appear when there's a parse error.
2016-01-23 00:19:02 -02:00
Richard fde72b0344 New string expressions, fixes to schem/selection size expressions, ...
removed some unused classes, stacktraces no longer appear when there's a
NBT parse error, only a message should appear instead
2016-01-21 22:34:26 -02:00
Richard e598f81061 VanishNoPacket, manipulate compounds inside variables. 2016-01-19 20:39:53 -02:00
Richard 1bd64b530f Got the wrong version numbering. 2016-01-17 22:21:06 -02:00
Richard 1a019e4e84 Goddamn debug messages. 2016-01-17 22:15:29 -02:00
Richard a872fe6de9 Moved to reflection (code looks 45% uglier), added new expression for...
entities: NoClip and Fireproof. 
Added support to NBT List tags for the TagOf expression.
2016-01-17 22:10:38 -02:00
Richard bf02ac09a4 NOW it's finished for real. 2015-12-24 23:07:02 -02:00