Interface SetEntityMotionPacket

All Superinterfaces:
Packet

@NullMarked public interface SetEntityMotionPacket extends Packet
  • Method Details

    • create

      default SetEntityMotionPacket create(Entity entity, Vector velocity)
      패킷을 생성합니다.
      Parameters:
      entity - 대상 엔티티
      velocity - 엔티티의 속도
      Returns:
      this
    • create

      SetEntityMotionPacket create(int entityId, Vector velocity)
      패킷을 생성합니다.
      Parameters:
      entityId - 대상 엔티티 ID
      velocity - 엔티티의 속도
      Returns:
      this