public MinecraftServer(File p_i45281_1_, Proxy p_i45281_2_) { this.field_152366_X = new PlayerProfileCache(this, field_152367_a); mcServer = this; this.serverProxy = p_i45281_2_; this.anvilFile = p_i45281_1_; this.field_147144_o = new NetworkSystem(this); this.commandManager = new ServerCommandManager(); this.anvilConverterForAnvilFile = new AnvilSaveConverter(p_i45281_1_); this.field_152364_T = new YggdrasilAuthenticationService(p_i45281_2_, UUID.randomUUID().toString()); this.field_147143_S = this.field_152364_T.createMinecraftSessionService(); this.field_152365_W = this.field_152364_T.createProfileRepository(); this.primaryThread = new Thread(this, "Server thread"); // CraftBukkit this.cauldronConfig = new CauldronConfig("cauldron.yml", "cauldron"); this.tileEntityConfig = new TileEntityConfig("tileentities.yml", "cauldron_te"); }
public MinecraftServer(File workDir, Proxy proxy, File profileCacheDir) { this.serverProxy = proxy; mcServer = this; this.anvilFile = workDir; this.networkSystem = new NetworkSystem(this); this.profileCache = new PlayerProfileCache(this, profileCacheDir); this.commandManager = this.createNewCommandManager(); this.anvilConverterForAnvilFile = new AnvilSaveConverter(workDir); this.authService = new YggdrasilAuthenticationService(proxy, UUID.randomUUID().toString()); this.sessionService = this.authService.createMinecraftSessionService(); this.profileRepo = this.authService.createProfileRepository(); }
public MinecraftServer(File anvilFileIn, Proxy proxyIn, DataFixer dataFixerIn, YggdrasilAuthenticationService authServiceIn, MinecraftSessionService sessionServiceIn, GameProfileRepository profileRepoIn, PlayerProfileCache profileCacheIn) { this.serverProxy = proxyIn; this.authService = authServiceIn; this.sessionService = sessionServiceIn; this.profileRepo = profileRepoIn; this.profileCache = profileCacheIn; this.anvilFile = anvilFileIn; this.networkSystem = new NetworkSystem(this); this.commandManager = this.createNewCommandManager(); this.anvilConverterForAnvilFile = new AnvilSaveConverter(anvilFileIn, dataFixerIn); this.dataFixer = dataFixerIn; }
public MinecraftServer(File p_i45281_1_, Proxy p_i45281_2_) { mcServer = this; this.serverProxy = p_i45281_2_; this.anvilFile = p_i45281_1_; this.field_147144_o = new NetworkSystem(this); this.commandManager = new ServerCommandManager(); this.anvilConverterForAnvilFile = new AnvilSaveConverter(p_i45281_1_); this.field_147143_S = (new YggdrasilAuthenticationService(p_i45281_2_, UUID.randomUUID().toString())).createMinecraftSessionService(); }
public MinecraftServer(File p_i45281_1_, Proxy p_i45281_2_) { this.field_152366_X = new PlayerProfileCache(this, field_152367_a); mcServer = this; this.serverProxy = p_i45281_2_; this.anvilFile = p_i45281_1_; this.field_147144_o = new NetworkSystem(this); this.commandManager = new ServerCommandManager(); this.anvilConverterForAnvilFile = new AnvilSaveConverter(p_i45281_1_); this.field_152364_T = new YggdrasilAuthenticationService(p_i45281_2_, UUID.randomUUID().toString()); this.field_147143_S = this.field_152364_T.createMinecraftSessionService(); this.field_152365_W = this.field_152364_T.createProfileRepository(); }
public NetworkSystem getNetworkSystem() { return this.networkSystem; }
public NetworkSystem func_147137_ag() { return this.field_147144_o; }
public NetworkSystem func_147137_ag() { return (this.field_147144_o) == null ? this.field_147144_o = new NetworkSystem(this) : this.field_147144_o; // Spigot }
@Overwrite public NetworkSystem getNetworkSystem(){ return null; //TODO: make this a seperate module or remove it entirely }
@Shadow public abstract NetworkSystem getNetworkSystem();