Class ServerboundPlayerActionPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPlayerActionPacket
- All Implemented Interfaces:
 Packet<ServerGamePacketListener>
public class ServerboundPlayerActionPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionServerboundPlayerActionPacket(FriendlyByteBuf p_179711_) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_237983_, BlockPos p_237984_, Direction p_237985_, int p_237986_)  - 
Method Summary
Modifier and TypeMethodDescriptiongetPos()intvoidhandle(ServerGamePacketListener p_134280_) voidwrite(FriendlyByteBuf p_134283_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable 
- 
Field Details
- 
pos
 - 
direction
 - 
action
 - 
sequence
private final int sequence 
 - 
 - 
Constructor Details
- 
ServerboundPlayerActionPacket
public ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_237983_, BlockPos p_237984_, Direction p_237985_, int p_237986_)  - 
ServerboundPlayerActionPacket
public ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_)  - 
ServerboundPlayerActionPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ServerGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ServerGamePacketListener>
 - 
getPos
 - 
getDirection
 - 
getAction
 - 
getSequence
public int getSequence() 
 -