Class ServerboundPaddleBoatPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPaddleBoatPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
static final StreamCodec
<FriendlyByteBuf, ServerboundPaddleBoatPacket> -
Constructor Summary
ModifierConstructorDescriptionServerboundPaddleBoatPacket
(boolean p_134210_, boolean p_134211_) private
ServerboundPaddleBoatPacket
(FriendlyByteBuf p_179702_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getLeft()
boolean
getRight()
void
handle
(ServerGamePacketListener p_134217_) type()
private void
write
(FriendlyByteBuf p_134220_) 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
left
private final boolean left -
right
private final boolean right
-
-
Constructor Details
-
ServerboundPaddleBoatPacket
public ServerboundPaddleBoatPacket(boolean p_134210_, boolean p_134211_) -
ServerboundPaddleBoatPacket
-
-
Method Details
-
write
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
type
- Specified by:
type
in interfacePacket<ServerGamePacketListener>
-
getLeft
public boolean getLeft() -
getRight
public boolean getRight()
-