Package net.minestom.server.utils
Class PacketViewableUtils
java.lang.Object
net.minestom.server.utils.PacketViewableUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
flush()
static void
prepareViewablePacket
(@NotNull Viewable viewable, @NotNull ServerPacket serverPacket) static void
prepareViewablePacket
(@NotNull Viewable viewable, @NotNull ServerPacket serverPacket, @Nullable Entity entity)
-
Constructor Details
-
PacketViewableUtils
public PacketViewableUtils()
-
-
Method Details
-
prepareViewablePacket
public static void prepareViewablePacket(@NotNull @NotNull Viewable viewable, @NotNull @NotNull ServerPacket serverPacket, @Nullable @Nullable Entity entity) -
flush
public static void flush() -
prepareViewablePacket
public static void prepareViewablePacket(@NotNull @NotNull Viewable viewable, @NotNull @NotNull ServerPacket serverPacket)
-