Class RealmsSlotOptionsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
- Mappings:
Namespace Name official dsmintermediary net/minecraft/class_4423named net/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate booleanstatic List<Difficulty>private intprivate static Textprivate Difficultyprivate static intprivate static intprivate booleanprivate GameModeprivate TextFieldWidgetprivate RealmsWorldOptionsprotected RealmsConfigureWorldScreenprivate booleanprivate static Textprivate booleanprivate booleanprivate booleanprivate RealmsLabelprivate RealmsLabelprivate RealmsServer.WorldTypeFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
ConstructorsConstructorDescriptionRealmsSlotOptionsScreen(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot) -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringvoidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private static <T> Tmethod_32498(List<T> list, int int2, int int3)private static <T> intmethod_32499(List<T> list, T t, int int2)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)private voidvoidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, rowMethods inherited from class 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, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class 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, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
field_32125
private static final int field_32125- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official TLdsm;T:Iintermediary field_32125Lnet/minecraft/class_4423;field_32125:Inamed field_32125Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32125:I
-
DIFFICULTIES
- Mappings:
Namespace Name Mixin selector official aLdsm;a:Ljava/util/List;intermediary field_22723Lnet/minecraft/class_4423;field_22723:Ljava/util/List;named DIFFICULTIESLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;DIFFICULTIES:Ljava/util/List;
-
field_32126
private static final int field_32126- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ULdsm;U:Iintermediary field_32126Lnet/minecraft/class_4423;field_32126:Inamed field_32126Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32126:I
-
GAME_MODES
- Mappings:
Namespace Name Mixin selector official bLdsm;b:Ljava/util/List;intermediary field_22724Lnet/minecraft/class_4423;field_22724:Ljava/util/List;named GAME_MODESLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;GAME_MODES:Ljava/util/List;
-
EDIT_SLOT_NAME
- Mappings:
Namespace Name Mixin selector official VLdsm;V:Lon;intermediary field_26516Lnet/minecraft/class_4423;field_26516:Lnet/minecraft/class_2561;named EDIT_SLOT_NAMELnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;EDIT_SLOT_NAME:Lnet/minecraft/text/Text;
-
SPAWN_PROTECTION
- Mappings:
Namespace Name Mixin selector official WLdsm;W:Lon;intermediary field_27942Lnet/minecraft/class_4423;field_27942:Lnet/minecraft/class_2561;named SPAWN_PROTECTIONLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;SPAWN_PROTECTION:Lnet/minecraft/text/Text;
-
nameEdit
- Mappings:
Namespace Name Mixin selector official XLdsm;X:Ldwf;intermediary field_20113Lnet/minecraft/class_4423;field_20113:Lnet/minecraft/class_342;named nameEditLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
parent
- Mappings:
Namespace Name Mixin selector official cLdsm;c:Ldrv;intermediary field_20109Lnet/minecraft/class_4423;field_20109:Lnet/minecraft/class_4388;named parentLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
column1_x
private int column1_x- Mappings:
Namespace Name Mixin selector official YLdsm;Y:Iintermediary field_20114Lnet/minecraft/class_4423;field_20114:Inamed column1_xLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column1_x:I
-
column2_x
private int column2_x- Mappings:
Namespace Name Mixin selector official ZLdsm;Z:Iintermediary field_20116Lnet/minecraft/class_4423;field_20116:Inamed column2_xLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column2_x:I
-
options
- Mappings:
Namespace Name Mixin selector official aaLdsm;aa:Ldqu;intermediary field_20117Lnet/minecraft/class_4423;field_20117:Lnet/minecraft/class_4883;named optionsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;options:Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
-
worldType
- Mappings:
Namespace Name Mixin selector official abLdsm;ab:Ldqo$c;intermediary field_20118Lnet/minecraft/class_4423;field_20118:Lnet/minecraft/class_4877$class_4321;named worldTypeLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
activeSlot
private final int activeSlot- Mappings:
Namespace Name Mixin selector official acLdsm;ac:Iintermediary field_20119Lnet/minecraft/class_4423;field_20119:Inamed activeSlotLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;activeSlot:I
-
field_27943
- Mappings:
Namespace Name Mixin selector official adLdsm;ad:Larg;intermediary field_27943Lnet/minecraft/class_4423;field_27943:Lnet/minecraft/class_1267;named field_27943Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_27943:Lnet/minecraft/world/Difficulty;
-
gameModeIndex
- Mappings:
Namespace Name Mixin selector official aeLdsm;ae:Lbvu;intermediary field_20121Lnet/minecraft/class_4423;field_20121:Lnet/minecraft/class_1934;named gameModeIndexLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;gameModeIndex:Lnet/minecraft/world/GameMode;
-
pvp
private boolean pvp- Mappings:
Namespace Name Mixin selector official afLdsm;af:Zintermediary field_20122Lnet/minecraft/class_4423;field_20122:Znamed pvpLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;pvp:Z
-
spawnNPCs
private boolean spawnNPCs- Mappings:
Namespace Name Mixin selector official agLdsm;ag:Zintermediary field_20123Lnet/minecraft/class_4423;field_20123:Znamed spawnNPCsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnNPCs:Z
-
spawnAnimals
private boolean spawnAnimals- Mappings:
Namespace Name Mixin selector official ahLdsm;ah:Zintermediary field_20124Lnet/minecraft/class_4423;field_20124:Znamed spawnAnimalsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnAnimals:Z
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector official aiLdsm;ai:Zintermediary field_20125Lnet/minecraft/class_4423;field_20125:Znamed spawnMonstersLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnMonsters:Z
-
difficultyIndex
private int difficultyIndex- Mappings:
Namespace Name Mixin selector official ajLdsm;aj:Iintermediary field_20120Lnet/minecraft/class_4423;field_20120:Inamed difficultyIndexLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;difficultyIndex:I
-
commandBlocks
private boolean commandBlocks- Mappings:
Namespace Name Mixin selector official akLdsm;ak:Zintermediary field_20127Lnet/minecraft/class_4423;field_20127:Znamed commandBlocksLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;commandBlocks:Z
-
forceGameMode
private boolean forceGameMode- Mappings:
Namespace Name Mixin selector official alLdsm;al:Zintermediary field_20128Lnet/minecraft/class_4423;field_20128:Znamed forceGameModeLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;forceGameMode:Z
-
spawnProtectionButton
- Mappings:
Namespace Name Mixin selector official amLdsm;am:Ldsm$a;intermediary field_20133Lnet/minecraft/class_4423;field_20133:Lnet/minecraft/class_4423$class_4424;named spawnProtectionButtonLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnProtectionButton:Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;
-
titleLabel
- Mappings:
Namespace Name Mixin selector official anLdsm;an:Lfao;intermediary field_20107Lnet/minecraft/class_4423;field_20107:Lnet/minecraft/class_4903;named titleLabelLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
toastMessage
- Mappings:
Namespace Name Mixin selector official aoLdsm;ao:Lfao;intermediary field_20502Lnet/minecraft/class_4423;field_20502:Lnet/minecraft/class_4903;named toastMessageLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;toastMessage:Lnet/minecraft/client/realms/RealmsLabel;
-
-
Constructor Details
-
RealmsSlotOptionsScreen
public RealmsSlotOptionsScreen(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot)- Mappings:
Namespace Name Mixin selector official <init>Ldsm;<init>(Ldrv;Ldqu;Ldqo$c;I)Vintermediary <init>Lnet/minecraft/class_4423;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4883;Lnet/minecraft/class_4877$class_4321;I)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsWorldOptions;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;I)V
-
-
Method Details
-
removed
public void removed() -
tick
public void tick()- Specified by:
tickin interfaceTickableElement- Overrides:
tickin classRealmsScreen- Mappings:
Namespace Name Mixin selector official dLdwq;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdww;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
method_32498
- Mappings:
Namespace Name Mixin selector official aLdsm;a(Ljava/util/List;II)Ljava/lang/Object;intermediary method_32498Lnet/minecraft/class_4423;method_32498(Ljava/util/List;II)Ljava/lang/Object;named method_32498Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;method_32498(Ljava/util/List;II)Ljava/lang/Object;
-
method_32499
- Mappings:
Namespace Name Mixin selector official aLdsm;a(Ljava/util/List;Ljava/lang/Object;I)Iintermediary method_32499Lnet/minecraft/class_4423;method_32499(Ljava/util/List;Ljava/lang/Object;I)Inamed method_32499Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;method_32499(Ljava/util/List;Ljava/lang/Object;I)I
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdwt;a(Ldpj;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
-
getSlotName
- Mappings:
Namespace Name Mixin selector official hLdsm;h()Ljava/lang/String;intermediary method_21484Lnet/minecraft/class_4423;method_21484()Ljava/lang/String;named getSlotNameLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;getSlotName()Ljava/lang/String;
-
saveSettings
private void saveSettings()- Mappings:
Namespace Name Mixin selector official iLdsm;i()Vintermediary method_21486Lnet/minecraft/class_4423;method_21486()Vnamed saveSettingsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;saveSettings()V
-