Releases: SkriptLang/Skript
Close those issues!
- Word "potion" now describes water bottles and ALL potions; you can use it to check if player is holding non-empty bottle
- When adding items to players' inventories, full inventories no longer make items to go to armor slots
- Added technical (code-level) support for ignoring item meta when comparing items
This will be last release until Friday, so if something was broken, please use previous build.
Potions, fixed again?
- Fixed potion compare ("tool of player is potion of instant health" etc.)
- Potion text representation is bugged, but at least won't tell they're water bottles anymore
- Added support for lingering and splash potions (see below for syntaxes)
- Fixed nether portals not working...
- Removed Minecraft 1.8 requirement for raw names
Syntaxes: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ][((splash|exploding)|lingering) ] potion of %potioneffecttype%
Changes for dev7b:
- Fixed dev7 breaking aliases (and kinda everything else)
- Fixed giving water bottles giving errors
Still, BE CAREFUL with pre-releases. They might cause severe problems. This one was unlikely to damage your worlds, but who knows... Anything can happen, remember to take backups.
Bug fixes & raw Minecraft hacks
- Added (hacky, unreliable) expression to get raw Minecraft name: (raw|minecraft|vanilla) name of %itemtypes%
- Potion expression now supports reverse syntax: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ] %potioneffecttype% potion
- Potion expression now gives water bottle when "potion" is used without any additional data
- General bug fixes
TODO: Rewrite ItemType, ItemData, etc. They operate with number ids, which means they're all horriable mess. That way, I can also make real raw name expression.
Potions, potions and more potions!
- Fix potions for 1.9 (make sure you have latest Spigot - I did not and wondered why it didn't work...)
- Click events are now thrown with the hand which client shows you are using when doing specific actions
- Version number is now 2.2-Fixes-V10
Potion syntax: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ] potion of %potioneffecttype%
Defaults to normal/regular. If you try to create malformed potions, Skript will spam the console with errors and won't produce any items.
Minor fix
And more fixes...
- Fixed giving items to player deleting existing items
- Fixed adding items to inventories ("add X to inventory") not working at all
- Fixed region enter event spam (to get the name of region, wait 1 tick and use %region at location of player%
There might still be some problems with off hand item usability...
Important fixes
- Fixed block events broken on certain Java 8 servers (hopefully)
- Fixed off hand item detection (works, but might break off hand building blocks)
- Fixed some minor things (TheBukor's commit merged in, and edited)
Still a bit unstable.
First release
Probably buggy, but fixes right click events being triggered twice and adds item frame support. Some 1.9 features based of nfell2009's Skript.