Class ConfirmExperimentalFeaturesScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable

public class ConfirmExperimentalFeaturesScreen extends Screen
  • Field Details

    • TITLE

      private static final Component TITLE
    • MESSAGE

      private static final Component MESSAGE
    • DETAILS_BUTTON

      private static final Component DETAILS_BUTTON
    • MARGIN

      private static final int MARGIN
      See Also:
    • callback

      private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
    • enabledPacks

      final Collection<Pack> enabledPacks
    • multilineMessage

      private MultiLineLabel multilineMessage
  • Constructor Details

    • ConfirmExperimentalFeaturesScreen

      public ConfirmExperimentalFeaturesScreen(Collection<Pack> p_252011_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_250152_)
  • Method Details

    • getNarrationMessage

      public Component getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
    • messageHeight

      private int messageHeight()
    • titleTop

      private int titleTop()
    • init

      protected void init()
      Overrides:
      init in class Screen
    • render

      public void render(PoseStack p_251344_, int p_248682_, int p_251917_, float p_249477_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen