@Environment(value=CLIENT) public final class WindowProvider extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
private MinecraftClient |
client |
private MonitorTracker |
monitorTracker |
Constructor and Description |
---|
WindowProvider(MinecraftClient client) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Window |
createWindow(WindowSettings settings,
String videoMode,
String title) |
private final MinecraftClient client
private final MonitorTracker monitorTracker
public WindowProvider(MinecraftClient client)
public Window createWindow(WindowSettings settings, @Nullable String videoMode, String title)
public void close()
close
in interface AutoCloseable