public class GuiCustomizePreset
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
settings |
| Constructor and Description |
|---|
GuiCustomizePreset(java.lang.String settings)
Constructs a new world customization preset.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatInfo(net.minecraft.util.ResourceLocation registryKey)
Gets a formatted string for the preset description localization, given a resource location.
|
static java.lang.String |
formatName(net.minecraft.util.ResourceLocation registryKey)
Gets a formatted string for the preset name localization, given a resource location.
|
static net.minecraft.util.ResourceLocation |
formatTexture(net.minecraft.util.ResourceLocation registryKey)
Gets a formatted resource location for the preset texture directory, given a resource location.
|
public GuiCustomizePreset(java.lang.String settings)
settings - The preset settings string that you can get from the in-game GUI.public static net.minecraft.util.ResourceLocation formatTexture(net.minecraft.util.ResourceLocation registryKey)
registryKey - The resource location of the preset.public static java.lang.String formatName(net.minecraft.util.ResourceLocation registryKey)
registryKey - The resource location of the preset.public static java.lang.String formatInfo(net.minecraft.util.ResourceLocation registryKey)
registryKey - The resource location of the preset.