Commit Graph

45 Commits

Author SHA1 Message Date
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
Richard
2a23535239 Sorry, no future block expression for the event (wait 1 tick inside...
...your script)
2015-12-24 22:59:37 -02:00
Richard
262c470e7d Not sure if this changes anything... Probably not, whatever. 2015-12-24 22:28:38 -02:00
Richard
6089934ffd WorldEdit block change event, still in test. Also fixed package names. 2015-12-24 22:23:38 -02:00
Richard
653b66e30e New effects, selection positions now settable, selection now clearable. 2015-12-16 22:17:08 -02:00
Richard
dae953dc85 Added new WE effects, fixed NPE when edit session doesn't exist. 2015-12-13 21:12:13 -02:00
Richard
c7034ae857 Whoops. (Forgot to add new Expressions to the counter). 2015-12-12 18:25:32 -02:00
Richard
925e92673e New WorldEdit effects, "Tag of compound" expression now settable.
Also probably broke some stuff.
2015-12-12 18:17:45 -02:00
Richard
700cfe2c38 Added NBT support to 1.7 (most likely broken) 2015-12-05 02:24:33 -02:00
Richard
dd5d7ea91a Lots of stuff yet only one new expression added. Should work with Java 7 2015-12-04 22:35:39 -02:00
Richard
91fdd40d19 Highly experimental "NBT of file" expression.
I still need to do a lot more testing, my testserver's level.dat got to
0KB when using the "add blah to nbt of file" :o
2015-12-03 22:57:19 -02:00
Richard
34b05e4e2d Ready for release of new version!... I hope. 2015-11-29 17:36:14 -02:00
Richard
ced2a2648d Added experimental WE effects/expressions, fixed NPE when using the...
..."tag %string% of %compound%" expression with ItemStacks without NBT,
tried to fix schematic expressions.
2015-11-29 16:49:36 -02:00
Richard
84907dd3a2 More fixes (can't have optional [] on types), experimental set effect...
... updated but still not working.
2015-11-29 01:42:11 -02:00
Richard
561a620bdc A few fixes, whoops. 2015-11-28 21:52:34 -02:00
Richard
480bba958a Experimental "WorldEdit set blocks" effect. 2015-11-28 21:43:47 -02:00
Richard
382e8be72e First Commit. 2015-11-28 19:49:37 -02:00