Something went wrong. Try again.
The Minecraft: Java Edition decompiled source code.
Something went wrong. Try again.
1234567891011121314package com.mojang.blaze3d.platform;
import java.util.OptionalInt;
public record DisplayData(int width, int height, OptionalInt fullscreenWidth, OptionalInt fullscreenHeight, boolean isFullscreen) { public DisplayData withSize(int i, int j) { return new DisplayData(i, j, this.fullscreenWidth, this.fullscreenHeight, this.isFullscreen); }
public DisplayData withFullscreen(boolean bl) { return new DisplayData(this.width, this.height, this.fullscreenWidth, this.fullscreenHeight, bl); }}