This commit is contained in:
Chipmunk 2022-12-16 22:03:12 -05:00
parent 87be676ec6
commit f381e05418

View file

@ -7,27 +7,17 @@ import com.github.steveice10.packetlib.Session;
import com.github.steveice10.packetlib.tcp.TcpClientSession;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientOptions {
private String host;
private int port;
private MinecraftProtocol protocol;
private ProxyInfo proxy;
public ClientOptions () { // So it can easily be used as a builder
}
public String host () {
return host;
}
public ClientOptions host (String value) {
host = value;
return this;
}
/* public ClientOptions profile (GameProfile profile) {
protocol(new MinecraftProtocol(profile));
return this;