Release 2.6.0 : New animations, SpellCaster performances
New features New bundled functions
rand_int(number, number) -> number : Returns a new number between the two parameters. Same as rand_number but returns, as the name subtly implies, an integer.
block_below(entity) -> location : Find the first passable block below an entity.
New bundled animations
blocks.circle : Expects a duration, a radius and a types material array. Is equivalent as multiple play BLOCK at once, with a circle shape. This is a great optimisation for large blocks animations.
blocks.square : Same arguments as the "circle" animation. But in a square, for those who follow.
Improvements
The SpellCaster trait will only be active if a player is in the same world as the NPC.
Fixes
Fixed a risk of concurrency issue with animations.
Fixed a bug with the SpellCaster trait not following the spell-caster-trait tick-rate configuration. CPU consumption is as such reduced.