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 SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundPlayerActionPacket(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 SummaryModifier and TypeMethodDescriptiongetPos()intvoidhandle(ServerGamePacketListener p_134280_) voidwrite(FriendlyByteBuf p_134283_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
pos
- 
direction
- 
action
- 
sequenceprivate final int sequence
 
- 
- 
Constructor Details- 
ServerboundPlayerActionPacketpublic ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_237983_, BlockPos p_237984_, Direction p_237985_, int p_237986_) 
- 
ServerboundPlayerActionPacketpublic ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) 
- 
ServerboundPlayerActionPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getPos
- 
getDirection
- 
getAction
- 
getSequencepublic int getSequence()
 
-