Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/club/sk1er/patcher/config/PatcherConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PatcherConfig extends Vigilant {

@Property(
type = PropertyType.SWITCH, name = "Parallax Fix",
description = "Resolve the camera being too far back, seemingly making your eyes be in the back of your head.\n" +
description = "Resolve the camera being too far back, seemingly making your eyes be in the back of your head.\n " +
"§cCurrently makes the F3 crosshair disappear.",
category = "Bug Fixes", subcategory = "General"
)
Expand Down Expand Up @@ -611,7 +611,7 @@ public static void modifyEverySound() {

@Property(
type = PropertyType.SWITCH, name = "Low Animation Tick",
description = "Lowers the number of animations that happen a second from 1000 to 500.",
description = "Lowers the number of animations that happen a second from 1000 to 20.",
category = "Performance", subcategory = "World"
)
public static boolean lowAnimationTick = true;
Expand Down Expand Up @@ -747,7 +747,7 @@ public static void modifyEverySound() {
type = PropertyType.SELECTOR, name = "Entity Culling Interval",
description = "The amount of time in ms between performing visibility checks for entities.\nShorter periods are more costly toward performance but provide the most accurate information.\nLower values are recommended in competitive environments.",
category = "Performance", subcategory = "Culling",
options = {"50", "25", "10"}
options = {"250", "100", "50", "25", "10"}
)
public static int cullingInterval = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
public class WorldClientMixin_AnimationTick {
@ModifyConstant(method = "doVoidFogParticles", constant = @Constant(intValue = 1000))
private int patcher$lowerTickCount(int original) {
return PatcherConfig.lowAnimationTick ? 100 : original;
return PatcherConfig.lowAnimationTick ? 20 : original;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,22 @@ private void check() {
long delay = 0;
switch (PatcherConfig.cullingInterval) {
case 0: {
delay = 50;
delay = 250;
break;
}
case 1: {
delay = 25;
delay = 100;
break;
}
case 2: {
delay = 50;
break;
}
case 3: {
delay = 25;
break;
}
case 4: {
delay = 10;
break;
}
Expand Down