forked from Clones/Controlify
rewrite most of joystick mapping
This commit is contained in:
1 parent
ff7e676eb5
commit
d3fc0a946b
19 files changed
+535
-217
No files matched your search
+2
@@ -53,6 +53,8 @@ public class MultiPlayerGameModeMixin {
|
||||
}
|
||||
|
||||
private void startRumble(BlockState state) {
|
||||
stopRumble();
|
||||
|
||||
var effect = ContinuousRumbleEffect.builder()
|
||||
.byTick(tick -> new RumbleState(
|
||||
0.02f + Easings.easeInQuad(Math.min(1, state.getBlock().defaultDestroyTime() / 20f)) * 0.25f,
|
||||
|
||||
Reference in new issue
Block a user