Update to 1.17.1
This commit is contained in:
@@ -239,6 +239,7 @@ dependencies {
|
||||
11603: '1.16.3',
|
||||
11604: '1.16.4',
|
||||
11700: '1.17',
|
||||
11701: '1.17.1',
|
||||
][mcVersion]
|
||||
mappings 'net.fabricmc:yarn:' + [
|
||||
11404: '1.14.4+build.16',
|
||||
@@ -247,6 +248,7 @@ dependencies {
|
||||
11603: '1.16.3+build.1:v2',
|
||||
11604: '1.16.4+build.6:v2',
|
||||
11700: '1.17+build.13:v2',
|
||||
11701: '1.17.1+build.29:v2',
|
||||
][mcVersion]
|
||||
modImplementation 'net.fabricmc:fabric-loader:0.11.6'
|
||||
def fabricApiVersion = [
|
||||
@@ -256,6 +258,7 @@ dependencies {
|
||||
11603: '0.17.1+build.394-1.16',
|
||||
11604: '0.25.1+build.416-1.16',
|
||||
11700: '0.36.0+1.17',
|
||||
11701: '0.37.1+1.17',
|
||||
][mcVersion]
|
||||
def fabricApiModules = [
|
||||
"api-base",
|
||||
@@ -326,7 +329,7 @@ dependencies {
|
||||
|
||||
shadow 'com.github.ReplayMod.JavaBlend:2.79.0:a0696f8'
|
||||
|
||||
shadow "com.github.ReplayMod:ReplayStudio:0e72e36", shadeExclusions
|
||||
shadow "com.github.ReplayMod:ReplayStudio:a67fb11", shadeExclusions
|
||||
|
||||
implementation(jGui){
|
||||
transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those
|
||||
|
||||
2
jGui
2
jGui
Submodule jGui updated: 9b5e0192ab...943ddc84bc
@@ -176,6 +176,7 @@ val doRelease by tasks.registering {
|
||||
defaultTasks("bundleJar")
|
||||
|
||||
preprocess {
|
||||
val mc11701 = createNode("1.17.1", 11701, "yarn")
|
||||
val mc11700 = createNode("1.17", 11700, "yarn")
|
||||
val mc11604 = createNode("1.16.4", 11604, "yarn")
|
||||
val mc11601 = createNode("1.16.1", 11601, "yarn")
|
||||
@@ -193,6 +194,7 @@ preprocess {
|
||||
val mc10800 = createNode("1.8", 10800, "srg")
|
||||
val mc10710 = createNode("1.7.10", 10710, "srg")
|
||||
|
||||
mc11701.link(mc11700)
|
||||
mc11700.link(mc11604, file("versions/mapping-fabric-1.17-1.16.4.txt"))
|
||||
mc11604.link(mc11601)
|
||||
mc11601.link(mc11502)
|
||||
|
||||
@@ -30,6 +30,7 @@ val jGuiVersions = listOf(
|
||||
"1.16.1",
|
||||
"1.16.4",
|
||||
"1.17",
|
||||
"1.17.1",
|
||||
)
|
||||
val replayModVersions = listOf(
|
||||
// "1.7.10",
|
||||
@@ -48,6 +49,7 @@ val replayModVersions = listOf(
|
||||
"1.16.1",
|
||||
"1.16.4",
|
||||
"1.17",
|
||||
"1.17.1",
|
||||
)
|
||||
|
||||
rootProject.buildFileName = "root.gradle.kts"
|
||||
|
||||
@@ -39,7 +39,7 @@ public class Util {
|
||||
}
|
||||
}
|
||||
|
||||
private static FloatBuffer floatBuffer = GlAllocationUtils.allocateFloatBuffer(16);
|
||||
private static FloatBuffer floatBuffer = GlAllocationUtils.allocateByteBuffer(16 * 4).asFloatBuffer();
|
||||
public static Matrix4f getGlMatrix(int matrix) {
|
||||
floatBuffer.clear();
|
||||
//#if MC>=11400
|
||||
|
||||
@@ -103,7 +103,12 @@ public class NoGuiScreenshot {
|
||||
// Read it, create the screenshot and finish the future
|
||||
try {
|
||||
//#if MC>=11400
|
||||
Image image = new Image(ScreenshotUtils.takeScreenshot(frameWidth, frameHeight, mc.getFramebuffer()));
|
||||
Image image = new Image(ScreenshotUtils.takeScreenshot(
|
||||
//#if MC<11701
|
||||
frameWidth, frameHeight,
|
||||
//#endif
|
||||
mc.getFramebuffer()
|
||||
));
|
||||
//#else
|
||||
//$$ // We're using Minecraft's ScreenShotHelper even though it writes the screenshot to
|
||||
//$$ // disk for better maintainability
|
||||
|
||||
Reference in New Issue
Block a user