Class ServerboundMoveVehiclePacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundMoveVehiclePacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundMoveVehiclePacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundMoveVehiclePacket(FriendlyByteBuf p_179700_) ServerboundMoveVehiclePacket(Entity p_134192_) 
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetX()floatgetXRot()doublegetY()floatgetYRot()doublegetZ()voidhandle(ServerGamePacketListener p_134198_) voidwrite(FriendlyByteBuf p_134201_) 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- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
yRotprivate final float yRot
- 
xRotprivate final float xRot
 
- 
- 
Constructor Details- 
ServerboundMoveVehiclePacket
- 
ServerboundMoveVehiclePacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getYRotpublic float getYRot()
- 
getXRotpublic float getXRot()
 
-