Skript
Skript copied to clipboard
Basic Experience API Enhancement
Description
This PR provides light enhancements to Skript's Experience API with:
- Allowing Experience object into ExprTotalExperience (
add 10 xp to player's total xp
) - Add changers to Experience objects (
set {-xp} to 10 xp
,add 10 xp to {-xp}
; results20 xp
) and top it off with some dusting in Experience class.
Target Minecraft Versions: any Requirements: none Related Issues: #6649
Tests will be added.
Some tests with an entity's xp would be nice, if we don't already have any.
I only recalled Player have XP. How does one do it with non-player entities?
Some tests with an entity's xp would be nice, if we don't already have any.
I only recalled Player have XP. How does one do it with non-player entities?
ExperienceOrb, no?
Closing due to stale progress