@Environment(value=CLIENT) public class MoreOptionsDialog extends Object implements TickableElement, Drawable
| Modifier and Type | Field and Description |
|---|---|
private static Text |
AMPLIFIED_INFO_TEXT |
ButtonWidget |
bonusItemsButton |
private ButtonWidget |
customizeTypeButton |
private static Logger |
field_25046 |
private static Text |
field_25047 |
private ButtonWidget |
field_25048 |
private Optional<GeneratorType> |
field_25049 |
private RegistryTracker.Modifiable |
field_25483 |
private GeneratorOptions |
generatorOptions |
private ButtonWidget |
mapFeaturesButton |
private ButtonWidget |
mapTypeButton |
private int |
parentWidth |
private String |
seedText |
private TextFieldWidget |
seedTextField |
private TextRenderer |
textRenderer |
| Constructor and Description |
|---|
MoreOptionsDialog() |
MoreOptionsDialog(RegistryTracker.Modifiable modifiable,
GeneratorOptions generatorOptions) |
| Modifier and Type | Method and Description |
|---|---|
GeneratorOptions |
getGeneratorOptions(boolean hardcore) |
boolean |
isDebugWorld() |
void |
method_28092(CreateWorldScreen parent,
MinecraftClient client,
TextRenderer textRenderer) |
private void |
method_29073(RegistryTracker.Modifiable modifiable,
GeneratorOptions generatorOptions) |
RegistryTracker.Modifiable |
method_29700() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
protected void |
setGeneratorOptions(GeneratorOptions generatorOptions) |
void |
setVisible(boolean visible) |
void |
tick() |
private static OptionalLong |
tryParseLong(String string) |
private static final Logger field_25046
private static final Text field_25047
private static final Text AMPLIFIED_INFO_TEXT
private TextRenderer textRenderer
private int parentWidth
private TextFieldWidget seedTextField
private ButtonWidget mapFeaturesButton
public ButtonWidget bonusItemsButton
private ButtonWidget mapTypeButton
private ButtonWidget customizeTypeButton
private ButtonWidget field_25048
private RegistryTracker.Modifiable field_25483
private GeneratorOptions generatorOptions
private Optional<GeneratorType> field_25049
private String seedText
public MoreOptionsDialog()
public MoreOptionsDialog(RegistryTracker.Modifiable modifiable, GeneratorOptions generatorOptions)
public void method_28092(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)
private void method_29073(RegistryTracker.Modifiable modifiable, GeneratorOptions generatorOptions)
public void tick()
tick in interface TickableElementpublic void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
protected void setGeneratorOptions(GeneratorOptions generatorOptions)
private static OptionalLong tryParseLong(String string)
public GeneratorOptions getGeneratorOptions(boolean hardcore)
public boolean isDebugWorld()
public void setVisible(boolean visible)
public RegistryTracker.Modifiable method_29700()