类 ShareToLanScreen

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

public class ShareToLanScreen extends Screen
  • 字段详细资料

    • PORT_LOWER_BOUND

      private static final int PORT_LOWER_BOUND
      另请参阅:
    • PORT_HIGHER_BOUND

      private static final int PORT_HIGHER_BOUND
      另请参阅:
    • ALLOW_COMMANDS_LABEL

      private static final Component ALLOW_COMMANDS_LABEL
    • GAME_MODE_LABEL

      private static final Component GAME_MODE_LABEL
    • INFO_TEXT

      private static final Component INFO_TEXT
    • PORT_INFO_TEXT

      private static final Component PORT_INFO_TEXT
    • PORT_UNAVAILABLE

      private static final Component PORT_UNAVAILABLE
    • INVALID_PORT

      private static final Component INVALID_PORT
    • INVALID_PORT_COLOR

      private static final int INVALID_PORT_COLOR
      另请参阅:
    • lastScreen

      private final Screen lastScreen
    • gameMode

      private GameType gameMode
    • commands

      private boolean commands
    • port

      private int port
    • portEdit

      @Nullable private EditBox portEdit
  • 构造器详细资料

    • ShareToLanScreen

      public ShareToLanScreen(Screen pLastScreen)
  • 方法详细资料

    • init

      protected void init()
      覆盖:
      init 在类中 Screen
    • tick

      public void tick()
      覆盖:
      tick 在类中 Screen
    • tryParsePort

      @Nullable private Component tryParsePort(String pPort)
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen