Overhaul Effect signs
A5H73Y opened this issue ยท 1 comments
Update Effect signs to make them dynamically accept all valid types of Effects, like Night vision etc.
Experiment will making as little hardcoded as possible.
Now "heal" and "gamemode" effects signs have hardcoded logic.
Otherwise the second line can be used to specify any PotionEffectType, "Resistance" can be shortened to "Resist" to allow for limitted characters, for example "DAMAGE_RESIST" is valid.
The 3rd line will be in the format of "(amplifier):(duration)".
Final example:
[pa]
effect
damage_resist
5:1000