Skip to content

Commit

Permalink
add optimizedTNTEdgeCases
Browse files Browse the repository at this point in the history
  • Loading branch information
lntricate1 committed Feb 5, 2024
1 parent 64db0c7 commit 0facf0b
Show file tree
Hide file tree
Showing 17 changed files with 581 additions and 331 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'maven-publish'
id 'fabric-loom' version '1.1-SNAPSHOT' apply false
id 'com.replaymod.preprocess' version 'e1050f4d72'
id 'fabric-loom' version '1.3-SNAPSHOT' apply false
id 'com.replaymod.preprocess' version '20c7ec554a'
}

preprocess {
Expand All @@ -14,6 +14,7 @@ preprocess {
def mc1193 = createNode('1.19.3' , 1_19_03, 'yarn')
def mc1194 = createNode('1.19.4' , 1_19_04, 'yarn')
def mc1201 = createNode('1.20.1' , 1_20_01, 'yarn')
def mc1202 = createNode('1.20.2' , 1_20_02, 'yarn')
// def mcSnapshot = createNode('snapshot', 1_19_00, 'yarn')

// mc115.link(mc114, null)
Expand All @@ -25,6 +26,7 @@ preprocess {
mc1192.link(mc1193, null)
mc1193.link(mc1194, null)
mc1194.link(mc1201, null)
mc1201.link(mc1202, null)
// mc119.link(mcSnapshot, null)
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def versions = Arrays.asList(
"1.19.2",
"1.19.3",
"1.19.4",
"1.20.1"
"1.20.1",
"1.20.2"
// "snapshot",
)
for (String version : versions) {
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/me/lntricate/intricarpet/Rules.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ public class Rules
options = {"true", "false", "ops"}
)
public static String commandInteraction = "ops";

@Rule(
desc = "Enables edge case fixes in optimizedTNT, at the cost of a bit less optimization",
category = {"COMMAND", "intricarpet"}
)
public static boolean optimizedTNTEdgeCases = false;
}
Loading

0 comments on commit 0facf0b

Please sign in to comment.