Add XP - apace100/origins-fabric GitHub Wiki
Entity Action. Adds experience points and levels to the player, or subtracts levels.
Type ID: origins:add_xp
Fields:
points
, int, optional: If set, this is the amount experience points that will be given to the player. Can not be negative.
levels
, int, optional: If set, this is the amount experience levels that will be given to the player. Can be negative and thus used to subtract levels.