Class ServerboundPaddleBoatPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPaddleBoatPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanstatic final StreamCodec<FriendlyByteBuf, ServerboundPaddleBoatPacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionServerboundPaddleBoatPacket(boolean p_134210_, boolean p_134211_) privateServerboundPaddleBoatPacket(FriendlyByteBuf p_179702_) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetLeft()booleangetRight()voidhandle(ServerGamePacketListener p_134217_) type()private voidwrite(FriendlyByteBuf p_134220_) 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, 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:
handlein interfacePacket<ServerGamePacketListener>
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
getLeft
public boolean getLeft() -
getRight
public boolean getRight()
-