public class PacketSetEntityMotion extends LocationDoublePacket
x, y, z| Constructor and Description |
|---|
PacketSetEntityMotion(net.minecraft.entity.Entity entity,
net.minecraft.util.math.vector.Vector3d motion) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> ctx) |
void |
toBytes(net.minecraft.network.PacketBuffer buf) |
public PacketSetEntityMotion(net.minecraft.entity.Entity entity,
net.minecraft.util.math.vector.Vector3d motion)
public void toBytes(net.minecraft.network.PacketBuffer buf)
toBytes in class LocationDoublePacketpublic void handle(java.util.function.Supplier<net.minecraftforge.fml.network.NetworkEvent.Context> ctx)