Open Pikachu920 opened 3 months ago
let me know if I'm over simplifying this but couldn't we just add ChangeMode
as a enum in skript-reflect and do something like
%objects% supports %changemode% changer
if slot supports delete changer
if player's tool supports set changer
might be better to suffix modes with changer
by default since idk if it'll conflict with related effects
since expressions and likely classinfos have getAcceptedChangeModes
which returns a map it should be as simple as a null check
getAcceptedChangeModes
getAcceptedChangeModes is intended for documentation purposes, not real logic
Aims to add an easy to to see if an expression accepts a changemode