diff --git a/pom.xml b/pom.xml index b337d5ef..1aa8ca21 100644 --- a/pom.xml +++ b/pom.xml @@ -79,7 +79,7 @@ org.projectlombok lombok - 1.18.8 + 1.18.12 provided diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java index 37ed65d3..855d4963 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/handshake/client/HandshakePacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java index dc683164..e2783600 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientChatPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java index 7761d6d8..f81a07ec 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientKeepAlivePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientLockDifficultyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientLockDifficultyPacket.java index 25157e3c..a17c2553 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientLockDifficultyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientLockDifficultyPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java index 6688fc10..5fdc2926 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientPluginMessagePacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java index 9765acc5..4b6560e5 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientRequestPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java index f8817855..72df0158 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientResourcePackStatusPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSetDifficultyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSetDifficultyPacket.java index 51102356..615fb768 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSetDifficultyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSetDifficultyPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java index a5ae310a..62c98544 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientSettingsPacket.java @@ -13,12 +13,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.ArrayList; import java.util.List; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java index 915620b1..0ba2f2ae 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/ClientTabCompletePacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java index 291ce97b..31c61e98 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerAbilitiesPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java index 034b2fb5..88383827 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerActionPacket.java @@ -13,10 +13,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java index 2a4b2a64..66011675 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerChangeHeldItemPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java index e460d728..9b7f6015 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerInteractEntityPacket.java @@ -12,10 +12,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java index 7b65320c..01cd9e26 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerMovementPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java index d3628ce6..bb7b5d3f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPlaceBlockPacket.java @@ -13,10 +13,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java index facbfb9f..2ec6140d 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java index 151bff42..4107db37 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerPositionRotationPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java index 1bea5f74..6788a6e5 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerRotationPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java index 94e8eb4b..7e0c26f8 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerStatePacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java index 62ed8cb9..3a903285 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerSwingArmPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java index f04954af..52e8f1c2 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/player/ClientPlayerUseItemPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientClickWindowButtonPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientClickWindowButtonPacket.java index 2beccbdc..f66c4b09 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientClickWindowButtonPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientClickWindowButtonPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java index fca81b39..598d61a7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCloseWindowPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java index 546af1d0..0757ecab 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientConfirmTransactionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCraftingBookStatePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCraftingBookStatePacket.java index 3e363f85..46438f4f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCraftingBookStatePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCraftingBookStatePacket.java @@ -6,18 +6,22 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.ToString; +import lombok.With; import java.io.IOException; @Data +@With @ToString @EqualsAndHashCode @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ClientCraftingBookStatePacket implements Packet { private @NonNull CraftingBookStateType type; private boolean bookOpen; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java index 5165577f..9282bc66 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientCreativeInventoryActionPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientDisplayedRecipePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientDisplayedRecipePacket.java index e3907770..4f4b445c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientDisplayedRecipePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientDisplayedRecipePacket.java @@ -4,18 +4,22 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.ToString; +import lombok.With; import java.io.IOException; @Data +@With @ToString @EqualsAndHashCode @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ClientDisplayedRecipePacket implements Packet { private @NonNull String recipeId; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEditBookPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEditBookPacket.java index 60f6e67a..ac41da6a 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEditBookPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientEditBookPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientMoveItemToHotbarPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientMoveItemToHotbarPacket.java index ac09da87..a7e6d80e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientMoveItemToHotbarPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientMoveItemToHotbarPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientPrepareCraftingGridPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientPrepareCraftingGridPacket.java index a2c3738a..b8bca6a4 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientPrepareCraftingGridPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientPrepareCraftingGridPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientRenameItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientRenameItemPacket.java index 59a81e56..69b4bac4 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientRenameItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientRenameItemPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSelectTradePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSelectTradePacket.java index 1986c479..d83f41ef 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSelectTradePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSelectTradePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSetBeaconEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSetBeaconEffectPacket.java index 64a3b306..dfcd6c72 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSetBeaconEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientSetBeaconEffectPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockMinecartPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockMinecartPacket.java index b81b84de..b4c45d81 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockMinecartPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockMinecartPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockPacket.java index 1ce1efa9..62b4378f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateCommandBlockPacket.java @@ -12,10 +12,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateJigsawBlockPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateJigsawBlockPacket.java index 69ee0490..88d03068 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateJigsawBlockPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateJigsawBlockPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateStructureBlockPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateStructureBlockPacket.java index 59aa1d22..06429a70 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateStructureBlockPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientUpdateStructureBlockPacket.java @@ -15,10 +15,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java index a9756b2e..fd662104 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/window/ClientWindowActionPacket.java @@ -18,10 +18,12 @@ import lombok.AccessLevel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ClientWindowActionPacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientBlockNBTRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientBlockNBTRequestPacket.java index 654a4bed..ea17e143 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientBlockNBTRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientBlockNBTRequestPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientEntityNBTRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientEntityNBTRequestPacket.java index 36115398..7c3fdcb2 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientEntityNBTRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientEntityNBTRequestPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientGenerateStructuresPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientGenerateStructuresPacket.java index cc372e85..b3ed03ee 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientGenerateStructuresPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientGenerateStructuresPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java index 4c1e2587..7d374612 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSpectatePacket.java @@ -9,11 +9,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java index e950d6c5..1caed1fe 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerBoatPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java index e4a78378..36d360f7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientSteerVehiclePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java index 7119b14c..af1c78b5 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientTeleportConfirmPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java index 6f3fb5e5..a578251c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientUpdateSignPacket.java @@ -9,11 +9,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.Arrays; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ClientUpdateSignPacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java index 8393533b..6bfadddd 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/client/world/ClientVehicleMovePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementTabPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementTabPacket.java index 3a1c12f7..edc09a11 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementTabPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementTabPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementsPacket.java index cf4a35fd..c1cdd86e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerAdvancementsPacket.java @@ -15,6 +15,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @@ -24,6 +25,7 @@ import java.util.List; import java.util.Map; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java index 5be241a0..08d1eefc 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerBossBarPacket.java @@ -9,18 +9,22 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerBossBarPacket implements Packet { private @NonNull UUID uuid; private @NonNull BossBarAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java index 5c469028..1e1705af 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerChatPacket.java @@ -12,12 +12,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java index ee9b85f4..22b70892 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerCombatPacket.java @@ -7,15 +7,19 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerCombatPacket implements Packet { private CombatState combatState; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareCommandsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareCommandsPacket.java index f175f6fa..692d3c96 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareCommandsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareCommandsPacket.java @@ -23,10 +23,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareRecipesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareRecipesPacket.java index 00958657..c23f0e88 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareRecipesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareRecipesPacket.java @@ -21,10 +21,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareTagsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareTagsPacket.java index a473e927..f0afe64c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareTagsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDeclareTagsPacket.java @@ -9,6 +9,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.Arrays; @@ -16,6 +17,7 @@ import java.util.HashMap; import java.util.Map; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java index 183fc203..41096d61 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDifficultyPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java index 42b58bb8..d211d1d3 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerDisconnectPacket.java @@ -10,11 +10,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerEntitySoundEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerEntitySoundEffectPacket.java index 9d24baa3..34bf86f6 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerEntitySoundEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerEntitySoundEffectPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java index 27fbfc45..5074ca7e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerJoinGamePacket.java @@ -13,10 +13,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java index d72f511b..1ba2c8b2 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerKeepAlivePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java index f42f8eb4..dd88f11c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListDataPacket.java @@ -10,11 +10,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java index 4114d4e9..40d10e5e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPlayerListEntryPacket.java @@ -15,6 +15,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @@ -23,6 +24,7 @@ import java.util.List; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java index 45fdc3f6..e89bcc38 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerPluginMessagePacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java index 8f45ab2d..5947af9e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerResourcePackSendPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java index 3b9f847f..30ebfa94 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerRespawnPacket.java @@ -13,10 +13,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java index 0734f568..ca16d726 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCompressionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java index 2107cbce..0a1d7e72 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSetCooldownPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java index 8a9bdad6..6652b9a7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStatisticsPacket.java @@ -23,12 +23,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.HashMap; import java.util.Map; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStopSoundPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStopSoundPacket.java index dc3bb298..d0c73f6b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStopSoundPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerStopSoundPacket.java @@ -15,10 +15,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java index 31e0fd16..1f719f1d 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerSwitchCameraPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java index 32fdf97b..7540d101 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTabCompletePacket.java @@ -9,12 +9,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; import java.util.Arrays; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ServerTabCompletePacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java index dde2b7cf..b78c1149 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerTitlePacket.java @@ -7,17 +7,21 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerTitlePacket implements Packet { private @NonNull TitleAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerUnlockRecipesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerUnlockRecipesPacket.java index aef9d30f..943b51c4 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerUnlockRecipesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/ServerUnlockRecipesPacket.java @@ -6,17 +6,21 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.Arrays; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerUnlockRecipesPacket implements Packet { private @NonNull UnlockRecipesAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java index a5901595..c8aab0d1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAnimationPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java index fe7f51bd..2c2579aa 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityAttachPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java index b925a47d..b6bdd509 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityCollectItemPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java index 15045619..cbaa4ac0 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityDestroyPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java index 0aa4771a..4b500288 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEffectPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java index 27463dd0..697162ac 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityEquipmentPacket.java @@ -13,12 +13,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.ArrayList; import java.util.List; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java index 227e4165..4b22f5f1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityHeadLookPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java index 6b5922fe..c84afb40 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMetadataPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java index e6893a4a..35ab0b42 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityMovementPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java index 6ab986a9..a10d759f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java index 6e08096b..758c8051 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPositionRotationPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java index 9bae42de..9da91fdc 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityPropertiesPacket.java @@ -15,12 +15,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.ArrayList; import java.util.List; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java index 9d3393ef..e39836b1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRemoveEffectPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java index 59970611..fdeb2f0c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityRotationPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java index f95b7c77..46f2ce79 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntitySetPassengersPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java index 48eb62a2..9d71cdb0 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityStatusPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java index 6498d571..f58d098b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityTeleportPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java index 6fa1cd03..c5eaf2df 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerEntityVelocityPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java index b3c23ee1..40dcf26f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/ServerVehicleMovePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java index 6398c9fe..bc48fedd 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerAbilitiesPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerActionAckPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerActionAckPacket.java index 1229223a..e358376e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerActionAckPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerActionAckPacket.java @@ -12,10 +12,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java index c3c8083c..661a9827 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerChangeHeldItemPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerFacingPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerFacingPacket.java index 5e78aa22..2621243b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerFacingPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerFacingPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java index a4da230f..68c246af 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerHealthPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java index 19d29941..b78d7c50 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerPositionRotationPacket.java @@ -6,9 +6,11 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.ArrayList; @@ -16,8 +18,10 @@ import java.util.Arrays; import java.util.List; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerPlayerPositionRotationPacket implements Packet { private double x; private double y; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java index c03466ce..9f5634a5 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/player/ServerPlayerSetExperiencePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnEntityPacket.java index f17a8e48..9cf6da95 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnEntityPacket.java @@ -18,11 +18,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java index a448b0cc..a772048b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnExpOrbPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnLivingEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnLivingEntityPacket.java index e23599e9..4801a8f1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnLivingEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnLivingEntityPacket.java @@ -11,11 +11,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java index 845c3638..97a938b7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPaintingPacket.java @@ -13,11 +13,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java index ab2ed2d3..56892b28 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/entity/spawn/ServerSpawnPlayerPacket.java @@ -9,11 +9,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.UUID; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java index 5b6c231e..6340f2a1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerDisplayScoreboardPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java index a50ee719..3ea600d4 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerScoreboardObjectivePacket.java @@ -12,11 +12,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ServerScoreboardObjectivePacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java index 20d495bc..b0a3b45e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerTeamPacket.java @@ -11,18 +11,22 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; import java.util.Arrays; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerTeamPacket implements Packet { private @NonNull String teamName; private @NonNull TeamAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java index 4fb65dea..c3747295 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/scoreboard/ServerUpdateScorePacket.java @@ -6,15 +6,19 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerUpdateScorePacket implements Packet { private String entry; private ScoreboardAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java index 61521738..ebb90afa 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerCloseWindowPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java index 1bc3e735..65b3b2fa 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerConfirmTransactionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenBookPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenBookPacket.java index f03fd8d8..2e5f05a8 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenBookPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenBookPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenHorseWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenHorseWindowPacket.java index ed88fad3..5cb42a9e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenHorseWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenHorseWindowPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java index 96e62067..0d67e52a 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerOpenWindowPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerPreparedCraftingGridPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerPreparedCraftingGridPacket.java index b84ce3ca..623070cf 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerPreparedCraftingGridPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerPreparedCraftingGridPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java index 271a1140..60a1b467 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerSetSlotPacket.java @@ -9,10 +9,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerTradeListPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerTradeListPacket.java index a8a9b4a0..5868e78f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerTradeListPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerTradeListPacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java index fd578bce..f8af913b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowItemsPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java index 4b175b42..a2349c28 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/window/ServerWindowPropertyPacket.java @@ -10,10 +10,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java index ae61a773..4ba3a7b7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockBreakAnimPacket.java @@ -12,10 +12,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java index 0ae5d340..9f3d4ac1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockChangePacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java index d37e281f..ab314a97 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerBlockValuePacket.java @@ -25,10 +25,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java index e45cbbe2..8cbb999b 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerChunkDataPacket.java @@ -15,12 +15,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java index 6b89624c..04c4a2aa 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerExplosionPacket.java @@ -10,12 +10,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.ArrayList; import java.util.List; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java index 83bdfef1..0e675c86 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMapDataPacket.java @@ -14,11 +14,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java index 573e76a6..d87a79fc 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerMultiBlockChangePacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ServerMultiBlockChangePacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNBTResponsePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNBTResponsePacket.java index 2b00f2c3..e9e49fd9 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNBTResponsePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNBTResponsePacket.java @@ -11,10 +11,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java index 90a2582e..4dba2bbe 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerNotifyClientPacket.java @@ -18,10 +18,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java index 6ab07e48..5eb84a85 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerOpenTileEntityEditorPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java index af4ec018..88341fe0 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java @@ -12,10 +12,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java index 5b34a990..e17b03d7 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlayEffectPacket.java @@ -22,10 +22,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java index 4db28ac8..6f2e7b20 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerPlaySoundPacket.java @@ -15,10 +15,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java index db3154d9..856db2cd 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnParticlePacket.java @@ -13,10 +13,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java index 44834237..6fa69e78 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerSpawnPositionPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java index c0848780..5865f2fb 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUnloadChunkPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateLightPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateLightPacket.java index 1e644d72..21062da2 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateLightPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateLightPacket.java @@ -9,11 +9,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.util.Arrays; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class ServerUpdateLightPacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java index 4a0505a1..083644a1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTileEntityPacket.java @@ -14,10 +14,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java index 75f084e3..783fb8ec 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateTimePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewDistancePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewDistancePacket.java index c18b8eb1..34d2d29c 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewDistancePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewDistancePacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewPositionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewPositionPacket.java index 8e800932..b62ad71e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewPositionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerUpdateViewPositionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java index 94fecb4e..ca010648 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/server/world/ServerWorldBorderPacket.java @@ -6,16 +6,20 @@ import com.github.steveice10.packetlib.io.NetInput; import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.packet.Packet; import lombok.AccessLevel; +import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) +@AllArgsConstructor(access = AccessLevel.PRIVATE) public class ServerWorldBorderPacket implements Packet { private @NonNull WorldBorderAction action; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginPluginResponsePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginPluginResponsePacket.java index 97a76be3..5dfdaa5f 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginPluginResponsePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginPluginResponsePacket.java @@ -7,10 +7,12 @@ import lombok.AccessLevel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) public class LoginPluginResponsePacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java index 2468a00c..fcb43d72 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/client/LoginStartPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java index 0f78bc7c..c5659dd4 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/EncryptionRequestPacket.java @@ -9,6 +9,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; import java.security.GeneralSecurityException; @@ -17,6 +18,7 @@ import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java index 175b7878..26db216e 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginDisconnectPacket.java @@ -10,11 +10,13 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginPluginRequestPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginPluginRequestPacket.java index d36db4fe..1e887549 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginPluginRequestPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginPluginRequestPacket.java @@ -9,10 +9,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java index a8cb4191..c1f1f9cb 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSetCompressionPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java index b5e42077..f67c3b53 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/login/server/LoginSuccessPacket.java @@ -10,10 +10,12 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java index bad4c014..96f5e957 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusPingPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java index c5cbdf8c..939cfc68 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/client/StatusQueryPacket.java @@ -7,10 +7,12 @@ import lombok.AccessLevel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor public class StatusQueryPacket implements Packet { diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java index df9f1ab5..4a338ddc 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusPongPacket.java @@ -8,10 +8,12 @@ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.With; import java.io.IOException; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java index 02e0b0e3..03273230 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/status/server/StatusResponsePacket.java @@ -19,12 +19,14 @@ import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.Setter; +import lombok.With; import net.kyori.adventure.text.Component; import java.io.IOException; import java.nio.charset.StandardCharsets; @Data +@With @Setter(AccessLevel.NONE) @NoArgsConstructor(access = AccessLevel.PRIVATE) @AllArgsConstructor