From 56a665b2eb53551439f3eead8612f29ff9c27bed Mon Sep 17 00:00:00 2001 From: MacacoLew <72635645+MacacoLew@users.noreply.github.com> Date: Mon, 5 Apr 2021 20:04:40 -0400 Subject: [PATCH 1/2] Add more packets to PacketType --- src/dev/_2lstudios/hamsterapi/enums/PacketType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dev/_2lstudios/hamsterapi/enums/PacketType.java b/src/dev/_2lstudios/hamsterapi/enums/PacketType.java index b708cfb..5a0b314 100644 --- a/src/dev/_2lstudios/hamsterapi/enums/PacketType.java +++ b/src/dev/_2lstudios/hamsterapi/enums/PacketType.java @@ -27,7 +27,8 @@ public enum PacketType { PacketPlayInEntityAction, PacketPlayInFlying, PacketPlayInHeldItemSlot, PacketPlayInKeepAlive, PacketPlayInLook, PacketPlayInPosition, PacketPlayInPositionLook, PacketPlayInSetCreativeSlot, PacketPlayInSettings, PacketPlayInSteerVehicle, PacketPlayInTabComplete, PacketPlayInTransaction, PacketPlayInUpdateSign, - PacketPlayInUseEntity, PacketPlayInWindowClick + PacketPlayInUseEntity, PacketPlayInWindowClick, PacketPlayInAutoRecipe, PacketPlayInRecipeDisplayed, PacketPlayInBoatMove, + PacketPlayInAdvancements, PacketPlayInResourcePackStatus ; } From 57374aec3296232fd86c1027660b84efd089a9b6 Mon Sep 17 00:00:00 2001 From: LinsaFTW Date: Wed, 7 Apr 2021 18:04:31 -0300 Subject: [PATCH 2/2] Added new Packet types --- src/dev/_2lstudios/hamsterapi/enums/PacketType.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dev/_2lstudios/hamsterapi/enums/PacketType.java b/src/dev/_2lstudios/hamsterapi/enums/PacketType.java index 5a0b314..71b7f56 100644 --- a/src/dev/_2lstudios/hamsterapi/enums/PacketType.java +++ b/src/dev/_2lstudios/hamsterapi/enums/PacketType.java @@ -28,7 +28,10 @@ public enum PacketType { PacketPlayInPosition, PacketPlayInPositionLook, PacketPlayInSetCreativeSlot, PacketPlayInSettings, PacketPlayInSteerVehicle, PacketPlayInTabComplete, PacketPlayInTransaction, PacketPlayInUpdateSign, PacketPlayInUseEntity, PacketPlayInWindowClick, PacketPlayInAutoRecipe, PacketPlayInRecipeDisplayed, PacketPlayInBoatMove, - PacketPlayInAdvancements, PacketPlayInResourcePackStatus + PacketPlayInAdvancements, PacketPlayInResourcePackStatus, PacketPlayInUseItem, PacketPlayInTrSel, PacketPlayInTileNBTQuery, + PacketPlayInTeleportAccept, PacketPlayInStruct, PacketPlayInSpectate, PacketPlayInSetJigsaw, PacketPlayInCommandBlock, + PacketPlayInCommandMinecart, PacketPlayInRecipeSettings, PacketPlayInPickItem, PacketPlayInJigsawGenerate, PacketPlayInItemName, + PacketPlayInDifficultyChange, PacketPlayInDifficultyLock ; }