forked from chipmunkmc/chipmunkbot
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 com.github.steveice10.packetlib.tcp.TcpClientSession;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class ClientOptions {
|
public class ClientOptions {
|
||||||
private String host;
|
private String host;
|
||||||
private int port;
|
private int port;
|
||||||
private MinecraftProtocol protocol;
|
private MinecraftProtocol protocol;
|
||||||
private ProxyInfo proxy;
|
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) {
|
/* public ClientOptions profile (GameProfile profile) {
|
||||||
protocol(new MinecraftProtocol(profile));
|
protocol(new MinecraftProtocol(profile));
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in a new issue