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