Update mod build version, adjust levitate duration

This commit is contained in:
zontreck 2023-12-15 13:08:07 -07:00
parent 5eaa94f1aa
commit f2aeba1be6
2 changed files with 3 additions and 2 deletions

View file

@ -49,7 +49,7 @@ mod_name=Aria's Essentials
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3
# The mod version. See https://semver.org/
mod_version=1.1.121523.1258
mod_version=1.1.121523.1307
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -27,7 +27,8 @@ public class TeleportActioner
// 10-05-2022 - Adjusted to 100 on duration due to a small issue where it would sometimes stop levitation prior to the teleport taking effect.
// 02/26/2023 - Adjusted to 200 on duration due to 1.18.2 causing levitation to run out too quickly before teleport
// Small tradeoff is the player now levitates slightly longer at the destination. This is acceptable. Compensated by increasing regen strength by 1
MobEffectInstance levitate = new MobEffectInstance(MobEffects.LEVITATION, 200, 1, true, true);
// 12/15/2023 - Adjusted to 150 on duration to attempt to fix the levitate effect being too long
MobEffectInstance levitate = new MobEffectInstance(MobEffects.LEVITATION, 150, 1, true, true);
// 05/15/2023 - Add feather falling as a effect that lasts longer than levitate to avoid damaging the player.
MobEffectInstance feathers = new MobEffectInstance(MobEffects.SLOW_FALLING, 400, 2, true, true);