1
0
forked from Clones/Controlify

📜 Bump to 1.5.1 + changelog

This commit is contained in:
isXander
2023-08-11 23:21:35 +01:00
parent 1c3aee7ea5
commit f2e8fc1187
3 changed files with 24 additions and 2 deletions

View File

@ -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.")

22
changelogs/1.5.1+1.20.md Normal file
View File

@ -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.

View File

@ -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();
}