Uses of Interface
dev.jorel.commandapi.network.CommandAPIPacket
Packages that use CommandAPIPacket
-
Uses of CommandAPIPacket in dev.jorel.commandapi.network
Methods in dev.jorel.commandapi.network that return CommandAPIPacketModifier and TypeMethodDescriptionCommandAPIProtocol.createPacket(int id, FriendlyByteBuffer buffer) Reads aFriendlyByteBufferto create aCommandAPIPacket.Methods in dev.jorel.commandapi.network that return types with arguments of type CommandAPIPacketModifier and TypeMethodDescriptionSet<Class<? extends CommandAPIPacket>> CommandAPIProtocol.getAllPacketTypes()Methods in dev.jorel.commandapi.network with parameters of type CommandAPIPacketModifier and TypeMethodDescriptionvoidCommandAPIPacketHandler.handlePacket(InputChannel sender, CommandAPIPacket packet) Handles aCommandAPIPacketaccording to the implementation ofCommandAPIPacketHandler.default voidHandshakePacketHandler.handlePacket(InputChannel sender, CommandAPIPacket packet) default voidPlayPacketHandler.handlePacket(InputChannel sender, CommandAPIPacket packet) voidCommandAPIMessenger.sendPacket(OutputChannel target, CommandAPIPacket packet) Sends a packet to the given target.Method parameters in dev.jorel.commandapi.network with type arguments of type CommandAPIPacketModifier and TypeMethodDescriptionintCommandAPIProtocol.getId(Class<? extends CommandAPIPacket> clazz) Gets the id for the givenCommandAPIPacketclass.static CommandAPIProtocolCommandAPIProtocol.getProtocolForPacket(Class<? extends CommandAPIPacket> clazz) Gets theCommandAPIProtocolthat can send the givenCommandAPIPacketpacket type. -
Uses of CommandAPIPacket in dev.jorel.commandapi.network.packets
Classes in dev.jorel.commandapi.network.packets that implement CommandAPIPacketModifier and TypeClassDescriptionfinal recordA packet that informs a connected instance of the CommandAPI theirCommandAPIProtocol.PROTOCOL_VERSIONis too old to receive a different packet this instance wanted to send.final recordA packet that conveys whatCommandAPIProtocol.PROTOCOL_VERSIONa connected instance of the CommandAPI is using.final recordA packet that signals a client wants to be sent the Commands packet.