ClientsideUtils

public class ClientsideUtils

Constructors

Link copied to clipboard
public void ClientsideUtils()

Functions

Link copied to clipboard
public static ClientboundAddEntityPacket getAddEntityPacket(Entity entity)
Link copied to clipboard
public static ClientboundPlayerInfoUpdatePacket getAddPlayerPacket(ServerPlayer serverPlayer)
Link copied to clipboard
public static ClientboundSetEntityDataPacket getAllModifiedDataPacket(Entity entity)
Link copied to clipboard
public static ClientboundTeleportEntityPacket getEntityTeleportPacket(Entity entity)
Link copied to clipboard
public static ClientboundRemoveEntitiesPacket getRemoveEntitiesPacket(Entity entity)
Link copied to clipboard
public static ClientboundPlayerInfoRemovePacket getRemovePlayerPacket(ServerPlayer serverPlayer)
Link copied to clipboard
public static void sendGlobalPacket(World world, Array<Packet<? extends Object>> packets)
Link copied to clipboard
public static void sendPacket(Packet<? extends Object> packet, Collection<Player> players)
public static void sendPacket(Packet<? extends Object> packet, ServerPlayer serverPlayer)
public static void sendPacket(Packet<? extends Object> packet, Array<ServerPlayer> serverPlayers)
public static void sendPacket(Packet<? extends Object> packet, Player player)
public static void sendPacket(Packet<? extends Object> packet, Array<Player> players)
Link copied to clipboard
public static void sendPacketNms(Packet<? extends Object> packet, Collection<ServerPlayer> players)
Link copied to clipboard
public static void sendPackets(List<Packet<? extends Object>> packets, Collection<Player> players)
public static void sendPackets(List<Packet<? extends Object>> packets, Array<ServerPlayer> players)
public static void sendPackets(List<Packet<? extends Object>> packets, Array<Player> players)
Link copied to clipboard
public static void sendPacketsNms(List<Packet<? extends Object>> packets, Collection<ServerPlayer> players)
Link copied to clipboard
public static void sendUniversalPacket(Array<Packet<? extends Object>> packets)