Update to 1.17-pre4 and fix Bedrock encryption on Java 16

This commit is contained in:
Camotoy 2021-06-02 22:06:20 -04:00
parent 4f23066b88
commit d6bee02aa9
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 7 additions and 3 deletions

View file

@ -32,7 +32,7 @@
<dependency>
<groupId>com.github.CloudburstMC.Protocol</groupId>
<artifactId>bedrock-v440</artifactId>
<version>a8f4e93</version>
<version>1656151</version>
<scope>compile</scope>
<exclusions>
<exclusion>
@ -122,7 +122,10 @@
<dependency>
<groupId>com.github.GeyserMC</groupId>
<artifactId>MCProtocolLib</artifactId>
<version>ba26c10</version>
<version>5ff383d27aafd081d929fe61a7c46fb03d5e7537</version>
<!-- <groupId>com.github.steveice10</groupId>-->
<!-- <artifactId>mcprotocollib</artifactId>-->
<!-- <version>1.17-pre4-SNAPSHOT</version>-->
<scope>compile</scope>
<exclusions>
<exclusion>

View file

@ -114,7 +114,8 @@ public class JavaSpawnParticleTranslator extends PacketTranslator<ServerSpawnPar
return packet;
};
}
case DUST: {
case DUST:
case DUST_COLOR_TRANSITION: { //TODO
DustParticleData data = (DustParticleData) particle.getData();
int r = (int) (data.getRed() * 255);
int g = (int) (data.getGreen() * 255);