Skript 2.5.1 is a much larger update than we anticipated. Not only does it fix a lot of bugs, it also brings a few handfuls of new features. With that said, new features, and sometimes bug fixes, may also create new bugs. Please be sure to backup any important data before updating to this version. And as usual please report any bugs on our Issue Tracker
ADDED:
- Added a condition for isOccluding (thanks @Mr-Darth)
- Added support for block data in the send block change effect
- Added expressions for arrow pierce and critical state (thanks @Mr-Darth)
- Added an expression for projectile bounce state (thanks @DeltaRays)
- Added support for locations, chunks and “within” (blocks cuboid) in blocks expression
- Added support for “:” in play sound effect to allow for using minecraft namespace (closes #3404)
- Added item mending event
- Added heal amount expression (thanks @Romitou, closes #3337)
- Added expressions for last attacker and last damage (thanks @DeltaRays)
- Added support for decimals between in ExprNumbers (thanks @bluelhf, closes #2601)
- Added an expression for generating a random UUID (thanks @Mr-Darth)
- Added support for non living entities in spawn event (closes #3120)
- Added support for multiple strings in CondStartsEndsWith (thanks @DeltaRays, closes #3312)
- Added an effect to force attack (thanks @OfficialDonut)
- Added an effect to make an entity swing their hand (thanks @OfficialDonut)
- Added expressions for minecart’s derailed velocity and speed (thanks @DeltaRays)
- Added an expression for sea level (thanks @Mr-Darth)
- Added an effect to open a book to a player (thanks @OfficialDonut)
- Added an arm swing event (thanks @Romitou, closes #3114)
- Added a condition to check if a block is passable (thanks @Mr-Darth)
- Added a condition to check if an item is a fuel (thanks @Mr-Darth)
- Added a condition to check for a normalized vector (thanks @BluBoy3ch0)
- Added an inventory pickup event (thanks @DeltaRays)
- Added an expression to get the drops of a block (thanks @DeltaRays)
FIXED:
- Fixed an issue with zombie pigmen/zombified piglin’s name returning with parenthesis (closes #3400)
- Fixed an issue with block variations in the send block change effect
- Fixed more issues with Visual Effects (closes #3379)
- Fixed a parsing issue with ExprAmount (closes #3333)
- Fixed an issue with cmd: with $ symbol not working (closes #2706)
- Fixed an issue with Json messages using <> not working (closes #3328)
- Fixed an issue with all items in inventory expression not returning the correct value in loops (closes #2340)
- Fixed an issue with adding multiple numbers to a single variable (closes #3198)
- Fixed some issues with damage cause comparisons (closes #3022)
- Fixed delay issues in force respawn player effect
- Fixed some issues with aliases deleting themselves internally (closes #2672)
- Fixed an issue with adding/setting/reparing multiple items in an inventory (thanks @OfficialDonut, closes #2989)
- Fixed an issue with comparing inventory slots and equipment slots matching when they shouldn’t (closes #3430)
- Fixed some issues with item comparisons (closes #3405)
- Fixed an issue with missing end rod visual effect and some typos in the lang file for visual effects
- Fixed an issue with light grey color not working properly on 1.9-1.11.2
- Fixed some issues with entity datas not sending their correct and/or full name when in a string