类 RealmsSlotOptionsScreen

所有已实现的接口:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsSlotOptionsScreen extends RealmsScreen
  • 字段详细资料

    • DEFAULT_DIFFICULTY

      private static final int DEFAULT_DIFFICULTY
      另请参阅:
    • DIFFICULTIES

      public static final List<Difficulty> DIFFICULTIES
    • DEFAULT_GAME_MODE

      private static final int DEFAULT_GAME_MODE
      另请参阅:
    • GAME_MODES

      public static final List<GameType> GAME_MODES
    • NAME_LABEL

      private static final Component NAME_LABEL
    • SPAWN_PROTECTION_TEXT

      static final Component SPAWN_PROTECTION_TEXT
    • nameEdit

      private EditBox nameEdit
    • parentScreen

      protected final RealmsConfigureWorldScreen parentScreen
    • column1X

      private int column1X
    • columnWidth

      private int columnWidth
    • options

      private final RealmsWorldOptions options
    • worldType

      private final RealmsServer.WorldType worldType
    • difficulty

      private Difficulty difficulty
    • gameMode

      private GameType gameMode
    • defaultSlotName

      private final String defaultSlotName
    • worldName

      private String worldName
    • pvp

      private boolean pvp
    • spawnMonsters

      private boolean spawnMonsters
    • spawnProtection

      int spawnProtection
    • commandBlocks

      private boolean commandBlocks
    • forceGameMode

      private boolean forceGameMode
    • spawnProtectionButton

  • 构造器详细资料

  • 方法详细资料

    • onClose

      public void onClose()
      覆盖:
      onClose 在类中 Screen
    • findByIndex

      private static <T> T findByIndex(List<T> p_167525_, int p_167526_, int p_167527_)
    • findIndex

      private static <T> int findIndex(List<T> p_167529_, T p_167530_, int p_167531_)
    • init

      public void init()
      覆盖:
      init 在类中 Screen
    • confirmDangerousOption

      private CycleButton.OnValueChange<Boolean> confirmDangerousOption(Component p_231324_, Consumer<Boolean> p_231325_)
    • getNarrationMessage

      public Component getNarrationMessage()
      覆盖:
      getNarrationMessage 在类中 Screen
    • render

      public void render(GuiGraphics p_283210_, int p_283172_, int p_281531_, float p_283191_)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • setWorldName

      private void setWorldName(String p_231314_)
    • saveSettings

      private void saveSettings()