Skip to content

Commit

Permalink
Support 1.21.0
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed May 8, 2024
1 parent 46d566e commit d326ed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion protocol
Submodule protocol updated 32 files
+22 −3 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v662/Bedrock_v662.java
+18 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v671/Bedrock_v671.java
+84 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java
+23 −0 .../src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/AwardAchievementSerializer_v685.java
+27 −0 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/CodeBuilderSourceSerializer_v685.java
+25 −0 ...ec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/ContainerCloseSerializer_v685.java
+111 −0 ...odec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/CraftingDataSerializer_v685.java
+34 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/EventSerializer_v685.java
+26 −0 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/StartGameSerializer_v685.java
+22 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/serializer/TextSerializer_v685.java
+10 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/CodeBuilderCodeStatus.java
+4 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/DisconnectFailReason.java
+10 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/LevelEvent.java
+8 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/PlayerAuthInputData.java
+112 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/SoundEvent.java
+4 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/command/CommandParam.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/command/CommandParamType.java
+12 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/entity/EntityDataTypes.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/event/EventDataType.java
+16 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/event/ItemUsedEventData.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/ItemUseType.java
+32 −0 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/crafting/RecipeUnlockingRequirement.java
+3 −0 ...odec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/crafting/recipe/CraftingRecipeData.java
+20 −7 ...-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/crafting/recipe/ShapedRecipeData.java
+17 −4 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/crafting/recipe/ShapelessRecipeData.java
+23 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/AwardAchievementPacket.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
+8 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/CodeBuilderSourcePacket.java
+5 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ContainerClosePacket.java
+12 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/StartGamePacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/TextPacket.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.v671.Bedrock_v671;
import org.cloudburstmc.protocol.bedrock.codec.v685.Bedrock_v685;
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_v671.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v671.CODEC
public static final BedrockCodecHelper HELPER = Bedrock_v685.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v685.CODEC
.toBuilder().helper(() -> HELPER).build();

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

0 comments on commit d326ed4

Please sign in to comment.