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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerboundPlayerActionPacket
(FriendlyByteBuf p_179711_) ServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) -
Method Summary
Modifier and TypeMethodDescriptiongetPos()
void
handle
(ServerGamePacketListener p_134280_) void
write
(FriendlyByteBuf p_134283_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
pos
-
direction
-
action
-
-
Constructor Details
-
ServerboundPlayerActionPacket
public ServerboundPlayerActionPacket(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) -
ServerboundPlayerActionPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getPos
-
getDirection
-
getAction
-