Releases: SkriptLang/Skript
Particle support v2
- Added support for most of Minecraft's particles
- Fixed error with void biome vs. void damage
- Added support for levitation
Quick reference for new (and old) visual effects supported
Dev 12.. Not yet!
- Fixed a typo (pull request 1)
- Fixed cakes' and item frames' right click handling
Edit: dev11d to remove debug messages
Saturation support
- Added support for saturation
Expressions:
Saturation: [the] saturation [of %players%]
Note that saturation is not same as food level, i.e. you don't see it directly as player.
Anvil inventories?
- Added support for anvil and chest (black hole, once closed, contents are lost) inventories
- Fixed biomes when running on Spigot 1.9 (they work exactly as before)
- Added support for item expression in click events (no need to manually check hands!)
Effects:
Opening inventories (full new syntax): (open|show) (((crafting [table]|workbench)|chest|anvil) (view|window|inventory|)|%-inventory%) (to|for) %players%
Expressions:
Event item (as before, new events supported): [the] item
Hotfix for dev10
- Fixed heal/repair effects not working
- Cleaned up some code
Some Bugs Fixed
... and hopefully not many new bugs introduced
- Fix 1.8 compatibility issue with getItemInHand vs. getItemInMainHand (remember, still not officially supported)
- Damaging entities now changes the damage cause AFTER damage event is called, instead of not changing it all
- Added expression for last damage cause of entity
- Fixed adding lists of items to inventories
- Fixed inventory space checks, now considers 1.9 Spigot changes
Syntaxes:
Last damage cause: last damage cause of %livingentities%
Damage expression changed to: damage %slots/livingentities/itemstack% by %number% [heart[s]][ with fake cause %-damagecause%]
There are still some bugs left, but I think it is soon time for final V10 release. Quick TODO list for it:
- Fix issues which can be fixed without too big rewrites
- Create working updater for Skript
- Update aliases packaged with plugin
- Add some new features
The bug rewrites (tag aliases-rework, for example) will come in next major release. First I need to create something stable enough.
New event!
- Added plant growth event (for wheat, etc.)
Syntax: (plant|crop|block) grow[(th|ing)] [[of] %itemtypes%]
Note that the event does not contain actual block data. While I intend to fix that, of %itemtypes% syntax works, and %block at location% too.
Click events fixed
- Reworked click event hand detection
- Fixed oak doors not being considered as usable blocks
- Fixed not being able to get event from non-usable item when clicking air
- Fixed several ways to skip event handling (to open locked chests)
In the end, I really wonder why Bukkit AIR material is considered to be a block...
Edit: Re-release to remove debug messages. I forgot to recompile after removing them from source.
And more hotfixes
- Fixed a bug where you could skip click events on usable blocks by having block in main hand and sneaking
Hotfixing click events
- Fixed click events on usable blocks not triggering with items in off hand
So, due to a schedule change I had time to do this now. Hopefully this fixes most serious problems at least :)