Skip to content

Commit

Permalink
Added "modern"as a redstoneDustAlgorithm option to reduce redstone du…
Browse files Browse the repository at this point in the history
…st lag, it should still work the same as vanilla, if you have any issues contact me
  • Loading branch information
Dioswilson committed Jan 27, 2022
1 parent f3e6a1d commit 57b153f
Show file tree
Hide file tree
Showing 3 changed files with 603 additions and 127 deletions.
5 changes: 3 additions & 2 deletions carpetmodSrc/carpet/CarpetSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -622,12 +622,13 @@ private static boolean validateBlockEventSerializer(boolean value) {

@Rule(desc = "Redstone dust algorithm", category = {EXPERIMENTAL, OPTIMIZATIONS}, extra = {
"Fast redstone dust by Theosib",
"Random redstone dust to test if your contraption is locational"
"Random redstone dust to test if your contraption is locational",
"Modern aims to mimic 1.15's signal decrement to improve lag efficiency"
})
public static RedstoneDustAlgorithm redstoneDustAlgorithm = RedstoneDustAlgorithm.vanilla;

public static enum RedstoneDustAlgorithm {
vanilla, fast, random
vanilla, fast, random, modern,
}

@Rule(desc = "TNT causes less lag when exploding in the same spot and in liquids", category = TNT)
Expand Down
Loading

0 comments on commit 57b153f

Please sign in to comment.