You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. Will run multiple play BLOCK at once. This is a great optimisation for large block animations.
blocks.square. Same arguments as the "circle" animation.
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.