From f2e8fc1187c59bb1c867ae43b9e5c33e4e242533 Mon Sep 17 00:00:00 2001 From: isXander Date: Fri, 11 Aug 2023 23:21:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9C=20Bump=20to=201.5.1=20+=20changelo?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- changelogs/1.5.1+1.20.md | 22 +++++++++++++++++++ .../server/EntityVibrationPacket.java | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 changelogs/1.5.1+1.20.md 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(); }