Class ClientboundMoveMinecartPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundMoveMinecartPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundMoveMinecartPacket(int entityId, List<MinecartStep> lerpSteps) ClientboundMoveMinecartPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) voidsetEntityId(int entityId) voidsetLerpSteps(List<MinecartStep> lerpSteps) @NonNull StringtoString()@NonNull ClientboundMoveMinecartPacketwithEntityId(int entityId) @NonNull ClientboundMoveMinecartPacketwithLerpSteps(List<MinecartStep> lerpSteps) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundMoveMinecartPacket
-
ClientboundMoveMinecartPacket
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getLerpSteps
-
setEntityId
public void setEntityId(int entityId) -
setLerpSteps
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLerpSteps
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-