-
public interface TitleAPI
-
-
方法概要
修饰符和类型 方法 说明 void
sendActionBar(@NotNull Player player, @NotNull String action, @NotNull PacketFormatter formatter)
void
sendPacket(@NotNull Player player, @NotNull Object packet)
void
sendTitle(@NotNull Player player, @Nullable String title, @Nullable String subtitle, int fadeIn, int stay, int fadeOut, @NotNull PacketFormatter formatter)
void
setTabTitle(@NotNull Player player, @NotNull String header, @NotNull String footer, @NotNull PacketFormatter formatter)
-
-
-
方法详细资料
-
sendTitle
void sendTitle(@NotNull @NotNull Player player, @Nullable @Nullable String title, @Nullable @Nullable String subtitle, int fadeIn, int stay, int fadeOut, @NotNull @NotNull PacketFormatter formatter)
-
setTabTitle
void setTabTitle(@NotNull @NotNull Player player, @NotNull @NotNull String header, @NotNull @NotNull String footer, @NotNull @NotNull PacketFormatter formatter)
-
sendActionBar
void sendActionBar(@NotNull @NotNull Player player, @NotNull @NotNull String action, @NotNull @NotNull PacketFormatter formatter)
-
-