Skip to content

Commit

Permalink
1.21.20 (#5)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Kas-tle authored Aug 14, 2024
1 parent 6e01e04 commit b088cf2
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 90 files
+7 −0 .gitattributes
+4 −0 README.md
+11 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/BaseBedrockCodecHelper.java
+5 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/BedrockCodecHelper.java
+4 −0 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/compat/serializer/DisconnectSerializerCompat.java
+1 −1 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/ResourcePacksInfoSerializer_v291.java
+1 −1 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v332/serializer/ResourcePacksInfoSerializer_v332.java
+38 −4 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v407/BedrockCodecHelper_v407.java
+1 −1 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v407/serializer/ItemStackResponseSerializer_v407.java
+11 −3 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v407/serializer/PlayerArmorDamageSerializer_v407.java
+2 −13 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v419/serializer/ItemStackResponseSerializer_v419.java
+18 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v422/BedrockCodecHelper_v422.java
+0 −3 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v422/Bedrock_v422.java
+0 −29 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v422/serializer/ItemStackResponseSerializer_v422.java
+1 −1 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v422/serializer/ResourcePacksInfoSerializer_v422.java
+18 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v428/BedrockCodecHelper_v428.java
+4 −2 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v428/Bedrock_v428.java
+0 −29 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v428/serializer/ItemStackResponseSerializer_v428.java
+51 −44 ...c/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v428/serializer/PlayerAuthInputSerializer_v428.java
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v448/BedrockCodecHelper_v448.java
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v471/BedrockCodecHelper_v471.java
+2 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v557/BedrockCodecHelper_v557.java
+1 −1 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v618/serializer/CameraPresetsSerializer_v618.java
+160 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/BedrockCodecHelper_v712.java
+62 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/Bedrock_v712.java
+36 −0 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/CameraInstructionSerializer_v712.java
+53 −0 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/CameraPresetsSerializer_v712.java
+22 −0 ...c/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/ChangeDimensionSerializer_v712.java
+20 −0 ...in/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/CurrentStructureFeatureSerializer_v712.java
+33 −0 ...-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/DisconnectSerializer_v712.java
+22 −0 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/EditorNetworkSerializer_v712.java
+23 −0 .../src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/InventoryContentSerializer_v712.java
+27 −0 ...dec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/InventorySlotSerializer_v712.java
+21 −0 ...c/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/JigsawStructureDataSerializer_v712.java
+22 −0 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/MobArmorEquipmentSerializer_v712.java
+12 −0 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/PlayerArmorDamageSerializer_v712.java
+67 −0 ...c/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/PlayerAuthInputSerializer_v712.java
+44 −0 ...src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/ResourcePacksInfoSerializer_v712.java
+36 −0 ...ain/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/ServerboundDiagnosticsSerializer_v712.java
+25 −0 ...n/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/ServerboundLoadingScreenSerializer_v712.java
+22 −0 ...ck-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/SetTitleSerializer_v712.java
+22 −0 ...k-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v712/serializer/StopSoundSerializer_v712.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/AbilityLayer.java
+2 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/DisconnectFailReason.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/PlayerArmorDamageFlag.java
+8 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/ServerboundLoadingScreenPacketType.java
+8 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/SoundEvent.java
+9 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/camera/CameraPreset.java
+14 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/camera/CameraTargetInstruction.java
+10 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/entity/EntityLinkData.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/ContainerSlotType.java
+10 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/FullContainerName.java
+19 −5 .../main/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/ItemStackRequestSlotData.java
+5 −0 ...n/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/AutoCraftRecipeAction.java
+4 −0 ...ain/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/CraftCreativeAction.java
+4 −0 ...n/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/CraftGrindstoneAction.java
+4 −0 .../main/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/CraftRecipeAction.java
+6 −0 ...a/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/ItemStackRequestActionType.java
+2 −0 ...org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/request/action/RecipeItemStackRequestAction.java
+8 −0 ...in/java/org/cloudburstmc/protocol/bedrock/data/inventory/itemstack/response/ItemStackResponseContainer.java
+19 −0 ...ck-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/inventory/transaction/ItemUseTransaction.java
+1 −0 ...codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureTemplateRequestOperation.java
+1 −0 ...ock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/data/structure/StructureTemplateResponseType.java
+16 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/BedrockPacketHandler.java
+5 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/BedrockPacketType.java
+9 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/CameraInstructionPacket.java
+5 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ChangeDimensionPacket.java
+23 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/CurrentStructureFeaturePacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/DisconnectPacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/EditorNetworkPacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/InventoryContentPacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/InventorySlotPacket.java
+5 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/InventoryTransactionPacket.java
+24 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/JigsawStructureDataPacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/MobArmorEquipmentPacket.java
+1 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/PlayerArmorDamagePacket.java
+8 −1 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ResourcePacksInfoPacket.java
+31 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ServerboundDiagnosticsPacket.java
+28 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/ServerboundLoadingScreenPacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/SetTitlePacket.java
+4 −0 bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/packet/StopSoundPacket.java
+2 −2 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/BedrockPeer.java
+18 −10 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/netty/BedrockBatchWrapper.java
+57 −11 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/netty/BedrockPacketWrapper.java
+1 −1 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/netty/codec/packet/BedrockPacketCodec.java
+0 −4 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/util/BatchFlag.java
+1 −5 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/util/EncryptionUtils.java
+12 −0 bedrock-connection/src/main/java/org/cloudburstmc/protocol/bedrock/util/PacketFlag.java
+1 −1 gradle/libs.versions.toml
+0 −6 gradlew
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.v686.Bedrock_v686;
import org.cloudburstmc.protocol.bedrock.codec.v712.Bedrock_v712;
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_v686.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v686.CODEC
public static final BedrockCodecHelper HELPER = Bedrock_v712.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v712.CODEC
.toBuilder().helper(() -> HELPER).build();

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

0 comments on commit b088cf2

Please sign in to comment.