implements Packet<ServerGamePacketListener>
ajk | |
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket | |
net.minecraft.class_2885 | |
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket | |
net.minecraft.network.protocol.game.PacketPlayInUseItem |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket> |
| ||||||||
private final BlockHitResult |
| ||||||||
private final InteractionHand |
| ||||||||
private final int |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (InteractionHand hand, BlockHitResult blockHitResult, int sequence) |
private | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
private void |
| ||||||||
public PacketType<ServerboundUseItemOnPacket> |
| ||||||||
public void |
| ||||||||
public InteractionHand |
| ||||||||
public BlockHitResult |
| ||||||||
public int |
|