net.minecraft.network.protocol.game

public class ServerboundUseItemOnPacket

implements Packet<ServerGamePacketListener>

ais
net.minecraft.network.protocol.game.ServerboundUseItemOnPacket
net.minecraft.class_2885
net.minecraft.network.packet.c2s.play.PlayerInteractBlockC2SPacket
net.minecraft.src.C_5198_
net.minecraft.network.protocol.game.PacketPlayInUseItem

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket>
a
STREAM_CODEC
field_48225
CODEC
f_316673_
private final BlockHitResult
b
blockHit
field_17602
blockHitResult
f_134691_
private final InteractionHand
c
hand
field_13134
hand
f_134692_
private final int
d
sequence
field_38049
sequence
f_238003_

Constructor summary

ModifierConstructor
public (InteractionHand hand, BlockHitResult blockHitResult, int sequence)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_56005(class_2540 arg0)
write(PacketByteBuf buf)
m_134704_(C_4983_ arg0)
public PacketType<ServerboundUseItemOnPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_12547(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public InteractionHand
b()
getHand()
method_12546()
getHand()
m_134703_()
public BlockHitResult
e()
getHitResult()
method_12543()
getBlockHitResult()
m_134706_()
public int
f()
getSequence()
method_42080()
getSequence()
m_238008_()