Skip to content

Commit

Permalink
Support 1.21.2 (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Kas-tle authored Jul 20, 2024
1 parent 5539550 commit 48efdc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion protocol
Submodule protocol updated 16 files
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/BedrockCodecHelper_v291.java
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v361/BedrockCodecHelper_v361.java
+2 −2 ...main/java/org/cloudburstmc/protocol/bedrock/codec/v361/serializer/ClientCacheBlobStatusSerializer_v361.java
+6 −1 ...c/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v486/serializer/SubChunkRequestSerializer_v486.java
+3 −3 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v649/Bedrock_v649.java
+2 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v662/Bedrock_v662.java
+5 −3 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java
+16 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v686/Bedrock_v686.java
+20 −0 .../main/java/org/cloudburstmc/protocol/bedrock/codec/v686/serializer/ClientboundCloseFormSerializer_v686.java
+14 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/EncodingSettings.java
+3 −3 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/LevelEvent.java
+2 −2 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/SoundEvent.java
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/entity/EntityDataTypes.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/BedrockPacketHandler.java
+2 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/BedrockPacketType.java
+22 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ClientboundCloseFormPacket.java
6 changes: 3 additions & 3 deletions src/main/java/org/cloudburstmc/proxypass/ProxyPass.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.cloudburstmc.protocol.bedrock.BedrockPong;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodec;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodecHelper;
import org.cloudburstmc.protocol.bedrock.codec.v685.Bedrock_v685;
import org.cloudburstmc.protocol.bedrock.codec.v686.Bedrock_v686;
import org.cloudburstmc.protocol.bedrock.data.EncodingSettings;
import org.cloudburstmc.protocol.bedrock.data.definitions.BlockDefinition;
import org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer;
Expand Down Expand Up @@ -64,8 +64,8 @@ public class ProxyPass {
public static final ObjectMapper JSON_MAPPER;
public static final YAMLMapper YAML_MAPPER = (YAMLMapper) new YAMLMapper().disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
public static final String MINECRAFT_VERSION;
public static final BedrockCodecHelper HELPER = Bedrock_v685.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v685.CODEC
public static final BedrockCodecHelper HELPER = Bedrock_v686.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v686.CODEC
.toBuilder().helper(() -> HELPER).build();

public static final int PROTOCOL_VERSION = CODEC.getProtocolVersion();
Expand Down

0 comments on commit 48efdc0

Please sign in to comment.