Statistic - Get/Set (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.17.0

Syntax

%statistic% stat[istic] [using %-entitydata/itemtype%] (of|for) %offlineplayers%

Description

Represents the statistic of a Player. You can get, set, add, remove or reset stats.

Examples

set {_s} to kill entity stat using sheep for player
set kill entity stat using zombie for player to 10
add 10 to mine block stat using diamond ore for player
remove 10 from chest opened stat for player
reset mob kills stat for player

View source