Class PacketSetEntityMotion

java.lang.Object
me.desht.pneumaticcraft.common.network.LocationDoublePacket
me.desht.pneumaticcraft.common.network.PacketSetEntityMotion

public class PacketSetEntityMotion extends LocationDoublePacket
Received on: CLIENT Sent by server when an immediate update is needed to a client-side entity's motion
  • Constructor Details

    • PacketSetEntityMotion

      public PacketSetEntityMotion(net.minecraft.world.entity.Entity entity, net.minecraft.world.phys.Vec3 motion)
  • Method Details

    • toBytes

      public void toBytes(net.minecraft.network.FriendlyByteBuf buf)
      Overrides:
      toBytes in class LocationDoublePacket
    • handle

      public void handle(Supplier<net.minecraftforge.network.NetworkEvent.Context> ctx)