public class ServerboundInteractPacket extends Object implements MinecraftPacket
| Constructor and Description |
|---|
ServerboundInteractPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
ServerboundInteractPacket(int entityId,
InteractAction action,
boolean isSneaking) |
ServerboundInteractPacket(int entityId,
InteractAction action,
@NonNull Hand hand,
boolean isSneaking) |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper) |
public ServerboundInteractPacket(int entityId,
InteractAction action,
boolean isSneaking)
public ServerboundInteractPacket(int entityId,
InteractAction action,
@NonNull
@NonNull Hand hand,
boolean isSneaking)
public ServerboundInteractPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper)
throws IOException
IOExceptionpublic void serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper)
throws IOException
serialize in interface MinecraftPacketIOExceptionCopyright © 2022. All rights reserved.