public abstract class TerminalWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected net.kunmc.lab.peyangpaperutils.lib.terminal.Terminal |
terminal |
Constructor and Description |
---|
TerminalWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
printBoolean(String key,
boolean value) |
protected void |
printEmpty(String key) |
protected void |
printSeparator() |
protected void |
printSeparatorShort() |
protected void |
printString(String key,
@NotNull String value) |
protected void |
printString(String key,
@NotNull String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String content) |
protected <T> void |
printString(String key,
@NotNull String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String clickContent,
net.kyori.adventure.text.event.HoverEvent.Action<T> hoverAction,
T hoverContent) |
protected void |
printString(String key,
@NotNull String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String clickContent,
String hoverText) |
protected void |
printString(String key,
@NotNull String value,
String clickCommand) |
protected void |
printString(String key,
@NotNull String value,
String clickCommand,
String hoverText) |
protected void |
printStringFull(String key,
@NotNull String value) |
protected void |
printStringFull(String key,
String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String content) |
protected <T> void |
printStringFull(String key,
String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String clickContent,
net.kyori.adventure.text.event.HoverEvent.Action<T> hoverAction,
T hoverContent) |
protected void |
printStringFull(String key,
String value,
net.kyori.adventure.text.event.ClickEvent.Action action,
String clickContent,
String hoverText) |
protected void |
printStringFull(String key,
String value,
String clickCommand) |
protected void |
printStringFull(String key,
String value,
String clickCommand,
String hoverText) |
protected void |
printStringOrEmpty(String key,
@Nullable String value) |
protected void |
printStringOrEmptyFull(String key,
@Nullable String value) |
abstract void |
write() |
public abstract void write()
protected void printSeparator()
protected void printSeparatorShort()
protected void printBoolean(String key, boolean value)
protected void printStringFull(String key, String value, net.kyori.adventure.text.event.ClickEvent.Action action, String content)
protected <T> void printStringFull(String key, String value, net.kyori.adventure.text.event.ClickEvent.Action action, String clickContent, net.kyori.adventure.text.event.HoverEvent.Action<T> hoverAction, T hoverContent)
protected void printStringFull(String key, String value, net.kyori.adventure.text.event.ClickEvent.Action action, String clickContent, String hoverText)
protected void printStringFull(String key, String value, String clickCommand, String hoverText)
protected void printEmpty(String key)
protected void printStringOrEmptyFull(String key, @Nullable @Nullable String value)
protected void printString(String key, @NotNull @NotNull String value, net.kyori.adventure.text.event.ClickEvent.Action action, String content)
protected <T> void printString(String key, @NotNull @NotNull String value, net.kyori.adventure.text.event.ClickEvent.Action action, String clickContent, net.kyori.adventure.text.event.HoverEvent.Action<T> hoverAction, T hoverContent)
protected void printString(String key, @NotNull @NotNull String value, net.kyori.adventure.text.event.ClickEvent.Action action, String clickContent, String hoverText)
protected void printString(String key, @NotNull @NotNull String value, String clickCommand)
Copyright © 2023. All rights reserved.