smooth low tps

This commit is contained in:
gnembon committed 2019-07-09 09:28:54 -03:00
1 parent 21bfdd3424
commit da063aacb4
3 files changed
+27

No files matched your search

@@ -223,6 +223,9 @@ public class CarpetSettings
@Rule(desc = "fill/clone/setblock and structure blocks cause block updates", category = CREATIVE)
public static boolean fillUpdates = true;
@Rule(desc = "smooth client animations with low tps settings", extra = "works only in SP, and will slow down players", category = CREATIVE)
public static boolean smoothClientAnimations;
private static class PushLimitLimits extends Validator<Integer> {
@Override public Integer validate(ServerCommandSource source, ParsedRule<Integer> currentRule, Integer newValue, String string) {
return (newValue>0 && newValue <= 1024) ? newValue : null;