Merge pull request #620 from Noxcrew/feature/with

Add @With annotation to packet classes
This commit is contained in:
Steven Smith 2021-03-24 01:42:08 -07:00 committed by GitHub
commit 48860a8084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
153 changed files with 325 additions and 1 deletions

View file

@ -79,7 +79,7 @@
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.8</version> <version>1.18.12</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,12 +13,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,10 +13,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -12,10 +12,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,10 +13,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -6,18 +6,22 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.ToString; import lombok.ToString;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@ToString @ToString
@EqualsAndHashCode @EqualsAndHashCode
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ClientCraftingBookStatePacket implements Packet { public class ClientCraftingBookStatePacket implements Packet {
private @NonNull CraftingBookStateType type; private @NonNull CraftingBookStateType type;
private boolean bookOpen; private boolean bookOpen;

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -4,18 +4,22 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.ToString; import lombok.ToString;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@ToString @ToString
@EqualsAndHashCode @EqualsAndHashCode
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ClientDisplayedRecipePacket implements Packet { public class ClientDisplayedRecipePacket implements Packet {
private @NonNull String recipeId; private @NonNull String recipeId;

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -12,10 +12,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -15,10 +15,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -18,10 +18,12 @@ import lombok.AccessLevel;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ClientWindowActionPacket implements Packet { public class ClientWindowActionPacket implements Packet {

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,11 +9,13 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.UUID; import java.util.UUID;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,11 +9,13 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ClientUpdateSignPacket implements Packet { public class ClientUpdateSignPacket implements Packet {

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -15,6 +15,7 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@ -24,6 +25,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,18 +9,22 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
import java.util.UUID; import java.util.UUID;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerBossBarPacket implements Packet { public class ServerBossBarPacket implements Packet {
private @NonNull UUID uuid; private @NonNull UUID uuid;
private @NonNull BossBarAction action; private @NonNull BossBarAction action;

View file

@ -12,12 +12,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
import java.util.UUID; import java.util.UUID;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -7,15 +7,19 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerCombatPacket implements Packet { public class ServerCombatPacket implements Packet {
private CombatState combatState; private CombatState combatState;

View file

@ -23,10 +23,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -21,10 +21,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,6 +9,7 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
@ -16,6 +17,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -10,11 +10,13 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,10 +13,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -10,11 +10,13 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -15,6 +15,7 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@ -23,6 +24,7 @@ import java.util.List;
import java.util.UUID; import java.util.UUID;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,10 +13,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -23,12 +23,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -15,10 +15,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,12 +9,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerTabCompletePacket implements Packet { public class ServerTabCompletePacket implements Packet {

View file

@ -7,17 +7,21 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerTitlePacket implements Packet { public class ServerTitlePacket implements Packet {
private @NonNull TitleAction action; private @NonNull TitleAction action;

View file

@ -6,17 +6,21 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerUnlockRecipesPacket implements Packet { public class ServerUnlockRecipesPacket implements Packet {
private @NonNull UnlockRecipesAction action; private @NonNull UnlockRecipesAction action;

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -13,12 +13,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -10,10 +10,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -15,12 +15,14 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -9,10 +9,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -12,10 +12,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -11,10 +11,12 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -8,10 +8,12 @@ import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor @AllArgsConstructor

View file

@ -6,9 +6,11 @@ import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput; import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet; import com.github.steveice10.packetlib.packet.Packet;
import lombok.AccessLevel; import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import lombok.With;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
@ -16,8 +18,10 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
@Data @Data
@With
@Setter(AccessLevel.NONE) @Setter(AccessLevel.NONE)
@NoArgsConstructor(access = AccessLevel.PRIVATE) @NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class ServerPlayerPositionRotationPacket implements Packet { public class ServerPlayerPositionRotationPacket implements Packet {
private double x; private double x;
private double y; private double y;

Some files were not shown because too many files have changed in this diff Show more