Class TTextDialogScreen

All Implemented Interfaces:
INode<TElement>, INodeBounded<TElement,Bounds2i>, INodeRenderable<TElement, TGuiGraphics>, ILastScreenProvider, Iterable<TElement>, Collection<TElement>

@Environment(CLIENT) public final class TTextDialogScreen extends TScreenPlus implements ILastScreenProvider
TScreen implementation that shows a textual dialog to the user and presents the user with some dialog options (clickable buttons).
  • Constructor Details

    • TTextDialogScreen

      public TTextDialogScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull @NotNull net.minecraft.network.chat.Component text)
    • TTextDialogScreen

      public TTextDialogScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen lastScreen, @NotNull @NotNull net.minecraft.network.chat.Component title, @NotNull @NotNull net.minecraft.network.chat.Component text)
  • Method Details