类 CustomizeFlatLevelScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.CustomizeFlatLevelScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class CustomizeFlatLevelScreen extends Screen
- Mappings:
Namespace Name official dyiintermediary net/minecraft/class_413named net/minecraft/client/gui/screen/CustomizeFlatLevelScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classCustomizeFlatLevelScreen.SuperflatLayersListWidget
-
字段概要
字段 修饰符和类型 字段 说明 private FlatChunkGeneratorConfigconfigprivate Consumer<FlatChunkGeneratorConfig>configConsumerprivate static intfield_32239private static intfield_32240private static intfield_32241private static intfield_32242private static intfield_32243private static intfield_32244private static intfield_32245private TextheightTextprivate CustomizeFlatLevelScreen.SuperflatLayersListWidgetlayersprotected CreateWorldScreenparentprivate TexttileTextprivate ButtonWidgetwidgetButtonRemoveLayer-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 CustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 FlatChunkGeneratorConfiggetConfig()private booleanhasLayerSelected()protected voidinit()Called when a screen should be initialized.voidonClose()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidsetConfig(FlatChunkGeneratorConfig config)private voidupdateRemoveLayerButton()-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
field_32239
private static final int field_32239
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLdyi;b:Iintermediary field_32239Lnet/minecraft/class_413;field_32239:Inamed field_32239Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32239:I
-
field_32240
private static final int field_32240
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLdyi;c:Iintermediary field_32240Lnet/minecraft/class_413;field_32240:Inamed field_32240Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32240:I
-
field_32241
private static final int field_32241
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official pLdyi;p:Iintermediary field_32241Lnet/minecraft/class_413;field_32241:Inamed field_32241Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32241:I
-
field_32242
private static final int field_32242
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official qLdyi;q:Iintermediary field_32242Lnet/minecraft/class_413;field_32242:Inamed field_32242Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32242:I
-
field_32243
private static final int field_32243
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official rLdyi;r:Iintermediary field_32243Lnet/minecraft/class_413;field_32243:Inamed field_32243Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32243:I
-
field_32244
private static final int field_32244
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official sLdyi;s:Iintermediary field_32244Lnet/minecraft/class_413;field_32244:Inamed field_32244Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32244:I
-
field_32245
private static final int field_32245
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official tLdyi;t:Iintermediary field_32245Lnet/minecraft/class_413;field_32245:Inamed field_32245Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_32245:I
-
parent
protected final CreateWorldScreen parent
- Mappings:
Namespace Name Mixin selector official aLdyi;a:Lect;intermediary field_2422Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;named parentLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
-
configConsumer
private final Consumer<FlatChunkGeneratorConfig> configConsumer
- Mappings:
Namespace Name Mixin selector official uLdyi;u:Ljava/util/function/Consumer;intermediary field_24565Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;named configConsumerLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;
-
config
private FlatChunkGeneratorConfig config
- Mappings:
Namespace Name Mixin selector official vLdyi;v:Lcxs;intermediary field_2419Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;named configLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
tileText
private Text tileText
- Mappings:
Namespace Name Mixin selector official wLdyi;w:Lon;intermediary field_2418Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;named tileTextLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
-
heightText
private Text heightText
- Mappings:
Namespace Name Mixin selector official xLdyi;x:Lon;intermediary field_2425Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;named heightTextLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
-
layers
private CustomizeFlatLevelScreen.SuperflatLayersListWidget layers
- Mappings:
Namespace Name Mixin selector official yLdyi;y:Ldyi$a;intermediary field_2424Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;named layersLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen$SuperflatLayersListWidget;
-
widgetButtonRemoveLayer
private ButtonWidget widgetButtonRemoveLayer
- Mappings:
Namespace Name Mixin selector official zLdyi;z:Ldvw;intermediary field_2421Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;named widgetButtonRemoveLayerLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
构造器详细资料
-
CustomizeFlatLevelScreen
public CustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config)
- Mappings:
Namespace Name Mixin selector official <init>Ldyi;<init>(Lect;Ljava/util/function/Consumer;Lcxs;)Vintermediary <init>Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)Vnamed <init>Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;<init>(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Ljava/util/function/Consumer;Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
-
-
方法详细资料
-
getConfig
public FlatChunkGeneratorConfig getConfig()
- Mappings:
Namespace Name Mixin selector official hLdyi;h()Lcxs;intermediary method_29055Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;named getConfigLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
setConfig
public void setConfig(FlatChunkGeneratorConfig config)
- Mappings:
Namespace Name Mixin selector official aLdyi;a(Lcxs;)Vintermediary method_29054Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)Vnamed setConfigLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
updateRemoveLayerButton
private void updateRemoveLayerButton()
- Mappings:
Namespace Name Mixin selector official iLdyi;i()Vintermediary method_2145Lnet/minecraft/class_413;method_2145()Vnamed updateRemoveLayerButtonLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;updateRemoveLayerButton()V
-
hasLayerSelected
private boolean hasLayerSelected()
- Mappings:
Namespace Name Mixin selector official kLdyi;k()Zintermediary method_2147Lnet/minecraft/class_413;method_2147()Znamed hasLayerSelectedLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;hasLayerSelected()Z
-
onClose
public void onClose()
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
-