i forgor
This commit is contained in:
parent
87be676ec6
commit
f381e05418
1 changed files with 2 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue