Class CodeOfConductScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class CodeOfConductScreen extends WarningScreen
  • Field Details

    • TITLE

      private static final Component TITLE
    • CHECK

      private static final Component CHECK
    • serverData

      private final @Nullable ServerData serverData
    • codeOfConductText

      private final String codeOfConductText
    • resultConsumer

      private final it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer
    • parent

      private final Screen parent
  • Constructor Details

    • CodeOfConductScreen

      private CodeOfConductScreen(@Nullable ServerData serverData, Screen parent, Component contents, String codeOfConductText, it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer)
    • CodeOfConductScreen

      public CodeOfConductScreen(@Nullable ServerData serverData, Screen parent, String codeOfConductText, it.unimi.dsi.fastutil.booleans.BooleanConsumer resultConsumer)
  • Method Details