Uses of Class
com.comphenix.protocol.injector.PacketConstructor
Packages that use PacketConstructor
Package
Description
Contains classes for retrieving the main ProtocolMananger object.
-
Uses of PacketConstructor in com.comphenix.protocol
Methods in com.comphenix.protocol that return PacketConstructorModifier and TypeMethodDescriptionProtocolManager.createPacketConstructor(PacketType type, Object... arguments)Construct a packet using the special builtin Minecraft constructors. -
Uses of PacketConstructor in com.comphenix.protocol.injector
Fields in com.comphenix.protocol.injector declared as PacketConstructorModifier and TypeFieldDescriptionstatic PacketConstructorPacketConstructor.DEFAULTA packet constructor that automatically converts Bukkit types to their NMS conterpart.Methods in com.comphenix.protocol.injector that return PacketConstructorModifier and TypeMethodDescriptionPacketFilterManager.createPacketConstructor(PacketType type, Object... arguments)PacketConstructor.withPacket(PacketType type, Object[] values)Create a packet constructor that creates packets using the given types.PacketConstructor.withUnwrappers(List<PacketConstructor.Unwrapper> unwrappers)Return a copy of the current constructor with a different list of unwrappers.