forked from Clones/Controlify
📜 Bump to 1.5.1 + changelog
This commit is contained in:
@ -12,7 +12,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.isxander"
|
group = "dev.isxander"
|
||||||
version = "1.5.0+1.20"
|
version = "1.5.1+1.20"
|
||||||
val isAlpha = "alpha" in version.toString()
|
val isAlpha = "alpha" in version.toString()
|
||||||
val isBeta = "beta" in version.toString()
|
val isBeta = "beta" in version.toString()
|
||||||
if (isAlpha) println("Alpha version detected.")
|
if (isAlpha) println("Alpha version detected.")
|
||||||
|
22
changelogs/1.5.1+1.20.md
Normal file
22
changelogs/1.5.1+1.20.md
Normal 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.
|
@ -36,7 +36,7 @@ public record EntityVibrationPacket(int entityId, float range, int duration, Rum
|
|||||||
Entity entity = Minecraft.getInstance().level.getEntity(entityId);
|
Entity entity = Minecraft.getInstance().level.getEntity(entityId);
|
||||||
return ContinuousRumbleEffect.builder()
|
return ContinuousRumbleEffect.builder()
|
||||||
.constant(state)
|
.constant(state)
|
||||||
.inWorld(() -> entity.position(), 0, 1, range, Easings::easeInSine)
|
.inWorld(entity::position, 0, 1, range, Easings::easeInSine)
|
||||||
.timeout(duration)
|
.timeout(duration)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user