packets

Supported packets.

Cast a packet: PacketType variableName = (PacketType) packet;

This must be done to be able to access the data stored in the packet.

C0APacketAnimation

new C0A();

Creates a new C0APacketAnimation.

C0BPacketEntityAction

new C0B(String action, int horsePower);

Creates a new C0BPacketEntityAction.

C0DPacketCloseWindow

new C0D(int windowId);

Creates a new C0DPacketCloseWindow.

C0EPacketClickWindow

new C0E(int windowId, int slot, int button, int mode, ItemStack itemStack);

Creates a new C0EPacketClickWindow.

C0FPacketConfirmTransaction

new C0F(int windowId, short uid);

Creates a new C0FPacketConfirmTransaction.

C01PacketChatMessage

new C01(String message);

Creates a new C01PacketChatMessage.

C02PacketUseEntity

new C02(Entity entity, String action, Vec3 hitVec);

Creates a new C02PacketUseEntity.

C03PacketPlayer

new C03(boolean ground);

Creates a new C03PacketPlayer.

C04PacketPlayerPosition

new C03(Vec3 position, boolean ground);

Creates a new C04PacketPlayerPosition.

C05PacketPlayerLook

new C03(float yaw, float pitch, boolean ground);

Creates a new C05PacketPlayerLook.

C06PacketPlayerPosLook

new C03(Vec3 position, float yaw, float pitch, boolean ground);

Creates a new C06PacketPlayerPosLook.

C07PacketPlayerDigging

new C07(Vec3 position, String status, String facing);

Creates a new C07PacketPlayerDigging.

C08PacketPlayerBlockPlacement

new C08(ItemStack itemStack, Vec3 position, int direction, Vec3 offset);

Creates a new C08PacketPlayerBlockPlacement.

C09PacketHeldItemChange

new C09(int slot);

Creates a new C09PacketHeldItemChange.

C10PacketCreativeInventoryAction

new C10(int slot, ItemStack itemStack);

Creates a new C10PacketCreativeInventoryAction.

C13PacketPlayerAbilities

new C13(boolean invulnerable, boolean flying, boolean allowFlying, boolean creativeMode, float flySpeed, float walkSpeed);

Creates a new C13PacketPlayerAbilities.

C16PacketClientStatus

new C16(String status);

Creates a new C16PacketClientStatus.

S08PacketPlayerPosLook

S08 s08 = (S08) packet;

Casts packet to a S08PacketPlayerPosLook.

S12PacketEntityVelocity

S12 s12 = (S12) packet;

Casts packet to a S12PacketEntityVelocity.

S23PacketBlockChange

S23 s23 = (S23) packet;

Casts packet to an S23PacketBlockChange.

S27PacketExplosion

S27 s27 = (S27) packet;

Casts packet to a S27PacketExplosion.

S3EPacketPlayOutScoreboardTeam

S3E s3e = (S3E) packet;

Casts packet to a S3EPacketPlayOutScoreboardTeam.

Last updated