forked from Clones/Controlify
📜 Bump to 1.5.1 + changelog
This commit is contained in:
1 parent
1c3aee7ea5
commit
f2e8fc1187
3 files changed
+24
-2
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user