Skip to content

Commit 9a6d2e8

Browse files
committed
1.21.6-rc1
This branch requires preview ViaVersion/ViaBackwards builds with inbuilt 1.21.6 snapshot support which need to be placed inside the mods folder. **ViaVersion will only be released a few days *after* a Minecraft update** unless the protocol changes of the update were trivial. If you want early-access, usually days or even weeks before the final release, you can subscribe to either: - [GitHub Sponsors](https://github.com/sponsors/kennytv/sponsorships?sponsor=kennytv&tier_id=385613&preview=false) (preferred option. Use the `/verify` command on this Discord after), or alternatively - [Patreon](https://www.patreon.com/kennytv/membership) (see the highest tier and make sure to link Patreon to your Discord account under Settings->Connections)
1 parent 7c7dcee commit 9a6d2e8

File tree

48 files changed

+112
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+112
-112
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Allows the connection to/from different Minecraft versions on your Minecraft client/server (LAN worlds too)
1212

13-
This mod can be installed on 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1, 1.20.6, 1.21.5 with Fabric Loader.
13+
This mod can be installed on 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1, 1.20.6, 1.21.6 with Fabric Loader.
1414

1515
The `legacy` branch also supports Legacy Fabric 1.8.9 and 1.12.2 versions.
1616

@@ -65,7 +65,7 @@ registry synchronization (fabric-registry-sync mod).
6565
| | 1.8.x | 1.9.x | 1.10-1.20.x | 1.21.x |
6666
|-----------------------|-------|-------|-------------|--------|
6767
| 1.14.4-1.20.6 clients ||||| ⟲ ⟲ |||||
68-
| 1.21.5 client |||||||||||
68+
| 1.21.6 client |||||||||||
6969

7070
✓ = [ViaVersion](https://viaversion.com) ⟲ = [ViaBackwards](https://viaversion.com/backwards)
7171
= [ViaRewind](https://viaversion.com/rewind)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
44
loader_version=0.16.14
55
viaver_version=5.3.2
66

7-
publish_mc_versions=1.21.5, 1.20.6, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4
7+
publish_mc_versions=1.21.6, 1.20.6, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include("viafabric-mc1182")
1616
include("viafabric-mc1194")
1717
include("viafabric-mc1201")
1818
include("viafabric-mc1206")
19-
include("viafabric-mc1215")
19+
include("viafabric-mc1216")
2020

2121
plugins {
2222
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"

src/main/java/com/viaversion/fabric/common/config/AbstractViaConfigScreen.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public interface AbstractViaConfigScreen {
2525
String VERSION_TRANSLATE_ID = "gui.protocol_version_field.name";
2626

2727
default int getProtocolTextColor(ProtocolVersion version, boolean parsedValid) {
28-
if (!parsedValid) return 0xff0000; // Red
29-
if (!ProtocolUtils.isValid(version)) return 0x5555FF; // Blue
30-
if (!ProtocolUtils.isSupportedClientSide(version)) return 0xFFA500; // Orange
31-
return 0xE0E0E0; // Default
28+
if (!parsedValid) return 0xFFFF0000; // Red
29+
if (!ProtocolUtils.isValid(version)) return 0xFF5555FF; // Blue
30+
if (!ProtocolUtils.isSupportedClientSide(version)) return 0xFFFFA500; // Orange
31+
return 0xFFE0E0E0; // Default
3232
}
3333

3434
default int calculatePosX(int width, int entryNumber) {

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"1.20.3",
2626
"1.20.5",
2727
"1.20.6",
28-
"1.21.5"
28+
"1.21.6-rc.1"
2929
],
3030
"viaversion": ">=5.0.0"
3131
},

viafabric-mc1144/src/main/java/com/viaversion/fabric/mc1144/gui/ViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private void onHideViaButton(Button widget) {
154154
@Override
155155
public void render(int mouseX, int mouseY, float delta) {
156156
this.renderBackground();
157-
drawCenteredString(this.font, this.title.getContents(), this.width / 2, 20, 16777215);
157+
drawCenteredString(this.font, this.title.getContents(), this.width / 2, 20, 0xFFFFFFFF);
158158
super.render(mouseX, mouseY, delta);
159159
protocolVersion.render(mouseX, mouseY, delta);
160160
}

viafabric-mc1152/src/main/java/com/viaversion/fabric/mc1152/gui/ViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private void onHideViaButton(Button widget) {
154154
@Override
155155
public void render(int mouseX, int mouseY, float delta) {
156156
this.renderBackground();
157-
drawCenteredString(this.font, this.title.getContents(), this.width / 2, 20, 16777215);
157+
drawCenteredString(this.font, this.title.getContents(), this.width / 2, 20, 0xFFFFFFFF);
158158
super.render(mouseX, mouseY, delta);
159159
protocolVersion.render(mouseX, mouseY, delta);
160160
}

viafabric-mc1165/src/main/java/com/viaversion/fabric/mc1165/gui/ViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void onHideViaButton(Button widget) {
156156
@Override
157157
public void render(PoseStack matrices, int mouseX, int mouseY, float delta) {
158158
this.renderBackground(matrices);
159-
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 16777215);
159+
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 0xFFFFFFFF);
160160
super.render(matrices, mouseX, mouseY, delta);
161161
protocolVersion.render(matrices, mouseX, mouseY, delta);
162162
}

viafabric-mc1171/src/main/java/com/viaversion/fabric/mc1171/gui/ViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void onHideViaButton(Button widget) {
156156
@Override
157157
public void render(PoseStack matrices, int mouseX, int mouseY, float delta) {
158158
this.renderBackground(matrices);
159-
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 16777215);
159+
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 0xFFFFFFFF);
160160
super.render(matrices, mouseX, mouseY, delta);
161161
}
162162

viafabric-mc1182/src/main/java/com/viaversion/fabric/mc1182/gui/ViaConfigScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void onHideViaButton(Button widget) {
156156
@Override
157157
public void render(PoseStack matrices, int mouseX, int mouseY, float delta) {
158158
this.renderBackground(matrices);
159-
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 16777215);
159+
drawCenteredString(matrices, this.font, this.title, this.width / 2, 20, 0xFFFFFFFF);
160160
super.render(matrices, mouseX, mouseY, delta);
161161
}
162162

0 commit comments

Comments
 (0)