Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-09-08 20:43:04 +02:00
Glowing text on signs is Bedrock 1.17.10. :(
Dieser Commit ist enthalten in:
Ursprung
fc4f2b7890
Commit
0162257d30
@ -96,6 +96,7 @@ public class SignBlockEntityTranslator extends BlockEntityTranslator {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void translateTag(NbtMapBuilder builder, CompoundTag tag, int blockState) {
|
public void translateTag(NbtMapBuilder builder, CompoundTag tag, int blockState) {
|
||||||
|
//TODO Bedrock 1.17.10 glow text
|
||||||
StringBuilder signText = new StringBuilder();
|
StringBuilder signText = new StringBuilder();
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
int currentLine = i + 1;
|
int currentLine = i + 1;
|
||||||
@ -132,7 +133,7 @@ public class SignBlockEntityTranslator extends BlockEntityTranslator {
|
|||||||
signText.append(getBedrockSignColor(color.getValue().toString()));
|
signText.append(getBedrockSignColor(color.getValue().toString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
signText.append(finalSignLine.toString());
|
signText.append(finalSignLine);
|
||||||
signText.append("\n");
|
signText.append("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren