added wait message for ComponentUtil

This commit is contained in:
Lars Neuhaus 2024-12-01 17:39:51 +01:00
parent 3c82939120
commit 0ff9512a7f

View File

@ -18,6 +18,10 @@ import java.util.stream.Collectors;
import java.util.stream.Stream;
public class ComponentUtil {
public static TextComponent pleaseWait() {
return Component.text("Bitte warte einen Augenblick...", NamedTextColor.GRAY);
}
public static TextComponent appendWithNewline(Component a, Component b) {
return Component.text().append(a.appendNewline().append(b)).build();
}