diff --git a/build.gradle.kts b/build.gradle.kts index 5626adf..588a4ce 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { } group = "dev.isxander" -version = "1.5.0+1.20" +version = "1.5.1+1.20" val isAlpha = "alpha" in version.toString() val isBeta = "beta" in version.toString() if (isAlpha) println("Alpha version detected.") diff --git a/changelogs/1.5.1+1.20.md b/changelogs/1.5.1+1.20.md new file mode 100644 index 0000000..100af6b --- /dev/null +++ b/changelogs/1.5.1+1.20.md @@ -0,0 +1,22 @@ +# Controlify 1.5.1 for 1.20.1 + +## New Features + +- Added Simple Voice Chat support. You can now bind push-to-talk and whisper + to your controller and it will work properly. Radial menus have custom icons + for some SVC actions. +- Added radial menus to the API completely. + +## Changes + +- Made rumble effects merge together rather than pausing each other when multiple effects + are playing at once. +- Slightly increased the values the auto-deadzone calibration gives you. + +## Bug Fixes + +- Fixed the radial up/down/left/right bindings not having a localised name. + +## Language Updates + +- Updated Chinese translation. diff --git a/src/main/java/dev/isxander/controlify/server/EntityVibrationPacket.java b/src/main/java/dev/isxander/controlify/server/EntityVibrationPacket.java index e593536..e23335f 100644 --- a/src/main/java/dev/isxander/controlify/server/EntityVibrationPacket.java +++ b/src/main/java/dev/isxander/controlify/server/EntityVibrationPacket.java @@ -36,7 +36,7 @@ public record EntityVibrationPacket(int entityId, float range, int duration, Rum Entity entity = Minecraft.getInstance().level.getEntity(entityId); return ContinuousRumbleEffect.builder() .constant(state) - .inWorld(() -> entity.position(), 0, 1, range, Easings::easeInSine) + .inWorld(entity::position, 0, 1, range, Easings::easeInSine) .timeout(duration) .build(); }